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-Task-Module-Install-BINGOS?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Task-Module-Install-BINGOS
|
||||
#
|
||||
# Copyright (c) 2017 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
|
||||
@@ -12,40 +12,43 @@
|
||||
# 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-Task-Module-Install-BINGOS
|
||||
Version: 1.04
|
||||
Release: 0
|
||||
%define cpan_name Task-Module-Install-BINGOS
|
||||
Name: perl-Task-Module-Install-BINGOS
|
||||
Version: 1.40.0
|
||||
Release: 0
|
||||
# 1.04 -> normalize -> 1.40.0
|
||||
%define cpan_version 1.04
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Task to install all BINGOS' Module::Install extensions
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Task-Module-Install-BINGOS/
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
||||
BuildRequires: perl(Module::Install) >= 1
|
||||
BuildRequires: perl(Module::Install::AssertOS) >= 0.1
|
||||
BuildRequires: perl(Module::Install::AutoLicense) >= 0.08
|
||||
BuildRequires: perl(Module::Install::AutomatedTester) >= 0.02
|
||||
BuildRequires: perl(Module::Install::CheckLib) >= 0.08
|
||||
BuildRequires: perl(Module::Install::GithubMeta) >= 0.1
|
||||
BuildRequires: perl(Module::Install::NoAutomatedTesting) >= 0.06
|
||||
BuildRequires: perl(Module::Install::ReadmeFromPod) >= 0.12
|
||||
BuildRequires: perl(Module::Install::AssertOS) >= 0.100
|
||||
BuildRequires: perl(Module::Install::AutoLicense) >= 0.80.0
|
||||
BuildRequires: perl(Module::Install::AutomatedTester) >= 0.20.0
|
||||
BuildRequires: perl(Module::Install::CheckLib) >= 0.80.0
|
||||
BuildRequires: perl(Module::Install::GithubMeta) >= 0.100
|
||||
BuildRequires: perl(Module::Install::NoAutomatedTesting) >= 0.60.0
|
||||
BuildRequires: perl(Module::Install::ReadmeFromPod) >= 0.120
|
||||
Requires: perl(Module::Install) >= 1
|
||||
Requires: perl(Module::Install::AssertOS) >= 0.1
|
||||
Requires: perl(Module::Install::AutoLicense) >= 0.08
|
||||
Requires: perl(Module::Install::AutomatedTester) >= 0.02
|
||||
Requires: perl(Module::Install::CheckLib) >= 0.08
|
||||
Requires: perl(Module::Install::GithubMeta) >= 0.1
|
||||
Requires: perl(Module::Install::NoAutomatedTesting) >= 0.06
|
||||
Requires: perl(Module::Install::ReadmeFromPod) >= 0.12
|
||||
Requires: perl(Module::Install::AssertOS) >= 0.100
|
||||
Requires: perl(Module::Install::AutoLicense) >= 0.80.0
|
||||
Requires: perl(Module::Install::AutomatedTester) >= 0.20.0
|
||||
Requires: perl(Module::Install::CheckLib) >= 0.80.0
|
||||
Requires: perl(Module::Install::GithubMeta) >= 0.100
|
||||
Requires: perl(Module::Install::NoAutomatedTesting) >= 0.60.0
|
||||
Requires: perl(Module::Install::ReadmeFromPod) >= 0.120
|
||||
Provides: perl(Task::Module::Install::BINGOS) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -73,14 +76,14 @@ The following modules will be installed:
|
||||
Module::Install::ReadmeFromPod
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%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
|
||||
@@ -88,7 +91,6 @@ The following modules will be installed:
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes Changes.old README
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user