|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-B-Hooks-OP-Check
|
|
|
|
|
Summary: Wrap OP check callbacks
|
|
|
|
|
Version: 0.18
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Hooks-OP-Check-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/B-Hooks-OP-Check-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/B-Hooks-OP-Check
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::Depends) >= 0.302
|
|
|
|
@ -31,8 +30,6 @@ of 'PL_check'.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
@ -43,17 +40,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
%exclude %dir %{perl_vendorarch}/auto
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 0.19-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.18-5
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|