123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- Name: perl-Guard
- Version: 1.023
- Release: 2%{?_dist_release}
- Summary: Safe cleanup blocks
- License: GPL+ or Artistic
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/Guard/
- Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/Guard-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: libxcrypt-devel
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- %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="$RPM_OPT_FLAGS"
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install PERL_INSTALL_ROOT=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} \;
- find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
- find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
- %{_fixperms} %{buildroot}/*
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %license COPYING
- %doc Changes README
- %{perl_vendorarch}/auto/*
- %{perl_vendorarch}/Guard*
- %{_mandir}/man3/*
- %changelog
- * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.023-2
- - rebuilt with perl-5.26.
- - added BR:libxcrypt-devel.
- * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.023-1
- - new upstream release
- * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.021-2
- - build with Perl 5.16
- * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.021-1
- - initial build for Vine Linux
- * 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
- - 661697 rebuild for fixing problems with vendorach/lib
- * 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.
|