Update to 2.067
- New upstream release 2.067 (silence compiler warnings) - Classify buildreqs by usage
This commit is contained in:
parent
b83ab14542
commit
1a63e9dfba
@ -1,29 +1,42 @@
|
|||||||
Name: perl-Compress-Raw-Zlib
|
Name: perl-Compress-Raw-Zlib
|
||||||
Version: 2.066
|
Version: 2.067
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Low-level interface to the zlib compression library
|
Summary: Low-level interface to the zlib compression library
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
|
URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
|
||||||
|
# Module Build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(AutoLoader)
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(ExtUtils::Constant)
|
||||||
|
BuildRequires: perl(ExtUtils::Install)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 5.16
|
||||||
|
BuildRequires: perl(File::Copy)
|
||||||
|
BuildRequires: perl(File::Spec::Functions)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
BuildRequires: zlib-devel >= 1.2.1
|
||||||
|
# Module Runtime
|
||||||
|
BuildRequires: perl(bytes)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
|
# Test Suite
|
||||||
|
BuildRequires: perl(File::Path)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(overload)
|
||||||
# Dual-lived module needs rebuilding early in the boot process
|
# Dual-lived module needs rebuilding early in the boot process
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
BuildRequires: perl(Test::NoWarnings)
|
BuildRequires: perl(Test::NoWarnings)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
%endif
|
%endif
|
||||||
# XSLoader or DynaLoader; choose wisely
|
BuildRequires: perl(threads::shared)
|
||||||
BuildRequires: perl(XSLoader)
|
# Runtime
|
||||||
BuildRequires: zlib-devel
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
# see above
|
|
||||||
Requires: perl(XSLoader)
|
Requires: perl(XSLoader)
|
||||||
|
|
||||||
# Don't "provide" private Perl libs
|
# Don't "provide" private Perl libs
|
||||||
@ -37,12 +50,11 @@ compression library, which is used by IO::Compress::Zlib.
|
|||||||
%setup -q -n Compress-Raw-Zlib-%{version}
|
%setup -q -n Compress-Raw-Zlib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
BUILD_ZLIB=False
|
|
||||||
OLD_ZLIB=False
|
OLD_ZLIB=False
|
||||||
|
BUILD_ZLIB=False
|
||||||
ZLIB_LIB=%{_libdir}
|
ZLIB_LIB=%{_libdir}
|
||||||
ZLIB_INCLUDE=%{_includedir}
|
ZLIB_INCLUDE=%{_includedir}
|
||||||
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
|
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
|
||||||
|
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -59,9 +71,13 @@ make test
|
|||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorarch}/auto/Compress/
|
%{perl_vendorarch}/auto/Compress/
|
||||||
%{perl_vendorarch}/Compress/
|
%{perl_vendorarch}/Compress/
|
||||||
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
|
%{_mandir}/man3/Compress::Raw::Zlib.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 9 2014 Paul Howarth <paul@city-fan.org> - 2.067-1
|
||||||
|
- Update to 2.067 (silence compiler warnings)
|
||||||
|
- Classify buildreqs by usage
|
||||||
|
|
||||||
* Mon Sep 22 2014 Paul Howarth <paul@city-fan.org> - 2.066-1
|
* Mon Sep 22 2014 Paul Howarth <paul@city-fan.org> - 2.066-1
|
||||||
- Update to 2.066
|
- Update to 2.066
|
||||||
- Another COW violation (CPAN RT#98069)
|
- Another COW violation (CPAN RT#98069)
|
||||||
|
Loading…
Reference in New Issue
Block a user