commit 882f0cd4b49716094c50c7d37d8f5d5962ce8a10 Author: MSVSphere Packaging Team Date: Wed Jan 10 01:55:58 2024 +0300 import perl-Algorithm-C3-0.11-5.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed58dd5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Algorithm-C3-0.11.tar.gz diff --git a/.perl-Algorithm-C3.metadata b/.perl-Algorithm-C3.metadata new file mode 100644 index 0000000..4b60111 --- /dev/null +++ b/.perl-Algorithm-C3.metadata @@ -0,0 +1 @@ +9dfb0806c474736e2791761322342b0eed90c32d SOURCES/Algorithm-C3-0.11.tar.gz diff --git a/SOURCES/gating.yaml b/SOURCES/gating.yaml new file mode 100644 index 0000000..282e16b --- /dev/null +++ b/SOURCES/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/SOURCES/perl-Algorithm-C3.rpmlintrc b/SOURCES/perl-Algorithm-C3.rpmlintrc new file mode 100644 index 0000000..ed518fc --- /dev/null +++ b/SOURCES/perl-Algorithm-C3.rpmlintrc @@ -0,0 +1,3 @@ +from Config import * +addFilter("spelling-error %description -l en_US metamodels -> ") +addFilter("-tests\.noarch: W: no-documentation"); diff --git a/SPECS/perl-Algorithm-C3.spec b/SPECS/perl-Algorithm-C3.spec new file mode 100644 index 0000000..1b31c8e --- /dev/null +++ b/SPECS/perl-Algorithm-C3.spec @@ -0,0 +1,249 @@ +Name: perl-Algorithm-C3 +Version: 0.11 +Release: 5%{?dist} +Summary: Module for merging hierarchies using the C3 algorithm +License: GPL+ or Artistic +URL: https://metacpan.org/release/Algorithm-C3 +Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-C3-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) +# Module +BuildRequires: perl(Carp) >= 0.01 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test +BuildRequires: perl(Test::More) >= 0.47 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Test::More)\\)$ + +%description +This module implements the C3 algorithm. Most of the uses I have for C3 +revolve around class building and metamodels but it could also be used for +things like dependency resolution as well since it tends to do such a nice +job of preserving local precedence orderings. + +%package tests +Summary: Tests for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl-Test-Harness +Requires: perl(Test::More) >= 0.47 + +%description tests +Tests from %{name}. Execute them +with "%{_libexecdir}/%{name}/test". + +%prep +%setup -q -n Algorithm-C3-%{version} +# Help generators to recognize Perl scripts +for F in t/*.t; do + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" + chmod +x "$F" +done + +%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} + +# Install tests +mkdir -p %{buildroot}%{_libexecdir}/%{name} +cp -a t %{buildroot}%{_libexecdir}/%{name} +cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' +#!/bin/sh +cd %{_libexecdir}/%{name} && exec prove -r -I . -j "$(getconf _NPROCESSORS_ONLN)" +EOF +chmod +x %{buildroot}%{_libexecdir}/%{name}/test + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/Algorithm/ +%{_mandir}/man3/Algorithm::C3.3* + +%files tests +%{_libexecdir}/%{name} + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.11-5 +- Rebuilt for MSVSphere 9.3 + +* Tue Aug 03 2021 Michal Josef Špaček - 0.11-5 +- Package tests + +* Thu Jul 22 2021 Fedora Release Engineering - 0.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.11-3 +- Perl 5.34 rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Nov 11 2020 Paul Howarth - 0.11-1 +- Update to 0.11 + - Set metadata for static dependency list and install + - Move repository to GitHub + - Minor test clean-ups + - Fix Makefile.PL to work for authors in perl 5.26+ +- Package new LICENSE file + +* Tue Jul 28 2020 Fedora Release Engineering - 0.10-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.10-18 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.10-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 15 2019 Paul Howarth - 0.10-16 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + +* Fri Jul 26 2019 Fedora Release Engineering - 0.10-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.10-14 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.10-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.10-11 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.10-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.10-8 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.10-6 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.10-3 +- Perl 5.22 rebuild + +* Thu Sep 04 2014 Jitka Plesnikova - 0.10-2 +- Perl 5.20 rebuild + +* Thu Sep 4 2014 Paul Howarth - 0.10-1 +- Update to 0.10 + - Declare minimum version of perl as 5.6 in metadata + +* Wed Aug 27 2014 Jitka Plesnikova - 0.09-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.09-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Mar 3 2014 Paul Howarth - 0.09-1 +- Update to 0.09 + - Convert to use ExtUtils::MakeMaker using distar + - Include repo and bugtracker metadata +- This release by HAARG -> update source URL +- Switch to ExtUtils::MakeMaker flow + +* Sat Aug 03 2013 Fedora Release Engineering - 0.08-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 19 2013 Petr Pisar - 0.08-13 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.08-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.08-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.08-10 +- Perl 5.16 rebuild + +* Mon Jan 16 2012 Paul Howarth - 0.08-9 +- Spec clean-up: + - Make %%files list more explicit + - Categorize build requirements for build/module/test + - Don't use macros for commands + - Use tabs + - Fix typo in %%description + +* Fri Jan 13 2012 Fedora Release Engineering - 0.08-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 0.08-7 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.08-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 14 2010 Marcela Maslanova - 0.08-5 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Thu Apr 29 2010 Marcela Maslanova - 0.08-4 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.08-3 +- Rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.08-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sun Jun 07 2009 Chris Weyl - 0.08-1 +- Auto-update to 0.08 (by cpan-spec-update 0.01) +- Altered br on perl(Test::More) (0 => 0.47) +- Added a new br on perl(Carp) (version 0.01) + +* Thu Feb 26 2009 Fedora Release Engineering - 0.07-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Mar 04 2008 Tom "spot" Callaway - 0.07-2 +- Rebuild for new perl + +* Thu May 31 2007 Chris Weyl - 0.07-1 +- Update to 0.07 +- Include t/ in doc +- Minor spec reworkage to deal with the once and future perl split + +* Tue Nov 21 2006 Chris Weyl - 0.06-1 +- Update to 0.06 + +* Wed Sep 06 2006 Chris Weyl - 0.05-2 +- Bump + +* Tue Sep 05 2006 Chris Weyl - 0.05-1 +- Specfile autogenerated by cpanspec 1.69.1