Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
oneplus
:
cheeseburger
>
sfos-upgrade
> _service:tar_git:sfos-upgrade.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:sfos-upgrade.spec of Package sfos-upgrade
Name: sfos-upgrade Summary: Scripts for safe and automated upgrading of SailfishOS with logging Version: 3.8.2 # Stop evaluating the Release tag content (only set it) and cease including it in git tags since v3.6.0, # in order to satisfy OBS' git_tar. Consequently switch to a three field semantic versioning scheme for # releases and their git tags. # Hence any changes to the spec file now always trigger an increase of the bug fix release number, i.e. # the third field of the Version. # The Release tag is now (ab)used to merely indicate the estimated release quality by setting it # to {alpha, beta, stable} with a natural number >= 1 directly appended (e.g. "beta3"). Note # that no other identifiers shall be used. Release: stable15 Group: System/Base Distribution: SailfishOS Vendor: olf Packager: olf License: LGPL-2.1-only URL: https://github.com/Olf0/%{name} Source: https://github.com/Olf0/%{name}/archive/%{version}/%{name}-%{version}.tar.gz # rpmbuild (as of v4.14.1) handles the Icon tag awkwardly and in contrast to the Source tag(s): # It only accepts a GIF or XPM file (a path is stripped to its basename) in the SOURCES directory # (but not inside a tarball there)! Successfully tested GIF89a and XPMv3, but an XPM icon results # in bad visual quality and large file size. # Hence only to be used, when the file (or a symlink to it) is put there: #Icon: up.256x256.gif BuildArch: noarch Requires: ssu Requires: sailfish-version Requires: curl %description %{summary} Usage: sfos-upgrade [<version>|--verify|--help] With a version number provided as parameter it sets SSU to this version and in release mode before upgrading. This is the regular use case. Without a version number it retrieves the one set for SSU to perform slightly relaxed checks, but does not alter SSU's settings for upgrading. %prep %setup %build %install mkdir -p %{buildroot}%{_bindir} cp usr/bin/* %{buildroot}%{_bindir}/ %files %defattr(0755,root,root,-) %{_bindir}/%{name} %{_bindir}/post_%{name} %{_bindir}/tidy_log-dupes