Hello community,

here is the log from the commit of package avogadro for openSUSE:Factory 
checked in at 2019-04-02 09:22:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/avogadro (Old)
 and      /work/SRC/openSUSE:Factory/.avogadro.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "avogadro"

Tue Apr  2 09:22:41 2019 rev:28 rq:690347 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/avogadro/avogadro.changes        2018-03-09 
10:46:43.390403309 +0100
+++ /work/SRC/openSUSE:Factory/.avogadro.new.25356/avogadro.changes     
2019-04-02 09:22:46.144728589 +0200
@@ -1,0 +2,13 @@
+Tue Mar 26 13:29:27 UTC 2019 - Atri B <[email protected]>
+
+- Add avogadro-port-to-eigen3.patch: Pick commits from upstream
+  to get avogadro building with eigen3; replace libeigen2-devel
+  BuildRequires by eigen3-devel.
+- Use cmake macros for build (%%cmake_build) and install
+  (%%cmake_install).
+- Use autosetup to setup source and apply patches in one go.
+- Minor specfile cleanups:
+  * Use %%license to package COPYING file.
+  * Do away with defattrs for file lists.
+
+-------------------------------------------------------------------

New:
----
  avogadro-port-to-eigen3.patch

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

Other differences:
------------------
++++++ avogadro.spec ++++++
--- /var/tmp/diff_new_pack.xoZ9s3/_old  2019-04-02 09:22:46.940729122 +0200
+++ /var/tmp/diff_new_pack.xoZ9s3/_new  2019-04-02 09:22:46.940729122 +0200
@@ -36,6 +36,8 @@
 Patch5:         0005-Link-with-libm.patch
 # PATCH-FIX-OPENSUSE install libmsym in .../lib64... [email protected]
 Patch6:         0006-Fix-libmsym-libdir-for-64bit.patch
+# PATCH-FIX-UPSTREAM avogadro-port-to-eigen3.patch [email protected] -- 
Cherry pick commits from upstream to get avogadro building with eigen3
+Patch7:         avogadro-port-to-eigen3.patch
 
 %if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_python-devel
@@ -47,13 +49,13 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  glew-devel
-BuildRequires:  libeigen2-devel
 BuildRequires:  libopenbabel-devel >= 2.3.1
 BuildRequires:  libqt4-devel >= 4.5.1
 BuildRequires:  python-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-qt4-devel
 BuildRequires:  python-sip-devel
+BuildRequires:  pkgconfig(eigen3)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(x11)
@@ -109,13 +111,7 @@
 a powerful plugin architecture.
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%autosetup -p1
 
 %build
 %cmake \
@@ -125,11 +121,11 @@
        -DENABLE_PYTHON=ON \
        -DPYTHON_EXECUTABLE=%{_bindir}/python2 \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo 
-make %{?_smp_mflags}
+
+%cmake_build
 
 %install
-cd build
-%makeinstall
+%cmake_install
 
 mkdir -p %{buildroot}/%{_datadir}/qt4/mkspecs/
 mv %{buildroot}%{_prefix}/features %{buildroot}/%{_datadir}/qt4/mkspecs/
@@ -165,8 +161,8 @@
 %postun -n libavogadro1 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README
+%doc AUTHORS README
+%license COPYING
 %{_mandir}/man1/avogadro.1.gz
 %{_mandir}/man1/avopkg.1.gz
 %{_bindir}/avogadro
@@ -192,7 +188,6 @@
 %{_datadir}/libavogadro/extensionScripts/example.py
 
 %files devel
-%defattr(-,root,root,-)
 %dir %{_includedir}/avogadro
 %{_includedir}/avogadro/*.h
 %dir %{_includedir}/libmsym
@@ -209,11 +204,9 @@
 %{_datadir}/qt4/mkspecs/features/avogadro.prf
 
 %files -n libavogadro1
-%defattr(-,root,root,-)
 %{_libdir}/*.so.*
 
 %files -n python-avogadro
-%defattr(-,root,root,-)
 # installed with python support
 %{python_sitearch}/Avogadro.so
 

++++++ avogadro-port-to-eigen3.patch ++++++
++++ 809 lines (skipped)



Reply via email to