SPECS: miniupnpd.spec - use optflags
qboosh
qboosh at pld-linux.org
Thu May 17 20:41:52 CEST 2007
Author: qboosh Date: Thu May 17 18:41:52 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use optflags
---- Files affected:
SPECS:
miniupnpd.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/miniupnpd.spec
diff -u SPECS/miniupnpd.spec:1.2 SPECS/miniupnpd.spec:1.3
--- SPECS/miniupnpd.spec:1.2 Wed May 9 21:37:19 2007
+++ SPECS/miniupnpd.spec Thu May 17 20:41:46 2007
@@ -1,5 +1,4 @@
# $Revision$, $Date$
-# TODO: optflags or noarch
%define pre RC4
Summary: Small UPnP Daemon
Summary(pl.UTF-8): Mały demon UPnP
@@ -30,7 +29,9 @@
%setup -q -n %{name}-%{version}-%{pre}
%build
-%{__make} -f Makefile.linux
+%{__make} -f Makefile.linux \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall -D_GNU_SOURCE"
%install
rm -rf $RPM_BUILD_ROOT
@@ -39,7 +40,7 @@
install miniupnpd $RPM_BUILD_ROOT%{_sbindir}
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -83,6 +84,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/05/17 18:41:46 qboosh
+- use optflags
+
Revision 1.2 2007/05/09 19:37:19 qboosh
- pl
- sane paths
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/miniupnpd.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list