forked from pool/haveged
- add autoconf to BuildRequires
- explain the need for autoreconf - tag haveged-ppc.patch OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=76
This commit is contained in:
@@ -25,10 +25,12 @@ Group: System/Daemons
|
||||
Url: http://www.issihosts.com/haveged/
|
||||
Source0: http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz
|
||||
Source2: %{name}.service
|
||||
#PATCH-FIX-OPENSUSE: mvyskocil: sent upstream
|
||||
Patch0: haveged-ppc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libtool
|
||||
Enhances: openssl gpg2 php5 apache2 openvpn smtp_daemon
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_requires}
|
||||
|
||||
@@ -62,6 +64,7 @@ algorithm and supporting features.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# mvyskocil: needed because of haveged-ppc.patch
|
||||
autoreconf -fiv
|
||||
export CFLAGS="%optflags -fpie"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||
|
Reference in New Issue
Block a user