From: David Levine Date: Thu, 23 Feb 2012 04:21:56 +0000 (-0600) Subject: Don't list _sysconfdir/ directory in RPM spec. We don't list any other directories... X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=3597ba0ceeb7390c5bee21feda22101d86d64b2f;p=mmh 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. --- 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/*