]> git.pld-linux.org Git - packages/db3.git/commitdiff
- conditionaly include %post/%postun script for java subpackage.
authorkloczek <kloczek@pld-linux.org>
Sat, 5 Apr 2003 19:56:30 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db3.spec -> 1.47

db3.spec

index 9f96def1f49ee650d20bfc63117b6156eaaee9a7..389d043c40531ed8fc639e24c6a5b14cc4009b88 100644 (file)
--- a/db3.spec
+++ b/db3.spec
@@ -269,8 +269,10 @@ rm -rf $RPM_BUILD_ROOT
 %post   tcl -p /sbin/ldconfig
 %postun tcl -p /sbin/ldconfig
 
+%if %{?_with_java:1}%{!?_with_java:0}
 %post   java -p /sbin/ldconfig
 %postun java -p /sbin/ldconfig
+%endif
 
 %files
 %defattr(644,root,root,755)
This page took 0.070946 seconds and 4 git commands to generate.