[packages/doomsday] can't do -p ldconfig and have body for %post-scriptlet

glen glen at pld-linux.org
Sun Oct 18 00:44:05 CEST 2015


commit 85be4bea58752509f963aa66071c26e982d25969
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 18 01:43:51 2015 +0300

    can't do -p ldconfig and have body for %post-scriptlet

 doomsday.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/doomsday.spec b/doomsday.spec
index 2d52f2d..1352389 100644
--- a/doomsday.spec
+++ b/doomsday.spec
@@ -33,6 +33,7 @@ BuildRequires:	ncurses-devel
 BuildRequires:	python
 BuildRequires:	python-modules
 BuildRequires:	rpmbuild(macros) >= 1.595
+Requires(post):	/sbin/ldconfig
 Requires:	TiMidity++
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -107,7 +108,8 @@ EOF
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
 %banner -o -e %{name} <<-EOF
 To run doomsday you need some WAD file: either freedoom package
 or some shareware or commercial WAD from Doom or Heretic:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/doomsday.git/commitdiff/85be4bea58752509f963aa66071c26e982d25969



More information about the pld-cvs-commit mailing list