Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:B
rpmlint
suse-no-run-ldconfig.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-no-run-ldconfig.diff of Package rpmlint
From: Some One <nobody@opensuse.org> Date: Thu, 9 Apr 2015 14:55:39 +0200 Subject: [PATCH] suse-no-run-ldconfig.diff =================================================================== --- SpecCheck.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) Index: rpmlint-rpmlint-1.10/SpecCheck.py =================================================================== --- rpmlint-rpmlint-1.10.orig/SpecCheck.py +++ rpmlint-rpmlint-1.10/SpecCheck.py @@ -454,6 +454,10 @@ class SpecCheck(AbstractCheck.AbstractCh 'comparison-operator-in-deptoken', conf) + if current_section in ('post', 'postun'): + if line.find('%run_ldconfig') != -1: + printWarning(pkg, 'deprecated-use-of-%run_ldconfig') + if current_section == 'changelog': for match in AbstractCheck.macro_regex.findall(line): res = re.match('%+', match) @@ -771,6 +775,14 @@ may break short circuit builds.''', '''Make check or other automated regression test should be run in %check, as they can be disabled with a rpm macro for short circuiting purposes.''', +'deprecated-use-of-%run_ldconfig', +'''According to the new SUSE Packaging Conventions, the use of %run_ldconfig +is deprecated. Please use /sbin/ldconfig instead, or + +%post(un) -p /sbin/ldconfig + +in the case where ldconfig is the only command to be executed.''', + 'macro-in-%changelog', '''Macros are expanded in %changelog too, which can in unfortunate cases lead to the package not building at all, or other subtle unexpected conditions that
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor