forked from pool/perl-Config-GitLike
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
5c751c93e4 | |||
1bb1630ca5 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 20 13:04:09 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 14 03:07:42 UTC 2020 - <timueller+perl@suse.de>
|
Sat Mar 14 03:07:42 UTC 2020 - <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Config-GitLike
|
# spec file for package perl-Config-GitLike
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
# 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,25 +16,30 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Config-GitLike
|
|
||||||
Version: 1.18
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Config-GitLike
|
%define cpan_name Config-GitLike
|
||||||
Summary: Git-compatible config file parsing
|
Name: perl-Config-GitLike
|
||||||
|
Version: 1.180.0
|
||||||
|
Release: 0
|
||||||
|
# 1.18 -> normalize -> 1.180.0
|
||||||
|
%define cpan_version 1.18
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Git-compatible config file parsing
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
||||||
BuildRequires: perl(Moo)
|
BuildRequires: perl(Moo)
|
||||||
BuildRequires: perl(MooX::Types::MooseLike)
|
BuildRequires: perl(MooX::Types::MooseLike)
|
||||||
BuildRequires: perl(Test::Exception)
|
BuildRequires: perl(Test::Exception)
|
||||||
Requires: perl(Moo)
|
Requires: perl(Moo)
|
||||||
Requires: perl(MooX::Types::MooseLike)
|
Requires: perl(MooX::Types::MooseLike)
|
||||||
|
Provides: perl(Config::GitLike) = %{version}
|
||||||
|
Provides: perl(Config::GitLike::Cascaded)
|
||||||
|
Provides: perl(Config::GitLike::Git)
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -74,11 +79,11 @@ method calls.
|
|||||||
A few methods have parameters that are always used for the same purpose:
|
A few methods have parameters that are always used for the same purpose:
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -89,7 +94,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes
|
%doc Changes
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user