Autobuild autoformatter for 72809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/haveged?expand=0&rev=15
This commit is contained in:
parent
ce5ef90703
commit
601cce2c74
13
haveged.spec
13
haveged.spec
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: haveged
|
Name: haveged
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Summary: Feed entropy into random pool
|
Summary: Feed entropy into random pool
|
||||||
Url: http://www.issihosts.com/haveged/
|
Url: http://www.issihosts.com/haveged/
|
||||||
@ -37,7 +37,6 @@ Requires(post): grep util-linux
|
|||||||
Enhances: openssl gpg2 php5 apache2 openvpn smtp_daemon
|
Enhances: openssl gpg2 php5 apache2 openvpn smtp_daemon
|
||||||
%{!?_initddir: %global _initddir /etc/init.d}
|
%{!?_initddir: %global _initddir /etc/init.d}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The haveged daemon feeds the linux entropy pool with random
|
The haveged daemon feeds the linux entropy pool with random
|
||||||
numbers generated from hidden processor state.
|
numbers generated from hidden processor state.
|
||||||
@ -48,18 +47,15 @@ For more informations see http://www.issihosts.com/haveged/
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||||
%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes
|
%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%{__install} -m0755 %{S:1} %{buildroot}%{_initddir}/haveged
|
%{__install} -m0755 %{S:1} %{buildroot}%{_initddir}/haveged
|
||||||
@ -68,25 +64,20 @@ make %{?_smp_mflags} check
|
|||||||
%{__mkdir_p} %{buildroot}/lib/systemd/system
|
%{__mkdir_p} %{buildroot}/lib/systemd/system
|
||||||
%{__install} -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service
|
%{__install} -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# do not enable on condition here, let YAST, kiwi or the user do it.
|
# do not enable on condition here, let YAST, kiwi or the user do it.
|
||||||
%{fillup_and_insserv -f %{name}}
|
%{fillup_and_insserv -f %{name}}
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%restart_on_update %{name}
|
%restart_on_update %{name}
|
||||||
%{insserv_cleanup}
|
%{insserv_cleanup}
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal %{name}
|
%stop_on_removal %{name}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
@ -97,6 +88,4 @@ rm -rf %{buildroot}
|
|||||||
%dir /lib/systemd/system
|
%dir /lib/systemd/system
|
||||||
/lib/systemd/system/haveged.service
|
/lib/systemd/system/haveged.service
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user