diff --git a/perl-Convert-UUlib.spec b/perl-Convert-UUlib.spec index ab3ef5f..3b92aa5 100644 --- a/perl-Convert-UUlib.spec +++ b/perl-Convert-UUlib.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Convert-UUlib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 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,26 @@ # -Name: perl-Convert-UUlib -Version: 1.8 -Release: 0 -#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) %define cpan_name Convert-UUlib -Summary: Decode uu/xx/b64/mime/yenc/etc-encoded data from a massive number of files +Name: perl-Convert-UUlib +Version: 1.800.0 +Release: 0 +# 1.8 -> normalize -> 1.800.0 +%define cpan_version 1.8 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) License: GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Decode uu/xx/b64/mime/yenc/etc-encoded data from a massive number of files URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Canary::Stability) -BuildRequires: perl(common::sense) >= 3.74 -Requires: perl(common::sense) >= 3.74 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52 +BuildRequires: perl(common::sense) >= 3.740 +Requires: perl(common::sense) >= 3.740 +Provides: perl(Convert::UUlib) = %{version} +%undefine __perllib_provides %{perl_requires} # MANUAL BEGIN Provides: p_conulb @@ -55,12 +58,13 @@ information about the C-library used in this interface, and the rest of this document and especially the non-trivial decoder program at the end. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%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 Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +%make_build %check make test @@ -71,7 +75,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes doc example-decoder README %license COPYING COPYING.Artistic COPYING.GNU