Hello community,

here is the log from the commit of package serd for openSUSE:Factory checked in 
at 2018-01-16 09:26:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/serd (Old)
 and      /work/SRC/openSUSE:Factory/.serd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "serd"

Tue Jan 16 09:26:00 2018 rev:12 rq:562463 version:0.28.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/serd/serd.changes        2017-11-09 
13:39:06.408044395 +0100
+++ /work/SRC/openSUSE:Factory/.serd.new/serd.changes   2018-01-16 
09:26:01.791568554 +0100
@@ -1,0 +2,12 @@
+Mon Jan  8 09:12:15 UTC 2018 - [email protected]
+
+- Tweak a bit more py3 dep to not pull whole python but just base
+- Fix group on one of the subpkgs
+
+-------------------------------------------------------------------
+Fri Jan  5 12:49:59 UTC 2018 - [email protected]
+
+- Remove python-base dependency and change headers in python scripts
+  to python3
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ serd.spec ++++++
--- /var/tmp/diff_new_pack.wbZ2uY/_old  2018-01-16 09:26:02.587531315 +0100
+++ /var/tmp/diff_new_pack.wbZ2uY/_new  2018-01-16 09:26:02.587531315 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package serd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -29,16 +29,14 @@
 BuildRequires:  doxygen
 BuildRequires:  graphviz
 BuildRequires:  pkgconfig
-BuildRequires:  python-base
-BuildRequires:  python3
+BuildRequires:  python3-base
 
 %description
 A lightweight C library for RDF syntax  which supports reading and writing 
Turtle and NTriples.
 
 %package        -n serdi
 Summary:        Read and write RDF syntax
-# FIXME: use correct group, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
-Group:          Productivity/Editors/Other
+Group:          Productivity/Text/Editors
 
 %description    -n serdi
 Read and write RDF syntax.
@@ -62,25 +60,27 @@
 
 %prep
 %setup -q
+#Convert all file headers to python3
+for i in `grep -rl "/usr/bin/env python"`;do sed -i 
'1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
 
 %build
 export CFLAGS='%{optflags}'
 export CXXFLAGS='%{optflags}'
-python3 ./waf configure \
+./waf configure \
   --prefix=%{_prefix} \
   --libdir=%{_libdir} \
   --docdir=%{_defaultdocdir} \
   --test \
   --docs
-# waf only understands -j, so do not use smp_mflags
-python3 ./waf build -v %{?_smp_mflags}
+
+./waf build -v %{?_smp_mflags}
 
 %install
-python3 ./waf install --destdir=%{?buildroot}
+./waf install --destdir=%{?buildroot}
 rm -rf %{buildroot}%{_docdir}/serd-0/html
 
 %check
-python3 ./waf test
+./waf test
 
 %post -n libserd-0-%{sover} -p /sbin/ldconfig
 %postun -n libserd-0-%{sover} -p /sbin/ldconfig


Reply via email to