Upgrade to 2.2.13

This commit is contained in:
Nick Bebout 2013-02-20 22:05:25 -06:00
commit 9bbb8051d1
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
bad-behavior.2.0.36.zip
/bad-behavior.2.0.38.zip
/bad-behavior.2.0.42.zip
/bad-behavior.2.2.13.zip

View file

@ -1 +1 @@
75627f519d8330aef56649d78ad27c5c bad-behavior.2.0.42.zip
92ec2894d4395c9724fa3f221dafb46a bad-behavior.2.2.13.zip

View file

@ -3,14 +3,14 @@
Name: wordpress-plugin-%{plugin_name}
Version: 2.0.42
Release: 4%{?dist}
Version: 2.2.13
Release: 1%{?dist}
Summary: %{plugin_human_name} plugin for WordPress
Group: Applications/Publishing
# According to http://plugins.trac.wordpress.org/ all plugins are licensed
# under the GPL unless otherwise stated in the plugin source.
License: GPLv2+
License: LGPLv3+
URL: http://www.bad-behavior.ioerror.us/
Source0: http://downloads.wordpress.org/plugin/%{plugin_name}.%{version}.zip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@ -50,7 +50,7 @@ of your blog, "Plugins", and enable the plugin there.' > README.fedora
%install
rm -rf %{buildroot}
# Pull doc files up so they aren't duplicated
mv %{plugin_name}/{gpl-2.0.txt,README.txt} .
mv %{plugin_name}/{lgpl-3.0.txt,README.txt} .
# Trim some non-WordPress files we don't need
rm -f %{plugin_name}/bad-behavior-{lifetype,mediawiki}.php
mkdir -p %{buildroot}%{_datadir}/wordpress/wp-content/plugins/
@ -64,11 +64,14 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc gpl-2.0.txt README.txt README.fedora
%doc lgpl-3.0.txt README.txt README.fedora
%{_datadir}/wordpress/wp-content/plugins/%{plugin_name}
%changelog
* Wed Feb 20 2013 Nick Bebout <nb@fedoraproject.org> - 2.2.13-1
- Upgrade to 2.2.13
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.42-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild