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