- filter private Perl solibs from provides
- remove some executable bits -- keep rpmlint happy
This commit is contained in:
parent
42388294b1
commit
a60cf657b1
@ -1,6 +1,6 @@
|
||||
Name: perl-Clone
|
||||
Version: 0.31
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Recursively copy perl datatypes
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -11,6 +11,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl(ExtUtils::ParseXS), perl(Taint::Runtime), perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
# don't "provide" private Perl libs
|
||||
%global _use_internal_dependency_generator 0
|
||||
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
|
||||
%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
|
||||
%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
|
||||
|
||||
%description
|
||||
This module provides a clone() method which makes recursive
|
||||
copies of nested hash, array, scalar and reference types,
|
||||
@ -22,6 +28,7 @@ arrays or hashes, pass them in by reference.
|
||||
|
||||
%prep
|
||||
%setup -q -n Clone-%{version}
|
||||
find . -type f -exec chmod -c -x {} ';'
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
@ -50,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.31-2
|
||||
- filter private Perl solibs from provides
|
||||
- remove some executable bits -- keep rpmlint happy
|
||||
|
||||
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-1
|
||||
- update to 0.31
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user