Remove yaml (removes %posttrans and %postun from .spec)

This commit is contained in:
Matti Viljanen 2020-03-23 04:12:45 +02:00
parent 98749ef219
commit f669ec6dec
No known key found for this signature in database
GPG key ID: CF32A1495158F888
3 changed files with 1 additions and 47 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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