packages: php-bad-behavior/php-bad-behavior.spec - rename to php-bad-behavi...

glen glen at pld-linux.org
Tue Dec 15 20:10:15 CET 2009


Author: glen                         Date: Tue Dec 15 19:10:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to php-bad-behavior
- removed extra subdir
- up to 2.0.34

---- Files affected:
packages/php-bad-behavior:
   php-bad-behavior.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: packages/php-bad-behavior/php-bad-behavior.spec
diff -u packages/php-bad-behavior/php-bad-behavior.spec:1.38 packages/php-bad-behavior/php-bad-behavior.spec:1.39
--- packages/php-bad-behavior/php-bad-behavior.spec:1.38	Thu Nov 19 12:46:33 2009
+++ packages/php-bad-behavior/php-bad-behavior.spec	Tue Dec 15 20:10:10 2009
@@ -1,23 +1,24 @@
 # $Revision$, $Date$
 # NOTE
 # - the md5 is different in various wp backends, so invoke this to find the most used one and fetchsrc_request several times until distfiles catches the same one:
-#   while sleep 1; do rm *.zip; ./md5 bad-behavior.spec; done
+#   while sleep 1; do rm *.zip; ./md5 php-bad-behavior.spec; done
 Summary:	PHP-based software which blocks automated link spam
 Summary(pl.UTF-8):	Oparte na PHP oprogramowanie blokujące spam z automatycznych odnośników
-Name:		bad-behavior
-Version:	2.0.33
+Name:		php-bad-behavior
+Version:	2.0.34
 Release:	1
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://downloads.wordpress.org/plugin/%{name}.%{version}.zip
-# Source0-md5:	9e084a49f2ddc7d6cd15b497702cec7a
+Source0:	http://downloads.wordpress.org/plugin/bad-behavior.%{version}.zip
+# Source0-md5:	41aa0f1bed34e507ef9467eac4d5e735
 URL:		http://www.bad-behavior.ioerror.us/
 BuildRequires:	unzip
 Requires:	php-common
+Obsoletes:	bad-behavior
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_appdir		%{_datadir}/php/%{name}
+%define		_appdir		%{php_data_dir}/bad-behavior
 
 %description
 Bad Behavior is a set of PHP scripts which prevents spambots from
@@ -44,8 +45,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_appdir}
-cp -a bad-behavior* $RPM_BUILD_ROOT%{_appdir}
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a bad-behavior* $RPM_BUILD_ROOT%{php_data_dir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,13 +54,12 @@
 %files
 %defattr(644,root,root,755)
 %doc README.txt
-%dir %{_appdir}
-%{_appdir}/bad-behavior
-%{_appdir}/bad-behavior-generic.php
-%{_appdir}/bad-behavior-lifetype.php
-%{_appdir}/bad-behavior-mediawiki.php
-%{_appdir}/bad-behavior-wordpress-admin.php
-%{_appdir}/bad-behavior-wordpress.php
+%{php_data_dir}/bad-behavior
+%{php_data_dir}/bad-behavior-generic.php
+%{php_data_dir}/bad-behavior-lifetype.php
+%{php_data_dir}/bad-behavior-mediawiki.php
+%{php_data_dir}/bad-behavior-wordpress-admin.php
+%{php_data_dir}/bad-behavior-wordpress.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +67,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2009/12/15 19:10:10  glen
+- rename to php-bad-behavior
+- removed extra subdir
+- up to 2.0.34
+
 Revision 1.38  2009/11/19 11:46:33  glen
 - up to 2.0.33
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-bad-behavior/php-bad-behavior.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list