Blame SPECS/perl-BSD-Resource.spec

5979af
# Run optional test
5979af
%if ! (0%{?rhel})
5979af
%bcond_without perl_BSD_Resource_enables_optional_test
5979af
%else
5979af
%bcond_with perl_BSD_Resource_enables_optional_test
5979af
%endif
5979af
5979af
Name:           perl-BSD-Resource
5979af
Version:        1.291.100
5979af
%global module_version 1.2911
5979af
Release:        5%{?dist}
5979af
Summary:        BSD process resource limit and priority functions
5979af
# No matter what the pm and xs headers say, this is stated in the POD and,
5979af
# according to upstream changelog for 1.2905, is correct.
5979af
# No matter what POD says, ppport.h comes from perl with perl's license.
5979af
License:        (LGPLv2 or Artistic 2.0) and (GPL+ or Artistic)
5979af
URL:            http://search.cpan.org/dist/BSD-Resource/
5979af
Source0:        http://www.cpan.org/authors/id/J/JH/JHI/BSD-Resource-%{module_version}.tar.gz
5979af
BuildRequires:  findutils
5979af
BuildRequires:  gcc
5979af
BuildRequires:  make
5979af
BuildRequires:  perl-interpreter
5979af
BuildRequires:  perl-devel
5979af
BuildRequires:  perl-generators
5979af
BuildRequires:  perl(Config)
5979af
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
5979af
BuildRequires:  perl(File::Basename)
5979af
BuildRequires:  perl(vars)
5979af
# Run-time:
5979af
BuildRequires:  perl(AutoLoader)
5979af
BuildRequires:  perl(Carp)
5979af
BuildRequires:  perl(DynaLoader)
5979af
BuildRequires:  perl(Exporter)
5979af
BuildRequires:  perl(strict)
5979af
%if %{with perl_BSD_Resource_enables_optional_test}
5979af
# Optional tests:
5979af
BuildRequires:  perl(Test::More)
5979af
BuildRequires:  perl(Test::Pod)
5979af
BuildRequires:  perl(Test::Pod::Coverage)
5979af
%endif
5979af
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
5979af
5979af
%{?perl_default_filter}
5979af
5979af
%description
5979af
A module providing an interface for testing and setting process limits
5979af
and priorities.
5979af
5979af
%prep
5979af
%setup -q -n BSD-Resource-%{module_version} 
5979af
5979af
%build
5979af
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
5979af
make %{?_smp_mflags}
5979af
5979af
%install
5979af
make pure_install DESTDIR=%{buildroot}
5979af
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
5979af
%{_fixperms} %{buildroot}/*
5979af
5979af
%check
5979af
make test
5979af
5979af
%files
5979af
%doc ChangeLog README
5979af
%{perl_vendorarch}/BSD/
5979af
%{perl_vendorarch}/auto/BSD/
5979af
%{_mandir}/man3/*
5979af
5979af
%changelog
5979af
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.291.100-5
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5979af
5979af
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.291.100-4
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5979af
5979af
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.291.100-3
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5979af
5979af
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.291.100-2
5979af
- Perl 5.26 rebuild
5979af
5979af
* Mon Apr 10 2017 Jan Pazdziora <jpazdziora@redhat.com> - 1.291.100-1
5979af
- 1440744 - Rebase to upstream version 1.2911.
5979af
5979af
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.291.000-3
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5979af
5979af
* Thu May 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.291.000-2
5979af
- Perl 5.24 re-rebuild of bootstrapped packages
5979af
5979af
* Sun May 15 2016 Jan Pazdziora <jpazdziora@redhat.com> - 1.291.000-1
5979af
- 1336059 - Rebase to upstream version 1.2910.
5979af
5979af
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.290.900-3
5979af
- Perl 5.24 rebuild
5979af
5979af
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.290.900-2
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5979af
5979af
* Wed Nov 25 2015 Petr Šabata <contyk@redhat.com> - 1.290.900-1
5979af
- 1.2909 bump
5979af
5979af
* Thu Oct 22 2015 Petr Pisar <ppisar@redhat.com> - 1.290.800-1
5979af
- 1.2908 bump
5979af
- Correct the license tag to ((LGPLv2 or Artistic 2.0) and (GPL+ or Artistic)
5979af
5979af
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.290.700-3
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5979af
5979af
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.290.700-2
5979af
- Perl 5.22 rebuild
5979af
5979af
* Thu Dec 04 2014 Petr Pisar <ppisar@redhat.com> - 1.290.700-1
5979af
- Normalize version
5979af
5979af
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.29.07-6
5979af
- Perl 5.20 rebuild
5979af
5979af
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.07-5
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5979af
5979af
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.07-4
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5979af
5979af
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.07-3
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5979af
5979af
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.29.07-2
5979af
- Perl 5.18 rebuild
5979af
5979af
* Mon Jul 15 2013 Petr Šabata <contyk@redhat.com> - 1.29.07-1
5979af
- 1.2907 bump, tests and pod enhancements
5979af
- Fix a bogus date in changelog
5979af
5979af
* Mon Jul 01 2013 Petr Šabata <contyk@redhat.com> - 1.29.05-1
5979af
- 1.2905 bump
5979af
- Correct the licence tag
5979af
- Various typo and perl5.18 fixes
5979af
5979af
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.04-14
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5979af
5979af
* Wed Sep 19 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.29.04-13
5979af
- Add perl_default_filter to filter Resource.so from provides. 
5979af
5979af
* Thu Aug  2 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.29.04-12
5979af
- Update BR, Provides
5979af
- Clean up for modern rpmbuild
5979af
5979af
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.04-11
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5979af
5979af
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.29.04-10
5979af
- Perl 5.16 rebuild
5979af
5979af
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.04-9
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5979af
5979af
* Tue Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.04-8
5979af
- add filter for unneeded provides
5979af
5979af
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.04-6
5979af
- Perl mass rebuild & add provide
5979af
5979af
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.04-3
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5979af
5979af
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29.04-2
5979af
- 661697 rebuild for fixing problems with vendorach/lib
5979af
5979af
* Tue Jun  8 2010 Petr Pisar <ppisar@redhat.com> - 1.29.04-1
5979af
- 1.2904 bump (bug #600626)
5979af
5979af
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29.03-4
5979af
- Mass rebuild with perl-5.12.0
5979af
5979af
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.29.03-3
5979af
- rebuild against perl 5.10.1
5979af
5979af
* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 1.29.03-2
5979af
- bump release
5979af
5979af
* Mon Jul 27 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.03-1
5979af
- update, remove unneeded patch
5979af
5979af
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-9
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5979af
5979af
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-8
5979af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5979af
5979af
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.28-7
5979af
- Fix Patch0:/%%patch mismatch.
5979af
5979af
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.28-6
5979af
- Rebuild for perl 5.10 (again)
5979af
5979af
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.28-5
5979af
- Autorebuild for GCC 4.3
5979af
5979af
* Sat Feb  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.28-4
5979af
- rebuild for new perl
5979af
5979af
* Thu Aug 23 2007 Robin Norwood <rnorwood@redhat.com> 1.28-3
5979af
- Fix license tag.
5979af
- Add %%doc section
5979af
5979af
* Sat Jun 30 2007 Steven Pritchard <steve@kspei.com> 1.28-2
5979af
- Fix find option order.
5979af
- Use fixperms macro instead of our own chmod incantation.
5979af
- Remove check macro cruft.
5979af
- Remove redundant BR perl.
5979af
- BR ExtUtils::MakeMaker, Test::More, Test::Pod, and Test::Pod::Coverage.
5979af
- Patch t/setrlimit.t to fix bogus test failure.
5979af
- Set OPTIMIZE when running Makefile.PL, not make.
5979af
5979af
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.28-1.fc6.1
5979af
- rebuild
5979af
5979af
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.28-1
5979af
- upgrade to upstream version 1.28
5979af
5979af
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.24-3.2.2
5979af
- bump again for double-long bug on ppc(64)
5979af
5979af
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.24-3.2.1
5979af
- rebuilt for new gcc4.1 snapshot and glibc changes
5979af
5979af
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.24-3.2
5979af
- rebuild for new perl-5.8.8
5979af
5979af
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
5979af
- rebuilt for new gcc
5979af
5979af
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
5979af
- rebuilt for new gcj
5979af
5979af
* Sat Apr  2 2005 Warren Togami <wtogami@redhat.com> - 1.24-3
5979af
- skip make test #153178
5979af
5979af
* Sat Apr  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.24-2
5979af
- spec cleanup
5979af
- License corrected
5979af
5979af
* Thu Mar 31 2005 Warren Togami <wtogami@redhat.com> 1.24-1
5979af
- 1.24
5979af
5979af
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5979af
- rebuilt
5979af
5979af
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
5979af
- rebuilt
5979af
5979af
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.23-1
5979af
- update to 1.23
5979af
5979af
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
5979af
- rebuilt
5979af
5979af
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
5979af
- rebuild
5979af
5979af
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
5979af
- automated release bump and build
5979af
5979af
* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
5979af
- properly claim directories owned by package so they are removed when package is removed
5979af
5979af
* Wed Jan 30 2002 cturner@redhat.com
5979af
- Specfile autogenerated
5979af