Browse Source

bind-current: Obosoletes: bind.* < 1:9.6.ESV.R1


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3365 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
cc609b0c1e
1 changed files with 9 additions and 5 deletions
  1. 9 5
      b/bind-current/bind-current-vl.spec

+ 9 - 5
b/bind-current/bind-current-vl.spec

@@ -5,6 +5,7 @@
 %define pversion 9.8.0
 %define pversion 9.8.0
 %define sversion 9.8.0
 %define sversion 9.8.0
 %define bind_epoch 1
 %define bind_epoch 1
+%define old_bind_version 1:9.6.ESV.R1
 
 
 %define bind_uid  25
 %define bind_uid  25
 %define bind_gid  25
 %define bind_gid  25
@@ -13,7 +14,7 @@ Summary: A DNS (Domain Name System) server.
 Summary(ja): DNS (Domain Name System) サーバ
 Summary(ja): DNS (Domain Name System) サーバ
 Name: %{pname}
 Name: %{pname}
 Version: %{pversion}
 Version: %{pversion}
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Epoch: %{bind_epoch}
 Epoch: %{bind_epoch}
 License: distributable
 License: distributable
 Group: System Environment/Daemons
 Group: System Environment/Daemons
@@ -35,7 +36,7 @@ Requires(post): coreutils, chkconfig
 Requires(preun): initscripts, chkconfig
 Requires(preun): initscripts, chkconfig
 Requires(triggerpostun): chkconfig
 Requires(triggerpostun): chkconfig
 Conflicts: bind9 <= 9.2.1-0vl5, bind < %{bind_epoch}:%{version}-%{release}
 Conflicts: bind9 <= 9.2.1-0vl5, bind < %{bind_epoch}:%{version}-%{release}
-Obsoletes: bind9 <= 9.2.1-0vl5, bind < %{bind_epoch}:%{version}-%{release}
+Obsoletes: bind9 <= 9.2.1-0vl5, bind < %{old_bind_version}
 
 
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
@@ -64,7 +65,7 @@ Group: System Environment/Libraries
 Conflicts: bind9-libs <= 9.2.1-0vl5
 Conflicts: bind9-libs <= 9.2.1-0vl5
 Conflicts: bind-libs < %{bind_epoch}:%{version}-%{release}
 Conflicts: bind-libs < %{bind_epoch}:%{version}-%{release}
 Obsoletes: bind9-libs <= 9.2.1-0vl5
 Obsoletes: bind9-libs <= 9.2.1-0vl5
-Obsoletes: bind-libs < %{bind_epoch}:%{version}-%{release}
+Obsoletes: bind-libs < %{old_bind_version}
 
 
 %description libs
 %description libs
 Contains libraries used by both the bind server package as well as the utils packages.
 Contains libraries used by both the bind server package as well as the utils packages.
@@ -78,7 +79,7 @@ Requires: %{pname}-libs = %{bind_epoch}:%{version}-%{release}
 Conflicts: bind9-utils <= 9.2.1-0vl5
 Conflicts: bind9-utils <= 9.2.1-0vl5
 Conflicts: bind-utils < %{bind_epoch}:%{version}-%{release}
 Conflicts: bind-utils < %{bind_epoch}:%{version}-%{release}
 Obsoletes: bind9-utils <= 9.2.1-0vl5
 Obsoletes: bind9-utils <= 9.2.1-0vl5
-Obsoletes: bind-utils < %{bind_epoch}:%{version}-%{release}
+Obsoletes: bind-utils < %{old_bind_version}
 
 
 %description utils
 %description utils
 Bind-utils contains a collection of utilities for querying DNS (Domain
 Bind-utils contains a collection of utilities for querying DNS (Domain
@@ -100,7 +101,7 @@ Requires: %{pname}-libs = %{bind_epoch}:%{version}-%{release}
 Conflicts: bind9-devel <= 9.2.1-0vl5
 Conflicts: bind9-devel <= 9.2.1-0vl5
 Conflicts: bind-devel < %{bind_epoch}:%{version}-%{release}
 Conflicts: bind-devel < %{bind_epoch}:%{version}-%{release}
 Obsoletes: bind9-devel <= 9.2.1-0vl5
 Obsoletes: bind9-devel <= 9.2.1-0vl5
-Obsoletes: bind-devel < %{bind_epoch}:%{version}-%{release}
+Obsoletes: bind-devel < %{old_bind_version}
 
 
 %description devel
 %description devel
 The bind-devel package contains all the include files and the 
 The bind-devel package contains all the include files and the 
@@ -279,6 +280,9 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
 %{_bindir}/isc-config.sh
 %{_bindir}/isc-config.sh
 
 
 %changelog
 %changelog
+* Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 9.8.0-1
+- Obosoletes: bind.* < 1:9.6.ESV.R1
+
 * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 9.8.0-1
 * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 9.8.0-1
 - update to 9.8.0
 - update to 9.8.0
 - remove Provides: bind.* = %%{bind_epoch}:%{version}-%{release}
 - remove Provides: bind.* = %%{bind_epoch}:%{version}-%{release}