Accepting request 850128 from devel:languages:perl:autoupdate

- updated to 0.51
   see /usr/share/doc/packages/perl-MediaWiki-API/Changes
  0.51    2020-11-22
          Minor packaging changes
  0.50    2020-11-22
          Rework and simplify the token code using the newer MW 1.24+ api.php?action=query&meta=tokens call.
          Use a token by default for the login function (by just calling edit with action=login).
          Updated Wikipedia URLs in examples to https://
          Remove "Purge" from get_actions as it requires a POST method.
          Updated TestWiki / ExoticA URLs to https://
          Thanks to Nataraj for the Wikipedia URL changes and Sebastian for the Purge info.

OBS-URL: https://build.opensuse.org/request/show/850128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MediaWiki-API?expand=0&rev=11
This commit is contained in:
2020-11-24 10:50:21 +00:00
committed by Git OBS Bridge
parent 3543298b44
commit 41f32f16eb
4 changed files with 34 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e9062dfa34cb81dfff4ac9078a8afd5b0ee76e928cc1f9a57f9390f917d6265
size 32857

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a28446abfc0e506c7df8c6306d83580d12b27f3f47f8f458f2a778d497a6242
size 32629

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Nov 23 03:07:40 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 0.51
see /usr/share/doc/packages/perl-MediaWiki-API/Changes
0.51 2020-11-22
Minor packaging changes
0.50 2020-11-22
Rework and simplify the token code using the newer MW 1.24+ api.php?action=query&meta=tokens call.
Use a token by default for the login function (by just calling edit with action=login).
Updated Wikipedia URLs in examples to https://
Remove "Purge" from get_actions as it requires a POST method.
Updated TestWiki / ExoticA URLs to https://
Thanks to Nataraj for the Wikipedia URL changes and Sebastian for the Purge info.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 14 09:57:04 UTC 2015 - coolo@suse.com Sat Nov 14 09:57:04 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-MediaWiki-API # spec file for package perl-MediaWiki-API
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-MediaWiki-API Name: perl-MediaWiki-API
Version: 0.41 Version: 0.51
Release: 0 Release: 0
#Upstream: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. #Upstream: GPL-1.0-or-later
%define cpan_name MediaWiki-API %define cpan_name MediaWiki-API
Summary: Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org[cut] Summary: Provides a Perl interface to the MediaWiki API (https://www.mediawiki.or[cut]
License: GPL-3.0+ License: GPL-3.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MediaWiki-API/ URL: https://metacpan.org/release/%{cpan_name}
Source0: http://www.cpan.org/authors/id/E/EX/EXOBUZZ/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/E/EX/EXOBUZZ/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,17 +40,17 @@ Requires: perl(Test::More) >= 0.98
%{perl_requires} %{perl_requires}
%description %description
Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API) Provides a Perl interface to the MediaWiki API (https://www.mediawiki.org/wiki/API)
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -59,6 +59,7 @@ Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/AP
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes LICENSE README %doc Changes CONTRIBUTING.md README
%license LICENSE
%changelog %changelog