diff --git a/Perl-Version-1.013.tar.gz b/Perl-Version-1.013.tar.gz deleted file mode 100644 index 39717a1..0000000 --- a/Perl-Version-1.013.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1887414d1c8689d864c840114101e043e99d7dd5b9cca69369a60e821e3ad0f7 -size 23012 diff --git a/Perl-Version-1.016.tar.gz b/Perl-Version-1.016.tar.gz new file mode 100644 index 0000000..ad08993 --- /dev/null +++ b/Perl-Version-1.016.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d23f4cb8fbb8d8c4c682c3bfac1a02b841e2a9cac71c0e84a6e32a0113365ad3 +size 30370 diff --git a/perl-Perl-Version.changes b/perl-Perl-Version.changes index a15bd71..b6e46d3 100644 --- a/perl-Perl-Version.changes +++ b/perl-Perl-Version.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 6 03:08:10 UTC 2024 - Tina Müller + +- updated to 1.016 + see /usr/share/doc/packages/perl-Perl-Version/Changes + ------------------------------------------------------------------- Mon Mar 17 08:29:25 UTC 2014 - coolo@suse.com diff --git a/perl-Perl-Version.spec b/perl-Perl-Version.spec index e07aae7..55ae6fb 100644 --- a/perl-Perl-Version.spec +++ b/perl-Perl-Version.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Perl-Version # -# Copyright (c) 2014 SUSE LINUX Products 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 @@ -12,25 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # 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-Perl-Version -Version: 1.013 -Release: 0 %define cpan_name Perl-Version +Name: perl-Perl-Version +Version: 1.16.0 +Release: 0 +%define cpan_version 1.016 +License: Artistic-2.0 Summary: Parse and manipulate Perl version strings -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Perl-Version/ -Source: http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{cpan_version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(File::Slurp::Tiny) -Requires: perl(File::Slurp::Tiny) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +BuildRequires: perl(Test::More) >= 1 +Provides: perl(Perl::Version) = %{version} +%define __perllib_provides /bin/true %{perl_requires} %description @@ -91,15 +92,16 @@ case if either of them starts with a zero they will be zero padded to the same length when stringifying the version. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -107,7 +109,7 @@ find . -type f -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes examples Notes.txt README +%doc Changes examples Notes.txt +%license LICENSE %changelog