Hello community,

here is the log from the commit of package nlopt for openSUSE:Factory checked 
in at 2013-09-11 12:57:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nlopt (Old)
 and      /work/SRC/openSUSE:Factory/.nlopt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nlopt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nlopt/nlopt.changes      2013-07-17 
09:26:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nlopt.new/nlopt.changes 2013-09-11 
12:57:04.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Sep 10 22:20:20 UTC 2013 - [email protected]
+
+- install python parts to sitearch (pythondir.patch)
+
+-------------------------------------------------------------------

New:
----
  pythondir.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nlopt.spec ++++++
--- /var/tmp/diff_new_pack.Ifuxs8/_old  2013-09-11 12:57:05.000000000 +0200
+++ /var/tmp/diff_new_pack.Ifuxs8/_new  2013-09-11 12:57:05.000000000 +0200
@@ -28,6 +28,7 @@
 Patch0:         nlopt-2.3-no-return-in-nonvoid-function.patch
 # PATCH-FIX-UPSTREAM nlopt-2.3-pkgconfig.patch
 Patch1:         nlopt-2.3-pkgconfig.patch
+Patch2:         pythondir.patch
 BuildRequires:  gcc-c++
 BuildRequires:  hdf5-devel
 BuildRequires:  octave-devel
@@ -92,6 +93,7 @@
 %setup -q
 %patch0 -p1
 %patch1
+%patch2 -p1
 
 %build
 %configure --enable-shared \
@@ -102,12 +104,6 @@
 %makeinstall
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
-%ifarch x86_64
-test -d %{buildroot}%{_prefix}/lib && \
-     mv %{buildroot}%{_prefix}/lib/python*/* %{buildroot}%{python_sitearch} && 
\
-     rm -rf %{buildroot}%{_prefix}/lib
-%endif
-
 %post -n lib%{name}0 -p /sbin/ldconfig
 
 %postun -n lib%{name}0 -p /sbin/ldconfig

++++++ pythondir.patch ++++++
Index: nlopt-2.3/swig/Makefile.in
===================================================================
--- nlopt-2.3.orig/swig/Makefile.in
+++ nlopt-2.3/swig/Makefile.in
@@ -492,12 +492,12 @@ install-pythonPYTHON: $(python_PYTHON)
        done; \
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
        while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pythondir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(pythondir)" || exit $$?; \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pyexecdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(pyexecdir)" || exit $$?; \
        done || exit $$?; \
        if test -n "$$dlist"; then \
          $(am__py_compile) --destdir "$(DESTDIR)" \
-                           --basedir "$(pythondir)" $$dlist; \
+                           --basedir "$(pyexecdir)" $$dlist; \
        else :; fi
 
 uninstall-pythonPYTHON:
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to