Changes of Revision 47
[-] | Changed | PDFlib-Lite.spec |
x 1
2 Summary(de): PDFlib 3 URL: http://www.pdflib.com/ 4 Source0: %{name}-%{version}.tar.gz 5 +Patch0: %{name}-%{version}_perlvendor.diff 6 #Patch0: %{name}-%{version}.diff 7 #Patch1: %{name}-%{version}_configure.diff 8 BuildRoot: %{_tmppath}/%{name}-%{version}-build 9
10 11 %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} 12 %ifarch x86_64 13 -%define perl_sitelib %(eval "`%{__perl} -V:installsitelib | sed -e s@/lib@/lib64@g`"; echo $installsitelib) 14 +%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib | sed -e s@/lib@/lib64@g`"; echo $installvendorlib) 15 %endif 16 %endif 17 18
19 %install 20 21 %{__make} DESTDIR=$RPM_BUILD_ROOT install 22 -mv %{buildroot}%{perl_sitearch} %{buildroot}%{perl_sitelib}/pdflib_pl.pm 23 +mv %{buildroot}%{perl_vendorarch} %{buildroot}%{perl_vendorlib}/pdflib_pl.pm 24 %perl_process_packlist 25 26 %clean 27
28 29 %files perl 30 %defattr(-,root,root,-) 31 -%{perl_sitelib}/pdflib_pl.a 32 -%{perl_sitelib}/pdflib_pl.la 33 -%{perl_sitelib}/pdflib_pl.so* 34 -%{perl_sitelib}/pdflib_pl.pm 35 +%{perl_vendorlib}/pdflib_pl.a 36 +%{perl_vendorlib}/pdflib_pl.la 37 +%{perl_vendorlib}/pdflib_pl.so* 38 +%{perl_vendorlib}/pdflib_pl.pm 39 40 %files python 41 %defattr(-,root,root,-) 42
43 %endif 44 45 %changelog 46 +* Fri Jul 18 2008 Carsten Schoene <cs@linux-administrator.com> 47 +- change perl install path from sitelib to vendorlib 48 + 49 * Sun Apr 06 2008 Carsten Schoene <cs@linux-administrator.com> 50 - version bump to 7.0.3 51 52 |
||
[+] | Added | PDFlib-Lite-7.0.3_perlvendor.diff ^ |
@@ -0,0 +1,11 @@ +--- configure.orig 2008-07-18 22:49:02.000000000 +0200 ++++ configure 2008-07-18 22:49:12.000000000 +0200 +@@ -8513,7 +8513,7 @@ + WITH_PERL=no + fi + +- PERLLIBDIR=`($PERL -e 'use Config; print $Config{sitearchexp};') 2>/dev/null` ++ PERLLIBDIR=`($PERL -e 'use Config; print $Config{vendorarchexp};') 2>/dev/null` + if test -z "$PERLLIBDIR" -o ! -d "$PERLLIBDIR"; then + echo "$as_me:$LINENO: result: unable to determine perl shared library directory" >&5 + echo "${ECHO_T}unable to determine perl shared library directory" >&6 |