- Resolves: rhbz#1994196 Remove /usr/bin/packer symbolic link

This commit is contained in:
Paul Wouters 2021-08-30 23:50:23 +03:00
parent fab3ab8641
commit 5d99be852e
No known key found for this signature in database
GPG Key ID: DB48D2E5122468BF

View File

@ -5,7 +5,7 @@
Summary: A password-checking library Summary: A password-checking library
Name: cracklib Name: cracklib
Version: 2.9.6 Version: 2.9.6
Release: 26%{?dist} Release: 27%{?dist}
Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz
Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz
@ -119,7 +119,8 @@ make
rm -f $RPM_BUILD_ROOT/%{dictdir}/cracklib-small rm -f $RPM_BUILD_ROOT/%{dictdir}/cracklib-small
sed s,/usr/lib/cracklib_dict,%{dictpath},g lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h sed s,/usr/lib/cracklib_dict,%{dictpath},g lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h
ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict
ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer # packer link removed as it clashes with hashicorp's packer binary.
#ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer
touch $RPM_BUILD_ROOT/top touch $RPM_BUILD_ROOT/top
toprelpath=.. toprelpath=..
@ -173,9 +174,11 @@ make test DESTDIR=$RPM_BUILD_ROOT
%{_datadir}/cracklib/cracklib-small.* %{_datadir}/cracklib/cracklib-small.*
%{_libdir}/cracklib_dict.* %{_libdir}/cracklib_dict.*
%{_sbindir}/mkdict %{_sbindir}/mkdict
%{_sbindir}/packer
%changelog %changelog
* Mon Aug 30 2021 Paul Wouters <paul.wouters@aiven.io> - 2.9.6-27
- Resolves: rhbz#1994196 Remove /usr/bin/packer symbolic link
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-26 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild