[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openais
Subject:    Re: [Openais] [PATCH] openais trunk/wilson: update spec file
From:       "Fabio M. Di Nitto" <fdinitto () redhat ! com>
Date:       2009-07-28 7:40:36
Message-ID: 1248766836.7930.28.camel () cerberus ! int ! fabbione ! net
[Download RAW message or body]

this time with patch... :)

On Tue, 2009-07-28 at 09:39 +0200, Fabio M. Di Nitto wrote:
> same as the corosync one... this is only a cleanup patch to
> keep in sync with corosync. No real bugs are fixed.
> 
> Fabio
> 
> _______________________________________________
> Openais mailing list
> Openais@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais

["spec_update.diff" (spec_update.diff)]

Index: openais.spec.in
===================================================================
--- openais.spec.in	(revision 2044)
+++ openais.spec.in	(working copy)
@@ -36,11 +36,11 @@
 %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}
@@ -80,8 +80,8 @@
 %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


_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic