From dc58da90c5a6d53187f887183003c870d5f923c7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Apr 2019 08:34:53 +0200 Subject: v0.70-rc1 --- qelectrotech.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'qelectrotech.spec') diff --git a/qelectrotech.spec b/qelectrotech.spec index 1a523a2..ce46d68 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -7,8 +7,8 @@ # Please, preserve the changelog entries # #global svnrel 4947 -%global rdate 20180823 -%global upver 0.61 +%global rdate 20190412 +%global upver 0.70rc1 Name: qelectrotech @@ -37,7 +37,7 @@ Epoch: 0 # Upstream version is a float so 0.11 < 0.2 < 0.21 < 0.3 # So use %.2f with upstream acknowledgment # Remember to check rdate and upver macro on each update -Version: 0.61 +Version: 0.70~rc1 %if 0%{?svnrel} Release: 2.svn%{svnrel}%{?dist} %else @@ -70,6 +70,8 @@ BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: cmake(KF5WidgetsAddons) +BuildRequires: cmake(KF5CoreAddons) Requires: qelectrotech-symbols = %{epoch}:%{version}-%{release} %if 0%{?fedora} @@ -248,6 +250,7 @@ echo '%{_datadir}/%{name}/lang/*' >qet.lang cat qet.lang >>qelectrotech.lang +%if 0%{?fedora} < 30 && 0%{?rhel} < 8 %post /usr/bin/update-desktop-database &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor @@ -265,6 +268,7 @@ fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : +%endif %{!?_licensedir:%global license %%doc} @@ -273,7 +277,7 @@ fi %doc CREDIT examples %license LICENSE %{_bindir}/%{name} -%if 0%{?fedora} < 20 +%if 0%{?fedora} < 20 && 0%{?rhel} < 8 %exclude %{_datadir}/appdata/%{name}.appdata.xml %else %{_datadir}/appdata/%{name}.appdata.xml @@ -295,6 +299,9 @@ fi %changelog +* Fri Apr 12 2019 Remi Collet - 0.70~rc1-1 +- update to 0.70rc1 + * Thu Aug 23 2018 Remi Collet - 0.61-1 - update to 0.61 -- cgit