spec: build package with appropriate compiler flags

This commit is contained in:
Michal Sekletar 2013-05-27 15:31:50 +02:00
parent b2ec84e2cd
commit 4301666558

View File

@ -5,7 +5,7 @@
Name: quagga
Version: 0.99.22.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Routing daemon
License: GPLv2+
Group: System Environment/Daemons
@ -79,7 +79,7 @@ developing OSPF-API and quagga applications.
--disable-exampledir \
--enable-netlink
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" CFLAGS="-fstack-protector -fno-strict-aliasing"
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" CFLAGS="%{optflags} -fno-strict-aliasing"
pushd doc
texi2html quagga.texi
@ -217,6 +217,9 @@ fi
%{_includedir}/quagga/ospfapi/*.h
%changelog
* Mon May 27 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.1-3
- build package with required compiler flags
* Fri May 17 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.1-2
- claim ownership of libdir/quagga directory
- fix dependencies