Group :: Desenvolvimento/Perl
RPM: perl-Compress-Raw-Zlib
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Compress-Raw-Zlib
Name: perl-%dist
Version: 2.206
Release: alt1
Summary: Low-level interface to the zlib compression library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Mon Feb 20 2012
BuildRequires: perl-Test-NoWarnings perl-Test-Pod zlib-devel
%description
The Compress::Raw::Zlib module provides a Perl interface to the zlib
compression library.
%prep
%setup -q -n %{dist}-%{version}
rm -rv zlib-src/
rm -rv t/Test/
# disable build dependency on IO-Compress
sed -i- 's/^BEGIN$/if (0)/' t/compress/CompTestUtils.pm
cat >config.in <<EOF
BUILD_ZLIB = False
INCLUDE = %_includedir
LIB = %_libdir
OLD_ZLIB = False
GZIP_OS_CODE = 3
USE_ZLIB_NG = False
EOF
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README examples
%perl_vendor_archlib/Compress
%perl_vendor_autolib/Compress
%changelog
…
Todas as alterações você pod ver aqui
%define dist Compress-Raw-Zlib
Name: perl-%dist
Version: 2.206
Release: alt1
Summary: Low-level interface to the zlib compression library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Mon Feb 20 2012
BuildRequires: perl-Test-NoWarnings perl-Test-Pod zlib-devel
%description
The Compress::Raw::Zlib module provides a Perl interface to the zlib
compression library.
%prep
%setup -q -n %{dist}-%{version}
rm -rv zlib-src/
rm -rv t/Test/
# disable build dependency on IO-Compress
sed -i- 's/^BEGIN$/if (0)/' t/compress/CompTestUtils.pm
cat >config.in <<EOF
BUILD_ZLIB = False
INCLUDE = %_includedir
LIB = %_libdir
OLD_ZLIB = False
GZIP_OS_CODE = 3
USE_ZLIB_NG = False
EOF
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README examples
%perl_vendor_archlib/Compress
%perl_vendor_autolib/Compress
%changelog
…
Todas as alterações você pod ver aqui