SPECS: rott-data-shareware.spec - new-style bcond, unified its nam...

qboosh qboosh at pld-linux.org
Sun Apr 29 20:11:29 CEST 2007


Author: qboosh                       Date: Sun Apr 29 18:11:29 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new-style bcond, unified its name to license_agreement

---- Files affected:
SPECS:
   rott-data-shareware.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/rott-data-shareware.spec
diff -u SPECS/rott-data-shareware.spec:1.7 SPECS/rott-data-shareware.spec:1.8
--- SPECS/rott-data-shareware.spec:1.7	Mon Feb 12 23:09:13 2007
+++ SPECS/rott-data-shareware.spec	Sun Apr 29 20:11:24 2007
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
 #
-# _with_local	- local build, without DOS files (non-distributable)
+# Conditional build:
+%bcond_with	license_agreement	# local build, without DOS files (non-distributable)
 #
 Summary:	Rise of the Triad - shareware, one-episode version of data
 Summary(pl.UTF-8):	Rise of the Triad - sharewarowa wersja danych, zawierająca jeden epizod
 Name:		rott-data-shareware
 Version:	1.3
 Release:	1
-%if 0%{?_with_local:1}
+%if %{with license_agreement}
 License:	non-distributable, free use
 %else
 License:	non-commercially distributable if complete, unmodified and not bundled on CD etc.
@@ -36,7 +37,7 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/rott
 
 install *.dmo *.r* *.wad $RPM_BUILD_ROOT%{_datadir}/rott
-%{!?_with_local:install *.pck [a-z]*.exe $RPM_BUILD_ROOT%{_datadir}/rott}
+%{!?with_license_agreement:install *.pck [a-z]*.exe $RPM_BUILD_ROOT%{_datadir}/rott}
 
 mv -f FILE_ID.DIZ file_id.diz
 
@@ -54,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/04/29 18:11:24  qboosh
+- new-style bcond, unified its name to license_agreement
+
 Revision 1.7  2007/02/12 22:09:13  glen
 - tabs in preamble
 
@@ -74,4 +78,3 @@
 
 Revision 1.1  2003/01/30 23:25:28  qboosh
 - new spec
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rott-data-shareware.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list