SPECS: squirrelmail-plugin-username.spec - added admin_only bcond ...
hawk
hawk at pld-linux.org
Tue May 30 12:13:33 CEST 2006
Author: hawk Date: Tue May 30 10:13:33 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added admin_only bcond which applies patch disallowing users to change
plugin options
---- Files affected:
SPECS:
squirrelmail-plugin-username.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/squirrelmail-plugin-username.spec
diff -u SPECS/squirrelmail-plugin-username.spec:1.2 SPECS/squirrelmail-plugin-username.spec:1.3
--- SPECS/squirrelmail-plugin-username.spec:1.2 Tue May 30 10:57:47 2006
+++ SPECS/squirrelmail-plugin-username.spec Tue May 30 12:13:27 2006
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with admin_only # disallow users changing plugin options
+#
%define _plugin username
%define mversion 1.0.0
Summary: Plugin to show current username
@@ -10,6 +14,7 @@
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{version}-%{mversion}.tar.gz
# Source0-md5: c81670f5607835dc1e226653cf5c53b1
+Patch0: %{name}-admin_only.patch
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= 1.4.6-2
Requires: squirrelmail-compatibility-2.0.4
@@ -29,6 +34,7 @@
%prep
%setup -q -n %{_plugin}
+%{?with_admin_only:%patch0 -p1}
%install
rm -rf $RPM_BUILD_ROOT
@@ -54,6 +60,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/05/30 10:13:27 hawk
+- added admin_only bcond which applies patch disallowing users to change
+ plugin options
+
Revision 1.2 2006/05/30 08:57:47 hawk
- R: squirrelmail-compatibility
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/squirrelmail-plugin-username.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list