1.2905 bump
- Correct the licence tag - Various typo and perl5.18 fixes
This commit is contained in:
parent
6edcec768a
commit
132d893cb7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
BSD-Resource-1.2904.tar.gz
|
||||
/BSD-Resource-1.2905.tar.gz
|
||||
|
||||
@ -1,22 +1,27 @@
|
||||
Name: perl-BSD-Resource
|
||||
Version: 1.29.04
|
||||
%define module_version 1.2904
|
||||
Release: 14%{?dist}
|
||||
Version: 1.29.05
|
||||
%define module_version 1.2905
|
||||
Release: 1%{?dist}
|
||||
Summary: BSD process resource limit and priority functions
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
# No matter what the pm and xs headers say, this is stated in the POD and,
|
||||
# according to upstream changelog for 1.2905, is correct.
|
||||
License: LGPLv2 or Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/BSD-Resource/
|
||||
Source0: http://www.cpan.org/authors/id/J/JH/JHI/BSD-Resource-%{module_version}.tar.gz
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(AutoLoader)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(vars)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
@ -28,15 +33,14 @@ and priorities.
|
||||
%setup -q -n BSD-Resource-%{module_version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
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 {} ';'
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -47,8 +51,12 @@ make test
|
||||
%{perl_vendorarch}/auto/BSD/
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 01 2013 Petr Šabata <contyk@redhat.com> - 1.29.05-1
|
||||
- 1.2905 bump
|
||||
- Correct the licence tag
|
||||
- Various typo and perl5.18 fixes
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.04-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user