forked from pool/perl-Dist-CheckConflicts
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
1c6e8756fe | |||
d010b3e7fa |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 20 11:15:40 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 6 13:13:01 UTC 2015 - coolo@suse.com
|
Fri Feb 6 13:13:01 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Dist-CheckConflicts
|
# spec file for package perl-Dist-CheckConflicts
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 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
|
||||||
@@ -12,27 +12,29 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-Dist-CheckConflicts
|
|
||||||
Version: 0.11
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Dist-CheckConflicts
|
%define cpan_name Dist-CheckConflicts
|
||||||
Summary: declare version conflicts for your dist
|
Name: perl-Dist-CheckConflicts
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
Version: 0.110.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/Dist-CheckConflicts/
|
# 0.11 -> normalize -> 0.110.0
|
||||||
Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz
|
%define cpan_version 0.11
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: Declare version conflicts for your dist
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Runtime) >= 0.009
|
BuildRequires: perl(Module::Runtime) >= 0.9
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
Requires: perl(Module::Runtime) >= 0.009
|
Requires: perl(Module::Runtime) >= 0.9
|
||||||
|
Provides: perl(Dist::CheckConflicts) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -59,16 +61,16 @@ these keys being valid:
|
|||||||
* -conflicts
|
* -conflicts
|
||||||
|
|
||||||
A hashref of conflict specifications, where keys are module names, and
|
A hashref of conflict specifications, where keys are module names, and
|
||||||
values are the last broken version - any version greater than the
|
values are the last broken version - any version greater than the specified
|
||||||
specified version should work.
|
version should work.
|
||||||
|
|
||||||
* -also
|
* -also
|
||||||
|
|
||||||
Additional modules to get conflicts from (potentially recursively). This
|
Additional modules to get conflicts from (potentially recursively). This
|
||||||
should generally be a list of modules which use Dist::CheckConflicts,
|
should generally be a list of modules which use Dist::CheckConflicts, which
|
||||||
which correspond to the dists that your dist depends on. (In an ideal
|
correspond to the dists that your dist depends on. (In an ideal world, this
|
||||||
world, this would be intuited directly from your dependency list, but the
|
would be intuited directly from your dependency list, but the dependency
|
||||||
dependency list isn't available outside of build time).
|
list isn't available outside of build time).
|
||||||
|
|
||||||
* -dist
|
* -dist
|
||||||
|
|
||||||
@@ -91,14 +93,14 @@ runtime if conflicting modules are detected (regardless of whether they are
|
|||||||
loaded before or afterwards).
|
loaded before or afterwards).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -106,7 +108,7 @@ loaded before or afterwards).
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes README
|
||||||
%doc Changes LICENSE README
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user