rpms/authd/devel authd.spec,1.59,1.60

Roman Rakus rrakus at fedoraproject.org
Mon Jun 14 15:37:09 UTC 2010


Author: rrakus

Update of /cvs/pkgs/rpms/authd/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29731

Modified Files:
	authd.spec 
Log Message:
Use RPM_OPT_FLAGS for CFLAGS in build section. Use only once defattr macro.


Index: authd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/authd/devel/authd.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- authd.spec	21 Aug 2009 12:32:24 -0000	1.59
+++ authd.spec	14 Jun 2010 15:37:09 -0000	1.60
@@ -1,7 +1,7 @@
 Summary: A RFC 1413 ident protocol daemon
 Name: authd
 Version: 1.4.3
-Release: 28%{?dist}
+Release: 30%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: https://fedorahosted.org/authd/
@@ -38,7 +38,7 @@ of pidentd.
 sed -i -e "s|/etc|%{_sysconfdir}|" config.h
 
 %build
-make prefix=%{_prefix}
+CFLAGS=$RPM_OPT_FLAGS make prefix=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -67,14 +67,17 @@ chmod o-rw %{_sysconfdir}/ident.key
 service xinetd reload
 
 %files -f authd.lang
-%defattr(640,root,root,-)
-%verify(not md5 size mtime user group) %config(noreplace) %{_sysconfdir}/ident.key
 %defattr(-,root,root,-)
+%verify(not md5 size mtime user group) %config(noreplace) %attr(640,root,root) %{_sysconfdir}/ident.key
 %doc COPYING README.html rfc1413.txt
 %config(noreplace) %{_sysconfdir}/xinetd.d/auth
 %{_sbindir}/in.authd
 
 %changelog
+* Mon Jun 14 2010 Roman Rakus <rrakus at redhat.com> - 1.4.3-30
+- Use only once defattr macro
+- Use RPM_OPT_FLAGS for CFLAGS in build section
+
 * Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 1.4.3-28
 - rebuilt with new openssl
 



More information about the scm-commits mailing list