Fix packing RPM

This commit is contained in:
Mikhail Novosyolov 2018-10-08 13:02:39 +03:00
parent 643b60520d
commit dd63d088a1

View file

@ -149,8 +149,8 @@ BuildArch: noarch
Requires(pre): openldap-config
%prep
#%setup -q -n %{name}-%{major_version}%{patch_version}
%setup
%setup -q -n %{name}-%{major_version}%{patch_version}
#%setup
pushd bind ; tar -xvf bind.tar.gz >/dev/null ; popd
# Handle cases in add_timeout() where the function is called with a NULL
@ -186,6 +186,7 @@ make
%makeinstall_std
install -m0644 %{SOURCE10} doc
install -m0644 %{SOURCE100} ROSA-NEWS
# Install correct dhclient-script
install -d %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/dhclient %{buildroot}/sbin/dhclient