Remove bundled zlib sources
This commit is contained in:
parent
61217e9d9d
commit
0fd60c634a
@ -4,6 +4,8 @@ Release: 2%{?dist}
|
|||||||
Summary: Low-level interface to the zlib compression library
|
Summary: Low-level interface to the zlib compression library
|
||||||
# Zlib.xs: (GPL+ or Artistic) and zlib
|
# Zlib.xs: (GPL+ or Artistic) and zlib
|
||||||
# Others: GPL+ or Artistic
|
# Others: GPL+ or Artistic
|
||||||
|
## Not used to produce binary packages
|
||||||
|
# zlib-src: zlib
|
||||||
License: (GPL+ or Artistic) and zlib
|
License: (GPL+ or Artistic) and zlib
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
|
URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
|
||||||
@ -25,6 +27,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 5.16
|
|||||||
BuildRequires: perl(File::Copy)
|
BuildRequires: perl(File::Copy)
|
||||||
BuildRequires: perl(File::Spec::Functions)
|
BuildRequires: perl(File::Spec::Functions)
|
||||||
BuildRequires: perl(vars)
|
BuildRequires: perl(vars)
|
||||||
|
BuildRequires: sed
|
||||||
BuildRequires: zlib-devel >= 1.2.1
|
BuildRequires: zlib-devel >= 1.2.1
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(bytes)
|
BuildRequires: perl(bytes)
|
||||||
@ -59,6 +62,9 @@ compression library, which is used by IO::Compress::Zlib.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Compress-Raw-Zlib-%{version}
|
%setup -q -n Compress-Raw-Zlib-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
# Remove bundled zlib
|
||||||
|
rm -rf zlib-src
|
||||||
|
sed -i -e '/^zlib-src\//d' MANIFEST
|
||||||
|
|
||||||
%build
|
%build
|
||||||
OLD_ZLIB=False
|
OLD_ZLIB=False
|
||||||
|
Loading…
Reference in New Issue
Block a user