forked from pool/perl-Convert-UUlib
Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=40
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Convert-UUlib
|
# 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
|
# 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
|
||||||
@@ -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
|
%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
|
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}
|
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
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Canary::Stability)
|
BuildRequires: perl(Canary::Stability)
|
||||||
BuildRequires: perl(common::sense) >= 3.74
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
|
||||||
Requires: perl(common::sense) >= 3.74
|
BuildRequires: perl(common::sense) >= 3.740
|
||||||
|
Requires: perl(common::sense) >= 3.740
|
||||||
|
Provides: perl(Convert::UUlib) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
Provides: p_conulb
|
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.
|
this document and especially the non-trivial decoder program at the end.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -71,7 +75,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes doc example-decoder README
|
%doc Changes doc example-decoder README
|
||||||
%license COPYING COPYING.Artistic COPYING.GNU
|
%license COPYING COPYING.Artistic COPYING.GNU
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user