]> git.pld-linux.org Git - packages/php-bad-behavior.git/commitdiff
Update to 2.2.23; license is LGPLv3; requires php 5.2.0 master auto/th/php-bad-behavior-2.2.23-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Oct 2019 08:19:10 +0000 (11:19 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Oct 2019 08:19:10 +0000 (11:19 +0300)
php-bad-behavior.spec

index 297ca0be14531b73c8fe8726a72de8c6f05df647..79edd87ba07211e813d12d2bd31389991b16e257 100644 (file)
@@ -1,18 +1,19 @@
 # NOTE
 # - the md5 is different in various wp backends, so invoke packages/fetchsrc_request
 #   several times until distfiles catches the same one you downloaded.
+%define                php_min_version 5.2.0
 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:          php-bad-behavior
-Version:       2.0.47
-Release:       2
-License:       GPL v2
+Version:       2.2.23
+Release:       1
+License:       LGPLv3
 Group:         Applications/WWW
-Source0:       http://downloads.wordpress.org/plugin/bad-behavior.%{version}.zip
-# Source0-md5: 67d3731eb3868275f32bf83e1965a65c
-URL:           http://www.bad-behavior.ioerror.us/
+Source0:       https://downloads.wordpress.org/plugin/bad-behavior.%{version}.zip
+# Source0-md5: 565f3d5cf412d13db2ab460ba2902caa
+URL:           https://bad-behavior.ioerror.us
 BuildRequires: unzip
-Requires:      php(core)
+Requires:      php(core) >= %{php_min_version}
 Obsoletes:     bad-behavior
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -55,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.txt
 %{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-mysql.php
 %{php_data_dir}/bad-behavior-wordpress-admin.php
 %{php_data_dir}/bad-behavior-wordpress.php
This page took 0.088547 seconds and 4 git commands to generate.