Hello community,

here is the log from the commit of package elektra for openSUSE:Factory checked 
in at 2017-02-07 12:03:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elektra (Old)
 and      /work/SRC/openSUSE:Factory/.elektra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "elektra"

Changes:
--------
--- /work/SRC/openSUSE:Factory/elektra/elektra.changes  2017-02-03 
17:36:17.608655295 +0100
+++ /work/SRC/openSUSE:Factory/.elektra.new/elektra.changes     2017-02-07 
12:03:07.348550238 +0100
@@ -1,0 +2,11 @@
+Thu Jan 12 12:00:00 UTC 2017 - k...@gmx.de
+
+- fix module loading
+
+-------------------------------------------------------------------
+Tue Jan 10 02:44:59 UTC 2017 - sfl...@suse.de
+
+- Replace 0001-desktop-category.patch with %suse_update_desktop_file
+- Correct desktop file group to be in line with openSUSE
+
+-------------------------------------------------------------------

Old:
----
  0001-desktop-category.patch

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

Other differences:
------------------
++++++ elektra.spec ++++++
--- /var/tmp/diff_new_pack.jMq3KK/_old  2017-02-07 12:03:08.016455752 +0100
+++ /var/tmp/diff_new_pack.jMq3KK/_new  2017-02-07 12:03:08.020455187 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package elektra
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -56,14 +56,13 @@
 BuildRequires:  libqt5-qtsvg-devel
 BuildRequires:  libyajl-devel
 BuildRequires:  python3-devel
+BuildRequires:  update-desktop-files
 BuildRequires:  systemd-logger
 #BuildRequires:  lua-devel
 #BuildRequires:  python
 #BuildRequires:  python-devel
 #BuildRequires:  swig
 
-Patch:          0001-desktop-category.patch
-
 Summary:        A key/value pair database to store software configurations
 License:        BSD-3-Clause
 Group:          System/Libraries
@@ -166,7 +165,6 @@
 
 %prep
 %setup -q
-%patch -p1
 
 %build
 export SUSE_ASNEEDED=0
@@ -189,16 +187,19 @@
 make %{?_smp_mflags}
 
 %install
+%suse_update_desktop_file -r org.libelektra.elektra-qt-editor 
"Settings;DesktopSettings;"
 %make_install -C build
 # Remove statically linked kdb
 #rm $RPM_BUILD_ROOT%{_bindir}/kdb-static
 # not known by any package?
 rm -r $RPM_BUILD_ROOT%{_datadir}/zsh/vendor-completions/
+# add elektra modules paths
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
+echo "%{_libdir}/elektra%{api}" > 
$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/elektra.conf
 
 %post -n lib%{name}%{api}
 /sbin/ldconfig
 # activate dbus messages on db changes
-export LD_LIBRARY_PATH=%{_libdir}/elektra%{api}/:$LD_LIBRARY_PATH
 %{_bindir}/kdb global-mount dbus || :
 
 %postun -n lib%{name}%{api} -p /sbin/ldconfig
@@ -221,6 +222,7 @@
 %{_libdir}/elektra%{api}/*elektra-[b-z]*.so
 %dir %{_datadir}/doc/elektra
 %{_datadir}/doc/elektra/*
+%{_sysconfdir}/ld.so.conf.d/elektra.conf
 
 %if 0%{?use_qt5} > 0
 %files -n %{name}-qt-gui


Reply via email to