![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package libstoragemgmt for openSUSE:Factory checked in at 2015-05-15 07:44:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old) and /work/SRC/openSUSE:Factory/.libstoragemgmt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libstoragemgmt" Changes: -------- --- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes 2015-04-27 22:08:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes 2015-05-15 07:44:50.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 14 06:04:42 UTC 2015 - nwang@suse.com + +- Add conditions for libyajl and macro tmpfiles_create to + support build against SLE12. + +------------------------------------------------------------------- @@ -30 +36 @@ -- Initial package version 1.1.0 +- Initial package version 1.1.0 for Fate#314409. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstoragemgmt.spec ++++++ --- /var/tmp/diff_new_pack.rIAMoy/_old 2015-05-15 07:44:51.000000000 +0200 +++ /var/tmp/diff_new_pack.rIAMoy/_new 2015-05-15 07:44:51.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libstoragemgmt # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,12 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) +%if 0%{?suse_version} <= 1315 +# For SLE12 +BuildRequires: libyajl-devel +%else BuildRequires: pkgconfig(yajl) +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %systemd_requires %py_requires @@ -199,7 +204,12 @@ %post %service_add_post %{name}.service %udev_rules_update +%if 0%{?suse_version} <= 1315 +# For SLE12 +systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf >/dev/null 2>&1 || : +%else %tmpfiles_create %{_tmpfilesdir}/%{name}.conf +%endif %preun %service_del_preun %{name}.service