[packages/mksh] - bcond descs

qboosh qboosh at pld-linux.org
Sat Feb 16 19:12:44 CET 2013


commit de8a6e5f9eef25d03504d39cbfb8478bce6e9b69
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 16 19:12:45 2013 +0100

    - bcond descs

 mksh.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/mksh.spec b/mksh.spec
index 084cc22..a75556d 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -1,5 +1,8 @@
-%bcond_without	static
-%bcond_without	tests
+#
+# Conditional build:
+%bcond_without	static	# static version of mksh
+%bcond_without	tests	# rtchecks and test.sh checks
+#
 #
 Summary:	MirBSD Korn Shell
 Summary(pl.UTF-8):	Powłoka Korna z MirBSD
@@ -198,8 +201,8 @@ rm -rf $RPM_BUILD_ROOT
 %posttrans -p %add_etc_shells -p /bin/sh /bin/ksh
 
 
-%post static -p %add_etc_shells -p /bin/mksh.static
-%preun static -p %remove_etc_shells -p /bin/mksh.static
+%post	static -p %add_etc_shells -p /bin/mksh.static
+%preun	static -p %remove_etc_shells -p /bin/mksh.static
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mksh.git/commitdiff/de8a6e5f9eef25d03504d39cbfb8478bce6e9b69



More information about the pld-cvs-commit mailing list