From 44948a1290d4a8e97699853173cda6fa91c81faa3913024c596dbf624dd6a98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 23 Oct 2018 08:13:00 +0000 Subject: [PATCH] - Use %license macros OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=31 --- datovka.changes | 5 +++++ datovka.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/datovka.changes b/datovka.changes index 29fa142..bd0bdb4 100644 --- a/datovka.changes +++ b/datovka.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 23 08:12:36 UTC 2018 - Tomáš Chvátal + +- Use %license macros + ------------------------------------------------------------------- Thu Sep 13 08:17:12 UTC 2018 - Tomáš Chvátal diff --git a/datovka.spec b/datovka.spec index a8de6eb..0913dba 100644 --- a/datovka.spec +++ b/datovka.spec @@ -1,7 +1,7 @@ # # spec file for package datovka # -# Copyright (c) 2016 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 @@ -12,7 +12,7 @@ # 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/ # @@ -20,15 +20,16 @@ Name: datovka Version: 4.11.0 Release: 0 Summary: Library to access Czech eGov system "Datove schranky" -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Libraries/Python -Url: https://www.datovka.cz +URL: https://www.datovka.cz Source0: https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%{version}.tar.xz Source1: https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%{version}.tar.xz.sha256 # PATCH-FIX-UPSTREAM: remove some issues with current .pro file Patch0: datovka-fix-pro.patch BuildRequires: libqt5-linguist BuildRequires: openssl-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 @@ -38,16 +39,15 @@ BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 BuildRequires: pkgconfig(libisds) >= 0.10.8 Requires: libqt5_sql_backend +Recommends: %{name}-lang +# Included inside with different approach +Obsoletes: python-dslib %if 0%{?suse_version} < 1330 Requires(post): hicolor-icon-theme Requires(post): update-desktop-files Requires(postun): hicolor-icon-theme Requires(postun): update-desktop-files %endif -Recommends: %{name}-lang -# Included inside with different approach -Obsoletes: python-dslib -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library for accessing ISDS (Informační system datovych schranek/ @@ -90,8 +90,8 @@ rm -rf %{buildroot}%{_datadir}/datovka/doc %endif %files -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog +%license COPYING +%doc AUTHORS ChangeLog %{_bindir}/datovka %{_datadir}/applications/datovka.desktop %dir %{_datadir}/appdata