- perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
This commit is contained in:
parent
0688063e49
commit
9a838165e2
@ -1,6 +1,6 @@
|
||||
Name: perl-YAML-LibYAML
|
||||
Version: 0.32
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: YAML::LibYAML Perl module
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -11,6 +11,8 @@ BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
Kirill Siminov's "libyaml" is arguably the best YAML
|
||||
implementation. The C library is written precisely to the YAML 1.1
|
||||
@ -30,7 +32,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
@ -52,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Mar 27 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.32-5
|
||||
- perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.32-4
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user