From cf4a18d7314de7500dd94209787c405f738334be Mon Sep 17 00:00:00 2001 From: hillwood <> Date: Jun 21 2021 18:50:30 +0000 Subject: Update deepin-network-utils to version 5.4.6 / rev 3 via SR 901179 https://build.opensuse.org/request/show/901179 by user hillwood + dimstar_suse - Update to version 5.4.6 * Fix compiler warnings - Use find_lang macro (forwarded request 900401 from hillwood) --- diff --git a/.files b/.files index 4ae56df..5f2b992 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 2a82bcb..64a90ac 100644 --- a/.rev +++ b/.rev @@ -18,4 +18,14 @@ * Fix bugs 891661 + + ad1c0789da4f394925296a160dfe9555 + 5.4.6 + + dimstar_suse + - Update to version 5.4.6 + * Fix compiler warnings +- Use find_lang macro (forwarded request 900401 from hillwood) + 901179 + diff --git a/dde-network-utils-5.4.5.tar.gz b/dde-network-utils-5.4.5.tar.gz deleted file mode 120000 index 3edfa7f..0000000 --- a/dde-network-utils-5.4.5.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreig6malmlw7g24cn5uwkpw4r4hcohk5eo3f5jjcvft644e6muymowm \ No newline at end of file diff --git a/dde-network-utils-5.4.6.tar.gz b/dde-network-utils-5.4.6.tar.gz new file mode 120000 index 0000000..17f4920 --- /dev/null +++ b/dde-network-utils-5.4.6.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreig6gefw2yzxjrkbnc7nppnopyi23xkcytr57ex5mx5jwmg223tfli \ No newline at end of file diff --git a/deepin-network-utils.changes b/deepin-network-utils.changes index d4c038e..162d5a2 100644 --- a/deepin-network-utils.changes +++ b/deepin-network-utils.changes @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jun 8 17:00:09 UTC 2021 - Ferdinand Thiessen + +- Update to version 5.4.6 + * Fix compiler warnings +- Use find_lang macro + +------------------------------------------------------------------- Tue May 4 12:19:03 UTC 2021 - Hillwood Yang - Update version to 5.4.5 diff --git a/deepin-network-utils.spec b/deepin-network-utils.spec index c81efc7..b87f844 100644 --- a/deepin-network-utils.spec +++ b/deepin-network-utils.spec @@ -1,7 +1,7 @@ # # spec file for package deepin-network-utils # -# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 Hillwood Yang # # All modifications and additions to the file contributed by third parties @@ -13,19 +13,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name dde-network-utils %define sover 1 Name: deepin-network-utils -Version: 5.4.5 +Version: 5.4.6 Release: 0 License: GPL-3.0+ Summary: Deepin Network Utils -Url: https://github.com/linuxdeepin/dde-network-utils Group: Productivity/Networking/System +URL: https://github.com/linuxdeepin/dde-network-utils Source: https://github.com/linuxdeepin/dde-network-utils/archive/%{version}/%{_name}-%{version}.tar.gz BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtdeclarative-devel @@ -40,7 +40,6 @@ BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(gio-qt) BuildRequires: pkgconfig(gsettings-qt) BuildRequires: cmake -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Deepin Network Utils is an application repackage the DBus data which is provided @@ -72,30 +71,36 @@ sed -i 's|$$PREFIX/lib|$$LIBDIR|g' dde-network-utils/dde-network-utils.pro %build %qmake5 PREFIX=%{_prefix} LIBDIR=%{_libdir} -make %{?_smp_mflags} +%make_build %install %qmake5_install +%find_lang %{_name} --with-qt %post -n lib%{_name}%{sover} -p /sbin/ldconfig - %postun -n lib%{_name}%{sover} -p /sbin/ldconfig +# Please do not drop main package, the language package forcedly depends the main package %files %defattr(-,root,root) %doc README.md CHANGELOG.md %license LICENSE %files -n lib%{_name}%{sover} -%defattr(-,root,root) %{_libdir}/lib%{_name}.so.* -%files lang -%defattr(-,root,root) -%{_datadir}/%{_name} +%files lang -f %{_name}.lang +%dir %{_datadir}/%{_name} +%dir %{_datadir}/%{_name}/translations +%{_datadir}/%{_name}/translations/dde-network-utils.qm +# unusual languages, currently not correctly detected by find_lang +%lang(ast) %{_datadir}/%{_name}/translations/dde-network-utils_ast.qm +%lang(kab) %{_datadir}/%{_name}/translations/dde-network-utils_kab.qm +%lang(pam) %{_datadir}/%{_name}/translations/dde-network-utils_pam.qm %files devel -%defattr(-,root,root) +%license LICENSE +%doc README.md CHANGELOG.md %{_includedir}/libddenetworkutils %{_libdir}/lib%{_name}.so %{_libdir}/pkgconfig/%{_name}.pc