- silence some rpmlint warnings, by removing executable permissions

from utilities packaged under documentation.

OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=80
This commit is contained in:
Peter Poeml 2009-06-09 15:29:34 +00:00 committed by Git OBS Bridge
parent 1950a5b835
commit f69fd428f0
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 9 17:29:13 CEST 2009 - poeml@suse.de
- silence some rpmlint warnings, by removing executable permissions
from utilities packaged under documentation.
-------------------------------------------------------------------
Wed Oct 29 18:39:31 CET 2008 - poeml@suse.de

View File

@ -300,6 +300,10 @@ done
perl -pi -e 's%/usr/share/doc/exim4%/usr/share/doc/packages/exim%g' `find $RPM_BUILD_ROOT/%{_mandir}/man8 -name "*.8"`
gzip -9 doc/*.txt
#
# package the utilities without executable permissions, to silence rpmlint warnings
chmod 644 util/*.{pl,sh} src/convert4r*
#
# since 10.0, the permissions file is packaged in the 'permissions' package
%if %{?suse_version:%suse_version}%{?!suse_version:99999} < 1000
install -m 0755 -d $RPM_BUILD_ROOT/etc/permissions.d