]> git.pld-linux.org Git - packages/python3.git/commitdiff
- updated noarch_to_datadir patch to install config to arch-dependent dir and libpyth...
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Apr 2011 17:55:35 +0000 (17:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python3-noarch_to_datadir.patch -> 1.5
    python3.spec -> 1.45

python3-noarch_to_datadir.patch
python3.spec

index 15c92cdd123dbb1030f6048f7663111bd9c900e8..9da69d2617fb5d6f21b0e1a3ee5826a29212bc4e 100644 (file)
  ABIFLAGS=     @ABIFLAGS@
  
  # Detailed destination directories
+@@ -1036,7 +1036,7 @@
+ # Install the library and miscellaneous stuff needed for extending/embedding
+ # This goes into $(exec_prefix)
+-LIBPL=                $(LIBDEST)/config-$(LDVERSION)
++LIBPL=                $(BINLIBDEST)/config-$(LDVERSION)
+ # pkgconfig directory
+ LIBPC=                $(LIBDIR)/pkgconfig
+@@ -1055,8 +1055,8 @@
+                       if test "$(SO)" = .dll; then \
+                               $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
+                       else \
+-                              $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
+-                              $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
++                              $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBDIR)/$(LIBRARY) ; \
++                              $(RANLIB) $(DESTDIR)$(LIBDIR)/$(LIBRARY) ; \
+                       fi; \
+               else \
+                       echo Skip install of $(LIBRARY) - use make frameworkinstall; \
 --- Python-3.0.1/Lib/distutils/tests/test_install.py.wig       2009-02-25 11:42:38.000000000 +0100
 +++ Python-3.0.1/Lib/distutils/tests/test_install.py   2009-02-25 11:51:23.000000000 +0100
 @@ -38,7 +38,7 @@ class InstallTestCase(support.TempdirMan
index 60add422e2e43212420d66b462fc2b60bab8a7e8..6cac67094cb772b28605ce90e6d2182297f11298 100644 (file)
@@ -878,7 +878,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files static
 %defattr(644,root,root,755)
-%{py_libdir}/config-%{py_abi}/libpython%{py_abi}.a
+%{_libdir}/libpython%{py_abi}.a
 
 %files examples
 %defattr(644,root,root,755)
This page took 0.795905 seconds and 4 git commands to generate.