Logoj0ke.net Open Build Service > Projects > home:netmax > PDFlib-Lite > Changes
Sign Up | Log In

Changes of Revision 47

[-] Changed PDFlib-Lite.spec
x
 
1
@@ -7,6 +7,7 @@
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
@@ -24,7 +25,7 @@
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
@@ -129,7 +130,7 @@
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
@@ -152,10 +153,10 @@
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
@@ -205,6 +206,9 @@
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 ^