Do not rely on ignoring case sensitivity of VERSION variable

Signed-off-by: Petr Menšík <pemensik@redhat.com>
This commit is contained in:
Petr Menšík 2018-02-16 07:50:28 +01:00
parent 410937ecd9
commit 3646cdb5a6

View File

@ -8,17 +8,15 @@
%global dhcpconfdir %{_sysconfdir}/dhcp %global dhcpconfdir %{_sysconfdir}/dhcp
%global prever b1 #global prever b1
#global patchver P1 #global patchver P1
#global VERSION %%{version}-%%{patchver} %global DHCPVERSION %{version}%{?prever}%{?patchver:-%{patchver}}
#global VERSION %%{version}%%{prever}
#global VERSION %{version}
Summary: Dynamic host configuration protocol software Summary: Dynamic host configuration protocol software
Name: dhcp Name: dhcp
Version: 4.3.6 Version: 4.3.6
Release: 14%{?dist} Release: 15%{?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.
@ -26,7 +24,7 @@ Release: 14%{?dist}
Epoch: 12 Epoch: 12
License: ISC License: ISC
Url: http://isc.org/products/DHCP/ Url: http://isc.org/products/DHCP/
Source0: ftp://ftp.isc.org/isc/dhcp/%{VERSION}/dhcp-%{VERSION}.tar.gz Source0: ftp://ftp.isc.org/isc/dhcp/%{DHCPVERSION}/dhcp-%{DHCPVERSION}.tar.gz
Source1: dhclient-script Source1: dhclient-script
Source2: README.dhclient.d Source2: README.dhclient.d
Source3: 11-dhclient Source3: 11-dhclient
@ -216,7 +214,7 @@ This package contains doxygen-generated documentation.
%endif %endif
%prep %prep
%setup -q -n dhcp-%{VERSION} %setup -q -n dhcp-%{DHCPVERSION}
# Remove bundled BIND source # Remove bundled BIND source
rm bind/bind.tar.gz rm bind/bind.tar.gz
@ -664,6 +662,9 @@ done
%endif %endif
%changelog %changelog
* Thu Feb 22 2018 Petr Menšík <pemensik@redhat.com> - 12:4.3.6-15
- Do not rely on ignoring case sensitivity of VERSION variable
* Thu Feb 22 2018 Petr Menšík <pemensik@redhat.com> - 12:4.3.6-14 * Thu Feb 22 2018 Petr Menšík <pemensik@redhat.com> - 12:4.3.6-14
- Use bind-export-libs package instead of bind99 - Use bind-export-libs package instead of bind99
- Use isc-config.sh to configure bind libs - Use isc-config.sh to configure bind libs