From f669ec6dec2de9b43642752d4d72f4f1388731e3 Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Mon, 23 Mar 2020 04:12:45 +0200 Subject: [PATCH] Remove yaml (removes %posttrans and %postun from .spec) --- harbour-batterybuddy.pro | 1 - rpm/harbour-batterybuddy.spec | 2 +- rpm/harbour-batterybuddy.yaml | 45 ----------------------------------- 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 rpm/harbour-batterybuddy.yaml diff --git a/harbour-batterybuddy.pro b/harbour-batterybuddy.pro index cf3d795..e0d3c7d 100644 --- a/harbour-batterybuddy.pro +++ b/harbour-batterybuddy.pro @@ -36,7 +36,6 @@ DISTFILES += qml/harbour-batterybuddy.qml \ qml/pages\LicensePage.qml \ qml/cover/CoverPage.qml \ rpm/harbour-batterybuddy.spec \ - rpm/harbour-batterybuddy.yaml \ service/clear-write-permissions.sh \ service/harbour-batterybuddy.service \ service/set-write-permissions.sh \ diff --git a/rpm/harbour-batterybuddy.spec b/rpm/harbour-batterybuddy.spec index 725e857..44809b4 100644 --- a/rpm/harbour-batterybuddy.spec +++ b/rpm/harbour-batterybuddy.spec @@ -16,7 +16,7 @@ Summary: Battery Buddy Version: 2.1 Release: 2 Group: Qt/Qt -License: LICENSE +License: GPLv3 URL: http://example.org/ Source0: %{name}-%{version}.tar.bz2 Source100: harbour-batterybuddy.yaml diff --git a/rpm/harbour-batterybuddy.yaml b/rpm/harbour-batterybuddy.yaml deleted file mode 100644 index 9087b92..0000000 --- a/rpm/harbour-batterybuddy.yaml +++ /dev/null @@ -1,45 +0,0 @@ -Name: harbour-batterybuddy -Summary: Battery Buddy -Version: 1.3 -Release: 1 -# The contents of the Group field should be one of the groups listed here: -# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS -Group: Qt/Qt -URL: http://example.org/ -License: LICENSE -# This must be generated before uploading a package to a remote build service. -# Usually this line does not need to be modified. -Sources: -- '%{name}-%{version}.tar.bz2' -Description: | - Short description of my Sailfish OS Application -Configure: none -# The qtc5 builder inserts macros to allow QtCreator to have fine -# control over qmake/make execution -Builder: qtc5 - -# This section specifies build dependencies that are resolved using pkgconfig. -# This is the preferred way of specifying build dependencies for your package. -PkgConfigBR: - - sailfishapp >= 1.0.2 - - Qt5Core - - Qt5Qml - - Qt5Quick - -# Build dependencies without a pkgconfig setup can be listed here -# PkgBR: -# - package-needed-to-build - -# Runtime dependencies which are not automatically detected -Requires: - - sailfishsilica-qt5 >= 0.10.9 - -# All installed files -Files: - - '%{_bindir}' - - '%{_datadir}/%{name}' - - '%{_datadir}/applications/%{name}.desktop' - - '%{_datadir}/icons/hicolor/*/apps/%{name}.png' - -# For more information about yaml and what's supported in Sailfish OS -# build system, please see https://wiki.merproject.org/wiki/Spectacle