- On F-12 we have to pass INSTALLDIRS=vendor to 'make' to get Perl package

installed in vendordir instead of sitedir.
This commit is contained in:
Richard W.M. Jones 2010-03-01 16:06:02 +00:00
parent 7c2336ceee
commit 066ec83911

View File

@ -1,6 +1,6 @@
Name: hivex Name: hivex
Version: 1.2.0 Version: 1.2.0
Release: 2%{?dist} Release: 2%{?dist}.1
Summary: Read and write Windows Registry binary hive files Summary: Read and write Windows Registry binary hive files
Group: Development/Libraries Group: Development/Libraries
@ -102,7 +102,10 @@ perl-%{name} contains Perl bindings for %{name}.
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags}
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
# not the site dir.
make INSTALLDIRS=vendor %{?_smp_mflags}
%install %install
@ -177,6 +180,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Mar 1 2010 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-2.fc12.1
- On F-12 we have to pass INSTALLDIRS=vendor to 'make' to get Perl
package installed in vendordir instead of sitedir.
* Mon Mar 1 2010 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-2 * Mon Mar 1 2010 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-2
- New upstream version 1.2.0. - New upstream version 1.2.0.
- This includes OCaml and Perl bindings, so add these as subpackages. - This includes OCaml and Perl bindings, so add these as subpackages.