commit 3918bdbe302dc21665288899bb1c116c600785f7 Author: MSVSphere Packaging Team Date: Wed Jan 10 03:35:47 2024 +0300 import perl-aliased-0.34-14.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e6ecd69 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aliased-0.34.tar.gz diff --git a/.perl-aliased.metadata b/.perl-aliased.metadata new file mode 100644 index 0000000..8fc4203 --- /dev/null +++ b/.perl-aliased.metadata @@ -0,0 +1 @@ +373e89c96b7975ddc37fb7b2eff4f7c17ff631cd SOURCES/aliased-0.34.tar.gz diff --git a/SPECS/perl-aliased.spec b/SPECS/perl-aliased.spec new file mode 100644 index 0000000..c9e6b56 --- /dev/null +++ b/SPECS/perl-aliased.spec @@ -0,0 +1,191 @@ +Name: perl-aliased +Version: 0.34 +Release: 14%{?dist} +Summary: Use shorter versions of class names +License: GPL+ or Artistic +URL: https://metacpan.org/release/aliased +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/aliased-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build::Tiny) >= 0.039 +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(B) +BuildRequires: perl(CPAN::Meta) >= 2.120900 +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.88 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + +%description +aliased is simple in concept but is a rather handy module. It loads the +class you specify and exports into your namespace a subroutine that returns +the class name. You can explicitly alias the class to another name or, if +you prefer, you can do so implicitly. In the latter case, the name of the +subroutine is the last part of the class name. + +%prep +%setup -q -n aliased-%{version} + +%build +perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} -c %{buildroot} + +%check +./Build test + +%files +%license LICENSE +%doc Changes CONTRIBUTING README +%{perl_vendorlib}/aliased.pm +%{_mandir}/man3/aliased.3* + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.34-14 +- Rebuilt for MSVSphere 9.3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.34-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.34-13 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.34-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.34-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Jitka Plesnikova - 0.34-10 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.34-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.34-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.34-7 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.34-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.34-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.34-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.34-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 0.34-2 +- Perl 5.22 rebuild + +* Tue Jan 6 2015 Paul Howarth - 0.34-1 +- Update to 0.34 + - Re-release to fix problematic $VERSION declaration (CPAN RT#101095) + +* Mon Dec 22 2014 Paul Howarth - 0.33-1 +- Update to 0.33 + - Don't inherit from Exporter + - Fix docs issues + - Fix warnings on perl 5.21.6 and up (CPAN RT#100359) +- This release by ETHER → update source URL +- Switch to Module::Build::Tiny flow +- Modernize spec, dropping support for ancient distributions + +* Wed Aug 27 2014 Jitka Plesnikova - 0.31-5 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.31-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.31-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 0.31-2 +- Perl 5.18 rebuild + +* Tue Feb 19 2013 Paul Howarth - 0.31-1 +- Update to 0.31 + - Added prefix() function (CPAN RT#48289) + - Moved Test::More to build_requires (CPAN RT#48926) + - Moved author tests to xt/author +- Explicitly run the author tests +- BR: perl(lib) and perl(Test::More) for the test suite +- Add patch to support building with Test::More < 0.88 +- Drop %%defattr, redundant since rpm 4.4 +- Don't need to remove empty directories from the buildroot + +* Thu Feb 14 2013 Fedora Release Engineering - 0.30-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.30-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.30-9 +- Perl 5.16 rebuild + +* Mon Jan 16 2012 Paul Howarth - 0.30-8 +- Spec clean-up: + - BR: perl(Exporter) + - Make %%files list more explicit + - Don't use macros for commands + - Use tabs + +* Sat Jan 14 2012 Fedora Release Engineering - 0.30-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 0.30-6 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.30-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 14 2010 Marcela Maslanova - 0.30-4 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Thu Apr 29 2010 Marcela Maslanova - 0.30-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.30-2 +- rebuild against perl 5.10.1 + +* Sat Aug 22 2009 Chris Weyl 0.30-1 +- auto-update to 0.30 (by cpan-spec-update 0.01) + +* Sun Jul 26 2009 Fedora Release Engineering - 0.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed May 28 2008 Chris Weyl 0.22-1 +- update to 0.22 + +* Wed Mar 5 2008 Tom "spot" Callaway 0.21-2 +- rebuild for new perl + +* Fri Mar 30 2007 Chris Weyl 0.21-1 +- update to 0.21 + +* Thu Oct 12 2006 Chris Weyl 0.20-2 +- bump + +* Mon Oct 09 2006 Chris Weyl 0.20-1 +- Specfile autogenerated by cpanspec 1.69.