Fix directory ownership and consistent use of macros

This commit is contained in:
Fabio M. Di Nitto 2009-07-28 07:22:41 +00:00
parent fbf523437e
commit e106048a7a

View File

@ -3,7 +3,7 @@
Name: corosync Name: corosync
Summary: The Corosync Cluster Engine and Application Programming Interfaces Summary: The Corosync Cluster Engine and Application Programming Interfaces
Version: 1.0.0 Version: 1.0.0
Release: 2%{?alphatag:.%{alphatag}}%{?dist} Release: 3%{?alphatag:.%{alphatag}}%{?dist}
License: BSD License: BSD
Group: System Environment/Base Group: System Environment/Base
URL: http://www.openais.org URL: http://www.openais.org
@ -35,9 +35,9 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%endif %endif
%{_configure} CFLAGS="$(echo '%{optflags}')" \ %{_configure} CFLAGS="$(echo '%{optflags}')" \
--prefix=/usr \ --prefix=%{_prefix} \
--sysconfdir=/etc \ --sysconfdir=%{_sysconfdir} \
--localstatedir=/var \ --localstatedir=%{_localstatedir} \
--libdir=%{_libdir} --libdir=%{_libdir}
%build %build
@ -84,9 +84,9 @@ fi
%{_sbindir}/corosync-cfgtool %{_sbindir}/corosync-cfgtool
%{_sbindir}/corosync-fplay %{_sbindir}/corosync-fplay
%{_sbindir}/corosync-pload %{_sbindir}/corosync-pload
%dir /etc/corosync %dir %{_sysconfdir}/corosync
%dir /etc/corosync/uidgid.d %dir %{_sysconfdir}/corosync/uidgid.d
%config(noreplace) /etc/corosync/corosync.conf.example %config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
%{_initddir}/corosync %{_initddir}/corosync
%dir %{_libexecdir}/lcrso %dir %{_libexecdir}/lcrso
%{_libexecdir}/lcrso/coroparse.lcrso %{_libexecdir}/lcrso/coroparse.lcrso
@ -100,6 +100,7 @@ fi
%{_libexecdir}/lcrso/quorum_testquorum.lcrso %{_libexecdir}/lcrso/quorum_testquorum.lcrso
%{_libexecdir}/lcrso/vsf_quorum.lcrso %{_libexecdir}/lcrso/vsf_quorum.lcrso
%{_libexecdir}/lcrso/vsf_ykd.lcrso %{_libexecdir}/lcrso/vsf_ykd.lcrso
%dir %{_localstatedir}/lib/corosync
%{_mandir}/man8/corosync_overview.8* %{_mandir}/man8/corosync_overview.8*
%{_mandir}/man8/corosync-objctl.8* %{_mandir}/man8/corosync-objctl.8*
%{_mandir}/man5/corosync.conf.5* %{_mandir}/man5/corosync.conf.5*
@ -202,6 +203,11 @@ The Corosync Cluster Engine APIs.
%{_mandir}/man8/coroipc_overview.8* %{_mandir}/man8/coroipc_overview.8*
%changelog %changelog
* Tue Jul 28 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.0-3
- spec file updates:
* more consistent use of macros across the board
* fix directory ownership
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild