- 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:
Michal Vyskocil 2013-03-26 14:22:03 +00:00 committed by Git OBS Bridge
parent 7216d944f9
commit 7803fc98dc
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 26 14:19:46 UTC 2013 - mvyskocil@suse.com
- add autoconf to BuildRequires
- explain the need for autoreconf
- tag haveged-ppc.patch
-------------------------------------------------------------------
Wed Mar 20 23:28:42 UTC 2013 - crrodriguez@opensuse.org

View File

@ -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"