175 строки
6.1 KiB
Plaintext
175 строки
6.1 KiB
Plaintext
|
Name: perl-Guard
|
||
|
Version: 1.023
|
||
|
Release: 18%{?dist}
|
||
|
Summary: Safe cleanup blocks
|
||
|
License: GPL+ or Artistic
|
||
|
Vendor: Microsoft Corporation
|
||
|
Distribution: Mariner
|
||
|
URL: https://metacpan.org/release/Guard
|
||
|
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Guard-%{version}.tar.gz#/perl-Guard-%{version}.tar.gz
|
||
|
# Module Build
|
||
|
BuildRequires: coreutils
|
||
|
BuildRequires: findutils
|
||
|
BuildRequires: gcc
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl-devel
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
# Module Runtime
|
||
|
BuildRequires: perl(Exporter)
|
||
|
BuildRequires: perl(warnings)
|
||
|
BuildRequires: perl(XSLoader)
|
||
|
# Test Suite
|
||
|
# (no additional dependencies)
|
||
|
# Runtime
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
Requires: perl(Exporter)
|
||
|
Requires: perl(warnings)
|
||
|
Requires: perl(XSLoader)
|
||
|
|
||
|
# Avoid provides from private shared objects
|
||
|
%{?perl_default_filter}
|
||
|
|
||
|
%description
|
||
|
This module implements so-called "guards". A guard is something (usually an
|
||
|
object) that "guards" a resource, ensuring that it is cleaned up when expected.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Guard-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
make pure_install DESTDIR=%{buildroot}
|
||
|
find %{buildroot} -type f -name .packlist -delete
|
||
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||
|
%{_fixperms} %{buildroot}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%if 0%{?_licensedir:1}
|
||
|
%license COPYING
|
||
|
%else
|
||
|
%doc COPYING
|
||
|
%endif
|
||
|
%doc Changes README
|
||
|
%{perl_vendorarch}/auto/Guard/
|
||
|
%{perl_vendorarch}/Guard.pm
|
||
|
%{_mandir}/man3/Guard.3*
|
||
|
|
||
|
%changelog
|
||
|
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.023-18
|
||
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-17
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.023-15
|
||
|
- Perl 5.30 rebuild
|
||
|
|
||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-14
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.023-12
|
||
|
- Perl 5.28 rebuild
|
||
|
|
||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-10
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.023-8
|
||
|
- Perl 5.26 rebuild
|
||
|
|
||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.023-6
|
||
|
- Perl 5.24 rebuild
|
||
|
|
||
|
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 1.023-5
|
||
|
- Fix FTBFS due to missing buildreq perl-devel
|
||
|
- Simplify find commands using -empty and -delete
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.023-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.023-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.023-2
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Fri Nov 21 2014 Paul Howarth <paul@city-fan.org> - 1.023-1
|
||
|
- Update to 1.023
|
||
|
- Work around backwards compatibility breakage in perl 5.22 (removal of
|
||
|
PL_sv_objcount)
|
||
|
- Drop %%defattr, redundant since rpm 4.4
|
||
|
- Use %%license where possible
|
||
|
- Classify buildreqs by usage
|
||
|
- Add %%{?perl_default_filter}
|
||
|
- Don't use macros for commands
|
||
|
- Don't need to remove empty directories from the buildroot
|
||
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
||
|
|
||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.022-9
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.022-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.022-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.022-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.022-5
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.022-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.022-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.022-2
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Sun Apr 22 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.022-1
|
||
|
- Update to 1.022
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.021-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.021-5
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-4
|
||
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
||
|
|
||
|
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-3
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.021-2
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sun Nov 08 2009 Nicolas Chuavet <kwizart@fedoraproject.org> - 1.021-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|