Remove hardcoded _sbindir global
There is no need to hardcode _sbindir anymore, also the old value of '/sbin' is incorrect in Fedora now. Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
parent
b9ce661dca
commit
feb3805c7e
@ -1,5 +1,4 @@
|
||||
%global _hardened_build 1
|
||||
%global _sbindir /sbin
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} >= 9
|
||||
%bcond_with pkcs11
|
||||
@ -12,7 +11,7 @@
|
||||
Summary: Random number generator related utilities
|
||||
Name: rng-tools
|
||||
Version: 6.12
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://github.com/nhorman/rng-tools
|
||||
Source0: https://github.com/nhorman/rng-tools/archive/v%{version}/rng-tools-%{version}.tar.gz
|
||||
@ -84,6 +83,9 @@ install -Dt %{buildroot}%{_unitdir} -m0644 %{SOURCE1}
|
||||
%attr(0644,root,root) %{_unitdir}/rngd.service
|
||||
|
||||
%changelog
|
||||
* Wed Apr 28 2021 Vladis Dronov <vdronov@redhat.com> - 6.12-2
|
||||
- There is no need to hardcode _sbindir anymore, also the old value is incorrect
|
||||
|
||||
* Fri Mar 12 2021 Vladis Dronov <vdronov@redhat.com> - 6.12-1
|
||||
- Update to 6.12
|
||||
- Drop libsysfs dependency since it is not used anymore
|
||||
|
||||
Loading…
Reference in New Issue
Block a user