From 3597ba0ceeb7390c5bee21feda22101d86d64b2f Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 22 Feb 2012 22:21:56 -0600 Subject: [PATCH] Don't list _sysconfdir/ directory in RPM spec. We don't list any other directories, so now it will be created with the same permissions as all of the others. --- nmh.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nmh.spec b/nmh.spec index 213abc6..08a0b91 100644 --- a/nmh.spec +++ b/nmh.spec @@ -13,6 +13,7 @@ # For example: # $ rpm -i nmh-1.4-0.fc16.src.rpm # $ rpmbuild --rmsource --rmspec \ +# --define '_sysconfdir /usr/local/nmh/etc' \ # --define 'configure_opts --with-cyrus-sasl --with-locking=fcntl' \ # --bb ~/lib/rpmbuild/SPECS/nmh.spec # @@ -109,4 +110,4 @@ rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%buildsubdir %files -f nmh_files %defattr(-,root,root,-) -%config(noreplace) %_sysconfdir/ +%config(noreplace) %_sysconfdir/* -- 1.7.10.4