Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdiskmark for openSUSE:Factory 
checked in at 2022-03-24 22:57:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdiskmark (Old)
 and      /work/SRC/openSUSE:Factory/.kdiskmark.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdiskmark"

Thu Mar 24 22:57:25 2022 rev:6 rq:964365 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdiskmark/kdiskmark.changes      2021-11-01 
18:36:01.121346292 +0100
+++ /work/SRC/openSUSE:Factory/.kdiskmark.new.1900/kdiskmark.changes    
2022-03-24 22:57:47.704238638 +0100
@@ -1,0 +2,6 @@
+Sun Mar 20 14:42:32 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Spec cleanup.
+- Use %_libexecdir where needed.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ kdiskmark.spec ++++++
--- /var/tmp/diff_new_pack.ZLj2cp/_old  2022-03-24 22:57:48.200239117 +0100
+++ /var/tmp/diff_new_pack.ZLj2cp/_new  2022-03-24 22:57:48.208239125 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdiskmark
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2020, Dmitry Sidorov <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,42 +27,46 @@
 BuildRequires:  extra-cmake-modules
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  libqt5-linguist-devel
-BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  update-desktop-files
-BuildRequires:  kauth-devel
+BuildRequires:  cmake(KF5Auth)
+BuildRequires:  cmake(Qt5LinguistTools)
+BuildRequires:  cmake(Qt5Widgets)
 Requires:       fio
 
 %description
 KDiskMark is an HDD and SSD benchmark tool with a very friendly graphical user 
interface.
 
 %prep
-%setup -n KDiskMark-%{version} -q
+%setup -q -n KDiskMark-%{version}
 
 %build
-%cmake \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_CXX_FLAGS="-Wno-error" \
-    -DCMAKE_CXXFLAGS="-Wno-error"
+%cmake_kf5 -d build
 %cmake_build
 
 %install
-%cmake_install
+%kf5_makeinstall -C build
+
 %suse_update_desktop_file -i %{name} System Filesystem
 %find_lang %{name} --with-qt
 
 %files
 %license LICENSE
 %doc README.md
-%{_bindir}/%{name}
-%{_kf5_libdir}/libexec/
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/translations
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor
-%{_datadir}/icons/hicolor/*/*/*
+%{_kf5_applicationsdir}/%{name}.desktop
+%{_kf5_bindir}/%{name}
+%{_kf5_dbuspolicydir}/org.jonmagon.kdiskmark.conf
+%{_kf5_iconsdir}/hicolor
+%{_kf5_iconsdir}/hicolor/*/*/*
+%if %{pkg_vcmp kf5-filesystem >= 20220307}
+%{_libexecdir}/kauth/kdiskmark_helper
+%else
+%dir %{_kf5_libdir}/libexec/kauth
+%{_kf5_libdir}/libexec/kauth/kdiskmark_helper
+%endif
+%dir %{_kf5_sharedir}/%{name}
+%{_kf5_sharedir}/%{name}/translations
 %{_kf5_sharedir}/dbus-1/system-services/org.jonmagon.kdiskmark.service
-%{_kf5_dbuspolicydir}//org.jonmagon.kdiskmark.conf
 %{_kf5_sharedir}/polkit-1/actions/org.jonmagon.kdiskmark.policy
 
+
 %changelog

Reply via email to