diff --git a/Crypt-OpenSSL-Random-0.15.tar.gz b/Crypt-OpenSSL-Random-0.15.tar.gz deleted file mode 100644 index 3325d0f..0000000 --- a/Crypt-OpenSSL-Random-0.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4 -size 15506 diff --git a/Crypt-OpenSSL-Random-0.16.tar.gz b/Crypt-OpenSSL-Random-0.16.tar.gz new file mode 100644 index 0000000..241fa6e --- /dev/null +++ b/Crypt-OpenSSL-Random-0.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcf58cb2af4c3eda2fe1405527d9373efe9576268fce8adb34df9ce9b6b44d1e +size 19642 diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..cc4013b 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -10,8 +10,8 @@ #patches: # foo.patch: -p1 # bar.patch: -#preamble: |- -# BuildRequires: gcc-c++ +preamble: |- + BuildRequires: openssl-devel #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL diff --git a/perl-Crypt-OpenSSL-Random.changes b/perl-Crypt-OpenSSL-Random.changes index 71aee03..9ead404 100644 --- a/perl-Crypt-OpenSSL-Random.changes +++ b/perl-Crypt-OpenSSL-Random.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Apr 14 03:07:02 UTC 2024 - Tina Müller + +- updated to 0.16 + see /usr/share/doc/packages/perl-Crypt-OpenSSL-Random/Changes + + 0.16 2024-04-13 rurban + - add github actions, travis and appveyor. + - Many patches by Takumi Akiyama. + - Fix broken github image for strawberry perl + by stripping its PATH. their new mingw is incompatible to their + old strawberry 5.32 + - minor documentation fixes. + ------------------------------------------------------------------- Sun Oct 7 09:01:19 UTC 2018 - Dirk Stoecker diff --git a/perl-Crypt-OpenSSL-Random.spec b/perl-Crypt-OpenSSL-Random.spec index a817cc2..6ad4f99 100644 --- a/perl-Crypt-OpenSSL-Random.spec +++ b/perl-Crypt-OpenSSL-Random.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Crypt-OpenSSL-Random # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,27 @@ # -Name: perl-Crypt-OpenSSL-Random -Version: 0.15 -Release: 0 %define cpan_name Crypt-OpenSSL-Random -Summary: OpenSSL/LibreSSL pseudo-random number generator access +Name: perl-Crypt-OpenSSL-Random +Version: 0.160.0 +Release: 0 +# 0.16 -> normalize -> 0.160.0 +%define cpan_version 0.16 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Crypt-OpenSSL-Random/ -Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz +Summary: OpenSSL/LibreSSL pseudo-random number generator access +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.11 +BuildRequires: perl(Test::Pod) >= 1.22 +Provides: perl(Crypt::OpenSSL::Random) = %{version} +%undefine __perllib_provides %{perl_requires} -#MANUAL +# MANUAL BEGIN BuildRequires: openssl-devel +# MANUAL END %description 'Crypt::OpenSSL::Random' provides the ability to seed and query the @@ -41,14 +45,14 @@ BuildRequires: openssl-devel Note: On *LibreSSL* 'random_egd()' is not defined. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -56,8 +60,7 @@ Note: On *LibreSSL* 'random_egd()' is not defined. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes README +%doc appveyor.cmd Changes README %license LICENSE %changelog