diff --git a/Net-OAuth-0.30.tar.gz b/Net-OAuth-0.30.tar.gz deleted file mode 100644 index 926afaa..0000000 --- a/Net-OAuth-0.30.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed22ea36834c6cb99165c145b87766468de6a69a71e7bd6fb854966127aecfac -size 30347 diff --git a/Net-OAuth-0.31.tar.gz b/Net-OAuth-0.31.tar.gz new file mode 100644 index 0000000..a33ffc8 --- /dev/null +++ b/Net-OAuth-0.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2770f028269fcdb65150f2bb313f8a6f6b5def4ee21b5619f5cbfa4031b7c54 +size 25681 diff --git a/perl-Net-OAuth.changes b/perl-Net-OAuth.changes index b8d1697..34ab395 100644 --- a/perl-Net-OAuth.changes +++ b/perl-Net-OAuth.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Apr 4 05:35:08 UTC 2025 - Tina Müller + +- updated to 0.310.0 (0.31) + see /usr/share/doc/packages/perl-Net-OAuth/Changes + + [Bug Fixes] + - Added missing dependency RT#70407. + - Removed use of Digest::HMAC_SHA1. + [Documentation] + - Updated Changes for v0.29 with CVE. + - Updated the security policy. + [Toolchain] + - Remove Build.PL and just use Makefile.PL. + ------------------------------------------------------------------- Sat Jan 4 05:33:36 UTC 2025 - Tina Müller diff --git a/perl-Net-OAuth.spec b/perl-Net-OAuth.spec index b4b6716..c21f66a 100644 --- a/perl-Net-OAuth.spec +++ b/perl-Net-OAuth.spec @@ -18,37 +18,35 @@ %define cpan_name Net-OAuth Name: perl-Net-OAuth -Version: 0.300.0 +Version: 0.310.0 Release: 0 -# 0.30 -> normalize -> 0.300.0 -%define cpan_version 0.30 +# 0.31 -> normalize -> 0.310.0 +%define cpan_version 0.31 License: Artistic-1.0 OR GPL-1.0-or-later -Summary: An implementation of the OAuth protocol +Summary: OAuth 1.0 for Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RR/RRWO/%{cpan_name}-%{cpan_version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor) >= 0.31 -BuildRequires: perl(Class::Data::Inheritable) >= 0.06 +BuildRequires: perl(Class::Data::Inheritable) >= 0.60.0 BuildRequires: perl(Crypt::URandom) >= 0.370 -BuildRequires: perl(Digest::HMAC_SHA1) >= 1.01 BuildRequires: perl(Digest::SHA) >= 5.47 BuildRequires: perl(Encode) >= 2.35 BuildRequires: perl(LWP::UserAgent) >= 1 -BuildRequires: perl(Module::Build) >= 0.4234 -BuildRequires: perl(Module::Build::Compat) >= 0.4234 BuildRequires: perl(Test::More) >= 0.66 BuildRequires: perl(Test::Warn) >= 0.21 -BuildRequires: perl(URI) >= 5.15 +BuildRequires: perl(URI) >= 5.150 Requires: perl(Class::Accessor) >= 0.31 -Requires: perl(Class::Data::Inheritable) >= 0.06 +Requires: perl(Class::Data::Inheritable) >= 0.60.0 Requires: perl(Crypt::URandom) >= 0.370 -Requires: perl(Digest::HMAC_SHA1) >= 1.01 Requires: perl(Digest::SHA) >= 5.47 Requires: perl(Encode) >= 2.35 Requires: perl(LWP::UserAgent) >= 1 -Requires: perl(URI) >= 5.15 +Requires: perl(Test::More) >= 0.66 +Requires: perl(Test::Warn) >= 0.21 +Requires: perl(URI) >= 5.150 Provides: perl(Net::OAuth) = %{version} Provides: perl(Net::OAuth::AccessToken) Provides: perl(Net::OAuth::AccessTokenRequest) @@ -77,25 +75,26 @@ Provides: perl(Net::OAuth::YahooAccessTokenRefreshRequest) %{perl_requires} %description -An implementation of the OAuth protocol +OAuth 1.0 for Perl %prep -%autosetup -n %{cpan_name}-%{cpan_version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -perl Build.PL --installdirs=vendor -./Build build --flags=%{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -./Build test +make test %install -./Build install --destdir=%{buildroot} --create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files -%doc Changes README +%doc Changes README SECURITY.md %changelog