rpms/openais/devel openais.spec,1.47,1.48

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Jul 28 07:40:59 UTC 2009


Author: fabbione

Update of /cvs/pkgs/rpms/openais/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29785

Modified Files:
	openais.spec 
Log Message:
More consistent use of macros



Index: openais.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openais/devel/openais.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- openais.spec	25 Jul 2009 20:43:20 -0000	1.47
+++ openais.spec	28 Jul 2009 07:40:59 -0000	1.48
@@ -3,7 +3,7 @@
 Name: openais
 Summary: The openais Standards-Based Cluster Framework executive and APIs
 Version: 1.0.0
-Release: 2%{?alphatag:.%{alphatag}}%{?dist}
+Release: 3%{?alphatag:.%{alphatag}}%{?dist}
 License: BSD
 Group: System Environment/Base
 URL: http://developer.osdl.org/dev/openais/
@@ -37,11 +37,11 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{na
 %endif
 
 %{_configure}	CFLAGS="$(echo '%{optflags}')" \
-		--prefix=/usr \
-		--localstatedir=/var \
-		--sysconfdir=/etc \
-		--with-lcrso-dir=$(pkg-config corosync --variable lcrsodir) \
-		--libdir=%{_libdir}
+		--prefix=%{_prefix} \
+		--sysconfdir=%{_sysconfdir} \
+		--localstatedir=%{_localstatedir} \
+		--libdir=%{_libdir} \
+		--with-lcrso-dir=$(pkg-config corosync --variable lcrsodir)
 
 %build
 make %{_smp_mflags}
@@ -81,8 +81,8 @@ fi
 %files 
 %defattr(-,root,root,-)
 %doc LICENSE README.amf
-%dir /etc/corosync
-%config(noreplace) /etc/corosync/amf.conf.example
+%dir %{_sysconfdir}/corosync
+%config(noreplace) %{_sysconfdir}/corosync/amf.conf.example
 %{_initrddir}/openais
 %dir %{_libexecdir}/lcrso
 %{_libexecdir}/lcrso/openaisserviceenable.lcrso
@@ -155,6 +155,10 @@ This package contains the include files 
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Tue Jul 28 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 1.0.0-3
+- spec file updates:
+  * consistent use of macros across the board
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list