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