Fix dhclient obsoletes version

Make sure the obsoletes cover the version in that's in F21,
dhclient-4.3.1-6.fc21.x86_64.
This commit is contained in:
Kalev Lember 2014-08-30 14:33:31 +02:00
parent e70cc70732
commit dd63340ae7

View File

@ -18,7 +18,7 @@
Summary: Dynamic host configuration protocol software Summary: Dynamic host configuration protocol software
Name: dhcp Name: dhcp
Version: 4.3.1 Version: 4.3.1
Release: 6%{?dist} Release: 7%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and # dcantrell maintaining the package) made incorrect use of the epoch and
# that's why it is at 12 now. It should have never been used, but it was. # that's why it is at 12 now. It should have never been used, but it was.
@ -151,7 +151,7 @@ do not reference it or depend on it in any way.
%package client %package client
Summary: Provides the ISC DHCP client daemon and dhclient-script Summary: Provides the ISC DHCP client daemon and dhclient-script
Provides: dhclient = %{epoch}:%{version}-%{release} Provides: dhclient = %{epoch}:%{version}-%{release}
Obsoletes: dhclient < 12:4.3.1-0.6.b1 Obsoletes: dhclient < 12:4.3.1-7
# dhclient-script requires: # dhclient-script requires:
Requires: coreutils grep hostname initscripts iproute iputils sed gawk Requires: coreutils grep hostname initscripts iproute iputils sed gawk
Requires: %{name}-common = %{epoch}:%{version}-%{release} Requires: %{name}-common = %{epoch}:%{version}-%{release}
@ -646,6 +646,9 @@ done
%doc doc/html/ %doc doc/html/
%changelog %changelog
* Sat Aug 30 2014 Kalev Lember <kalevlember@gmail.com> - 12:4.3.1-7
- Fix dhclient obsoletes version
* Tue Aug 26 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-6 * Tue Aug 26 2014 Jiri Popelka <jpopelka@redhat.com> - 12:4.3.1-6
- dhclient-script: another improvement of add_ipv6_addr_with_DAD() - dhclient-script: another improvement of add_ipv6_addr_with_DAD()