summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-14 18:54:19 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-14 18:54:19 +0100
commit264b74dd4370df284c32c9b595d82c44adf1e18e (patch)
tree989e1ce111ebfcaee96a5300d2f01aaa5383679c
parente9d34fcd0cfadb031b45e9b299d54697a76e49a1 (diff)
libzip obsoletes libzip-last (fix upgrade issue to f23)
-rw-r--r--libzip.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/libzip.spec b/libzip.spec
index 7b0b61d..0c8ccb1 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -17,7 +17,7 @@ Name: %{libname}-last
Name: %{libname}
%endif
Version: 1.0.1
-Release: 1%{?dist}
+Release: 3%{?dist}
Group: System Environment/Libraries
Summary: C library for reading, creating, and modifying zip archives
@@ -41,6 +41,9 @@ BuildRequires: perl(Symbol)
BuildRequires: perl(UNIVERSAL)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
+%if "%{name}" == "%{libname}"
+Obsoletes: %{libname}-last <= %{version}
+%endif
%description
@@ -60,6 +63,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%if "%{name}" != "%{libname}"
Conflicts: %{libname}-devel < %{version}
Provides: %{libname}-devel = %{version}-%{release}
+%else
+Obsoletes: %{libname}-last-devel <= %{version}
%endif
%description devel
@@ -68,12 +73,14 @@ developing applications that use %{name}.
%package tools
-Summary: Command line tools from %{libname}
+Summary: Command line tools from %{name}
Group: Applications/System
Requires: %{name}%{?_isa} = %{version}-%{release}
%if "%{name}" != "%{libname}"
Conflicts: %{libname} < %{version}
Provides: %{libname} = %{version}-%{release}
+%else
+Obsoletes: %{libname}-last-tools <= %{version}
%endif
%description tools
@@ -157,6 +164,9 @@ make check
%changelog
+* Thu Jan 14 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-3
+- libzip obsoletes libzip-last
+
* Tue May 5 2015 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- update to 1.0.1
- soname bump from .2 to .4