2.034 bump, some cleanup, fixing requirements
This commit is contained in:
parent
d37712dc7a
commit
71606755a5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/Compress-Raw-Zlib-2.033.tar.gz
|
/Compress-Raw-Zlib-2.033.tar.gz
|
||||||
|
/Compress-Raw-Zlib-2.034.tar.gz
|
||||||
|
|||||||
@ -1,14 +1,22 @@
|
|||||||
Name: perl-Compress-Raw-Zlib
|
Name: perl-Compress-Raw-Zlib
|
||||||
Version: 2.033
|
Version: 2.034
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Low-Level Interface to zlib compression library
|
Summary: Low-Level Interface to 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://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Requires: perl(Exporter)
|
||||||
|
# XSLoader or DynaLoader; choose wisely
|
||||||
|
Requires: perl(XSLoader)
|
||||||
|
BuildRequires: perl(AutoLoader)
|
||||||
|
BuildRequires: perl(bytes)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
|
# see above
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -28,34 +36,31 @@ 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=perl OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
%{_fixperms} %{buildroot}/*
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_archlib}/auto/Compress/
|
%{perl_archlib}/auto/Compress/
|
||||||
%{perl_archlib}/Compress/
|
%{perl_archlib}/Compress/
|
||||||
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
|
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
|
||||||
|
- 2.034 bump
|
||||||
|
- Buildroot and defattr cleanup
|
||||||
|
- Correcting BRs/Rs
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-4
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user