Hello community,

here is the log from the commit of package gl2ps for openSUSE:Factory checked 
in at 2015-09-08 17:42:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gl2ps (Old)
 and      /work/SRC/openSUSE:Factory/.gl2ps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gl2ps"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gl2ps/gl2ps.changes      2013-04-05 
07:35:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gl2ps.new/gl2ps.changes 2015-09-08 
17:46:47.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep  4 11:14:26 UTC 2015 - [email protected]
+
+- Use %cmake macro
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gl2ps.spec ++++++
--- /var/tmp/diff_new_pack.SzwVTx/_old  2015-09-08 17:46:48.000000000 +0200
+++ /var/tmp/diff_new_pack.SzwVTx/_new  2015-09-08 17:46:48.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gl2ps
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %define so_ver 1
-
 Name:           gl2ps
 Version:        1.3.8
 Release:        0
@@ -32,6 +31,7 @@
 BuildRequires:  freeglut-devel
 BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?sles_version}
 BuildRequires:  Mesa-devel
 %else
@@ -41,7 +41,6 @@
 BuildRequires:  libXi-devel
 BuildRequires:  libXmu-devel
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 GL2PS is a C library providing high quality vector output for any OpenGL
@@ -93,20 +92,11 @@
 %patch0
 
 %build
-mkdir build
-cd build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-__libsuffix=$(echo %{_lib} | cut -b4-)
- cmake \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DLIB_SUFFIX="$__libsuffix" \
- -DCMAKE_BUILD_TYPE=release ..
-make %{?_smp_mflags} VERBOSE=1
-cd ..
+%cmake
+make 
 
 %install
-make DESTDIR=%{buildroot} install -C build
+%cmake_install
 # Remove static libraries
 rm -f %{buildroot}%{_libdir}/libgl2ps.a
 # Remove doc files (they are installed in the %%files section)


Reply via email to