Update source URL in rpm package definition

This commit is contained in:
fnux 2021-11-25 10:14:41 +01:00
parent f7688a5c96
commit 711a9465db
No known key found for this signature in database
GPG Key ID: 4502C902C00A1E12
1 changed files with 6 additions and 3 deletions

9
dist/rpm/ctt.spec vendored
View File

@ -1,10 +1,10 @@
Name: ctt
Version: 1.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Time tracking for geeks
License: GPLv3
URL: https://code.ungleich.ch/ungleich-public/ctt
Source0: %{url}/-/archive/%{version}/ctt-%{version}.tar.gz
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: asciidoc
@ -13,7 +13,7 @@ BuildRequires: asciidoc
Command-line time-tracking tool.
%prep
%autosetup
%autosetup -n %{name}
%build
# Find all *.py files and if their first line is exactly '#!/usr/bin/env python3'
@ -42,5 +42,8 @@ install -Dm644 %{name}.1 -t %{buildroot}%{_mandir}/man1
%{_datadir}/bash-completion/completions/%{name}
%changelog
* Thu Nov 25 2020 Timothée Floure <timothee.floure@ungleich.ch> - 1.2-2
- Update source URL following upstream software forge move.
* Sat Feb 15 2020 Timothée Floure <timothee.floure@ungleich.ch> - 1.2-1
- Let there be package.