]> git.pld-linux.org Git - packages/python-PIL.git/commitdiff
- use standard python macros
authorwrobell <wrobell@pld-linux.org>
Mon, 12 Nov 2001 15:15:11 +0000 (15:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-PIL.spec -> 1.21

python-PIL.spec

index 18ef5a0f2acfbe02d11a5f7e4101da8a608524e8..fa424626356f78096127a12cd1a43540b759bbf5 100644 (file)
@@ -64,12 +64,12 @@ cd ..
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitedir}/%{module} \
-       $RPM_BUILD_ROOT/%{_includedir}/python%{py_ver}
+       $RPM_BUILD_ROOT/%{py_incdir}
 
 echo %{module} > $RPM_BUILD_ROOT%{py_sitedir}/%{module}.pth
 install *.so $RPM_BUILD_ROOT%{py_sitedir}/%{module}
 install PIL/* $RPM_BUILD_ROOT%{py_sitedir}/%{module}
-install libImaging/Im{Config,Platform,aging}.h $RPM_BUILD_ROOT/%{_includedir}/python%{py_ver}
+install libImaging/Im{Config,Platform,aging}.h $RPM_BUILD_ROOT/%{py_incdir}
 
 ln -sf %{module} $RPM_BUILD_ROOT%{py_sitedir}/PIL
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
@@ -92,4 +92,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/python%{py_ver}/*.h
+%{py_incdir}/*.h
This page took 0.084304 seconds and 4 git commands to generate.