Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f0f6703aba | ||
|
eacceac9e7 | ||
|
8c1fc8d446 | ||
|
aa138d1027 | ||
|
4ca6f6001d | ||
|
ef57f4c69b | ||
|
2df00f401b | ||
|
84f46476d3 | ||
|
d8adca94cf | ||
|
8f4df82c1d | ||
|
777ee95ccf | ||
|
1ac0913786 | ||
|
0d6ac4c837 | ||
|
b6ec9e0c5a | ||
|
61c0f2c889 | ||
|
8a9d3dc425 | ||
|
1a04ca0245 | ||
|
f7a3972ed4 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@ Compress-Bzip2-2.09.tar.gz
|
||||
/Compress-Bzip2-2.20.tar.gz
|
||||
/Compress-Bzip2-2.22.tar.gz
|
||||
/Compress-Bzip2-2.24.tar.gz
|
||||
/Compress-Bzip2-2.25.tar.gz
|
||||
/Compress-Bzip2-2.26.tar.gz
|
||||
|
@ -1,22 +1,28 @@
|
||||
# Run optional tests
|
||||
%if ! (0%{?rhel})
|
||||
%bcond_without perl_Compress_Bzip2_enables_optional_test
|
||||
%else
|
||||
%bcond_with perl_Compress_Bzip2_enables_optional_test
|
||||
%endif
|
||||
|
||||
Name: perl-Compress-Bzip2
|
||||
Version: 2.24
|
||||
Release: 2%{?dist}
|
||||
Version: 2.26
|
||||
Release: 9%{?dist}
|
||||
Summary: Interface to Bzip2 compression library
|
||||
Group: Development/Libraries
|
||||
# bzlib-src/win-tst-dlltest.c (unbundled): Public Domain
|
||||
# bzlib-src/LICENSE (unbundled): BSD
|
||||
# bzlib-src/manual.ps (unbundled): GPL+ with exception
|
||||
# other files: GPL+ or Artistic
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Compress-Bzip2/
|
||||
Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/Compress-Bzip2
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
|
||||
BuildRequires: bzip2-devel >= 1.0.5
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Spec)
|
||||
@ -40,7 +46,7 @@ BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Test::Kwalitee not used
|
||||
# Optional tests:
|
||||
%if !%{defined perl_bootstrap}
|
||||
%if !%{defined perl_bootstrap} && %{with perl_Compress_Bzip2_enables_optional_test}
|
||||
BuildRequires: perl(Test::LeakTrace)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
@ -59,19 +65,18 @@ the preferred IO::Compress::Bzip2 instead.
|
||||
%prep
|
||||
%setup -q -n Compress-Bzip2-%{version}
|
||||
# Remove bundled bzip2 library
|
||||
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -exec rm -rf {} +
|
||||
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete
|
||||
sed -i -e '/^bzlib-src\//d' MANIFEST
|
||||
find bzlib-src -type f >>MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -84,6 +89,45 @@ make test
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-8
|
||||
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-7
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-3
|
||||
- Perl 5.26 re-rebuild of bootstrapped packages
|
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-2
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Tue Apr 11 2017 Petr Pisar <ppisar@redhat.com> - 2.26-1
|
||||
- 2.26 bump
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Nov 14 2016 Petr Pisar <ppisar@redhat.com> - 2.25-1
|
||||
- 2.25 bump
|
||||
|
||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.24-4
|
||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||
|
||||
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.24-3
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.24-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user