Compare commits

...

18 Commits
f24 ... master

Author SHA1 Message Date
Fedora Release Engineering
f0f6703aba - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 16:25:24 +00:00
Jitka Plesnikova
eacceac9e7 Perl 5.28 re-rebuild of bootstrapped packages 2018-07-01 08:42:40 +02:00
Jitka Plesnikova
8c1fc8d446 Perl 5.28 rebuild 2018-06-27 22:10:12 +02:00
Petr Písař
aa138d1027 cpan.org addresses moved to MetaCPAN <https://fedoraproject.org/wiki/Changes/Perl_Move_to_MetaCPAN> 2018-06-04 15:02:58 +02:00
Jitka Plesnikova
4ca6f6001d Do not run optional test on RHEL 2018-04-05 10:23:49 +02:00
Fedora Release Engineering
ef57f4c69b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 19:45:14 +00:00
Fedora Release Engineering
2df00f401b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 05:04:58 +00:00
Fedora Release Engineering
84f46476d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 03:04:47 +00:00
Petr Písař
d8adca94cf perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:17:05 +02:00
Jitka Plesnikova
8f4df82c1d Perl 5.26 re-rebuild of bootstrapped packages 2017-06-07 16:54:23 +02:00
Jitka Plesnikova
777ee95ccf Perl 5.26 rebuild 2017-06-04 14:46:03 +02:00
Petr Písař
1ac0913786 2.26 bump 2017-04-11 13:14:26 +02:00
Petr Písař
0d6ac4c837 Introduce build-condition for optional tests 2017-04-10 13:34:22 +02:00
Fedora Release Engineering
b6ec9e0c5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 02:11:29 +00:00
Petr Písař
61c0f2c889 2.25 bump 2016-11-14 09:37:10 +01:00
Petr Písař
8a9d3dc425 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:20:16 +02:00
Jitka Plesnikova
1a04ca0245 Perl 5.24 re-rebuild of bootstrapped packages 2016-05-18 18:25:45 +02:00
Jitka Plesnikova
f7a3972ed4 Perl 5.24 rebuild 2016-05-15 00:33:40 +02:00
3 changed files with 61 additions and 15 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
d5ef04d1e51fe45743b3044abad967d2 Compress-Bzip2-2.24.tar.gz
SHA512 (Compress-Bzip2-2.26.tar.gz) = be1670303496a9f48989777468234d52276b34e6c0fdb6e99d2199134f353f1ee32e0489a3797ab3a2d4777bb5f03f78dff39f3bf75b8cc511b754da2b7e4959