Accepting request 785256 from home:iznogood:branches:Archiving:Backup

- Switch to using explicit release tag in .service. Also clean up
  the version handling in it, so we avoid the git refs there, as we
  are using the proper released commit.
- Update URL to new homepage, use make_build macro, run
  spec-cleaner to bring spec up to current standards for openSUSE.

OBS-URL: https://build.opensuse.org/request/show/785256
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/timeshift?expand=0&rev=3
This commit is contained in:
2020-03-15 15:51:39 +00:00
committed by Git OBS Bridge
parent 0d95f0de74
commit 38490f03eb
7 changed files with 24 additions and 20 deletions

View File

@@ -3,11 +3,10 @@
<param name="url">https://github.com/teejee2008/timeshift.git</param>
<param name="scm">git</param>
<param name="submodules">enable</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">malcolmlewis@opensuse.org</param>
<param name="revision">refs/tags/v20.03</param>
<param name="filename">timeshift</param>
<param name="versionformat">20.03+git%cd.%h</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/teejee2008/timeshift.git</param>
<param name="changesrevision">cecd294dcaea9bcf282865268dc6667fbeeeddb3</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa54f79549f95e6f704a21ece83ead7b25c28d8fb40010f7380e32b4371b1ec6
size 4806156

3
timeshift-20.03.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e33131215c0e667e37860555ec8a712168faa9518aa5762964d00326e29a956
size 4801036

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Mar 15 10:23:45 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Switch to using explicit release tag in .service. Also clean up
the version handling in it, so we avoid the git refs there, as we
are using the proper released commit.
- Update URL to new homepage, use make_build macro, run
spec-cleaner to bring spec up to current standards for openSUSE.
-------------------------------------------------------------------
Thu Mar 05 12:18:48 UTC 2020 - malcolmlewis@opensuse.org

View File

@@ -1,5 +1,5 @@
name: timeshift
version: 20.03+git20200305.cecd294
version: 20.03
mtime: 1583378893
commit: cecd294dcaea9bcf282865268dc6667fbeeeddb3

View File

@@ -1,6 +1,7 @@
#
# spec file for package timeshift.spec
# spec file for package timeshift
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2017-2020 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -12,16 +13,16 @@
# 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/
#
Name: timeshift
Version: 20.03+git20200305.cecd294
Version: 20.03
Release: 0
URL: http://teejeetech.blogspot.in/
Summary: System restore utility
License: GPL-3.0
License: GPL-3.0-only
URL: https://teejeetech.in/timeshift/
Source0: %{name}-%{version}.tar.xz
Source99: timeshift-rpmlintrc
#PATCH-FIX-OPENSUSE timeshift-fix-timeshift-launcher.patch malcolmlewis@opensuse.org -- Fix `pkexec env` invocation in `timeshift-launcher` is wrong.
@@ -36,10 +37,9 @@ BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(vte-2.91)
Requires: rsync
#Lets just recommend for btrfs as more likely used with other filesystems
Recommends: btrfsprogs
Requires: rsync
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A system restore utility which takes snapshots of the system at regular
@@ -53,7 +53,7 @@ using BTRFS tools.
%autosetup -p1
%build
make
%make_build
%install
%make_install