From 104ff410d0fecb6b9b0f2463ea344fdced5aba16 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 4 Nov 2021 04:44:56 -0400 Subject: [PATCH] import perl-Dist-CheckConflicts-0.11-23.el9 --- .gitignore | 1 + .perl-Dist-CheckConflicts.metadata | 1 + SPECS/perl-Dist-CheckConflicts.spec | 234 ++++++++++++++++++++++++++++ 3 files changed, 236 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Dist-CheckConflicts.metadata create mode 100644 SPECS/perl-Dist-CheckConflicts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bc4907 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Dist-CheckConflicts-0.11.tar.gz diff --git a/.perl-Dist-CheckConflicts.metadata b/.perl-Dist-CheckConflicts.metadata new file mode 100644 index 0000000..9fecc81 --- /dev/null +++ b/.perl-Dist-CheckConflicts.metadata @@ -0,0 +1 @@ +5c2f6796c420e0db750541e605e45140f5f374be SOURCES/Dist-CheckConflicts-0.11.tar.gz diff --git a/SPECS/perl-Dist-CheckConflicts.spec b/SPECS/perl-Dist-CheckConflicts.spec new file mode 100644 index 0000000..616f98b --- /dev/null +++ b/SPECS/perl-Dist-CheckConflicts.spec @@ -0,0 +1,234 @@ +# Run extra test +%if 0%{?fedora} +%bcond_without perl_Dist_CheckConflicts_enables_extra_test +%else +%bcond_with perl_Dist_CheckConflicts_enables_extra_test +%endif + +Name: perl-Dist-CheckConflicts +Version: 0.11 +Release: 23%{?dist} +Summary: Declare version conflicts for your dist +License: GPL+ or Artistic +URL: https://metacpan.org/release/Dist-CheckConflicts +Source0: https://cpan.metacpan.org/modules/by-module/Dist/Dist-CheckConflicts-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +# Module +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Module::Runtime) >= 0.009 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(blib) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.88 +# Extra Tests +%if %{with perl_Dist_CheckConflicts_enables_extra_test} +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(Test::Pod) >= 1.41 +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +%endif +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +One shortcoming of the CPAN clients that currently exist is that they have no +way of specifying conflicting downstream dependencies of modules. This module +attempts to work around this issue by allowing you to specify conflicting +versions of modules separately, and deal with them after the module is done +installing. + +For instance, say you have a module Foo, and some other module Bar uses Foo. If +Foo were to change its API in a non-backwards-compatible way, this would cause +Bar to break until it is updated to use the new API. Foo can't just depend on +the fixed version of Bar, because this will cause a circular dependency +(because Bar is already depending on Foo), and this doesn't express intent +properly anyway - Foo doesn't use Bar at all. The ideal solution would be for +there to be a way to specify conflicting versions of modules in a way that would +let CPAN clients update conflicting modules automatically after an existing +module is upgraded, but until that happens, this module will allow users to do +this manually. + +%prep +%setup -q -n Dist-CheckConflicts-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + +%check +make test +%if %{with perl_Dist_CheckConflicts_enables_extra_test} +make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" +%endif + +%files +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README +%{perl_vendorlib}/Dist/ +%{_mandir}/man3/Dist::CheckConflicts.3* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.11-23 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.11-22 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.11-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.11-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.11-19 +- Perl 5.32 rebuild + +* Tue Mar 10 2020 Paul Howarth - 0.11-18 +- Spec tidy-up + - Use author-independent source URL + - Drop support for building with Test::More < 0.88 + - Specify all build dependencies + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + - Use %%license where possible + +* Wed Jan 29 2020 Fedora Release Engineering - 0.11-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.11-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.11-15 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.11-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.11-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.11-12 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.11-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.11-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 0.11-9 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.11-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.11-7 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 0.11-4 +- Perl 5.22 rebuild + +* Fri Aug 29 2014 Jitka Plesnikova - 0.11-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Apr 3 2014 Paul Howarth - 0.11-1 +- Update to 0.11 + - Drop the dep on List::MoreUtils + (https://github.com/doy/dist-checkconflicts/pull/8) +- Update patch for building with Test::More < 0.88 +- Don't try to run the extra tests for EPEL builds +- Specify version requirements for extra test modules + +* Wed Dec 18 2013 Paul Howarth - 0.10-1 +- Update to 0.10 + - We need Module::Runtime 0.009 for module_notional_filename (#6) +- Update patch for building with Test::More < 0.88 +- Drop %%defattr, redundant since rpm 4.4 + +* Sat Aug 03 2013 Fedora Release Engineering - 0.09-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 26 2013 Petr Pisar - 0.09-2 +- Perl 5.18 rebuild + +* Mon Jul 22 2013 Paul Howarth - 0.09-1 +- Update to 0.09 + - Support Perl 5.6.x + +* Wed Jul 10 2013 Paul Howarth - 0.08-1 +- Update to 0.08 + - Instead of silently ignoring conflicts that do not compile, issue a + conflict warning (CPAN RT#75486) +- BR: perl(Module::Runtime) +- Classify buildreqs by usage +- Explicitly run the extra tests + +* Sat Jun 22 2013 Paul Howarth - 0.06-1 +- Update to 0.06 + - Add optional runtime conflict warnings + - Require 5.8.1, clean up a few things and add a few more tests + - Use Exporter instead of Sub::Exporter +- Update patch for building with Test::More < 0.88 +- Drop patch for building with old ExtUtils::MakeMaker, no longer needed +- Don't need to remove empty directories from the buildroot + +* Thu Feb 14 2013 Fedora Release Engineering - 0.02-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.02-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 19 2012 Petr Pisar - 0.02-6 +- Perl 5.16 rebuild + +* Wed Jan 11 2012 Paul Howarth - 0.02-5 +- Pod::Coverage::TrustPod now available in all supported releases +- BR: perl(Carp) + +* Tue Jul 19 2011 Petr Sabata - 0.02-4 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.02-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jan 5 2011 Paul Howarth - 0.02-2 +- Sanitize for Fedora submission + +* Tue Jan 4 2011 Paul Howarth - 0.02-1 +- Initial RPM version