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

9
dist/rpm/ctt.spec vendored
View file

@ -1,10 +1,10 @@
Name: ctt Name: ctt
Version: 1.2 Version: 1.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Time tracking for geeks Summary: Time tracking for geeks
License: GPLv3 License: GPLv3
URL: https://code.ungleich.ch/ungleich-public/ctt 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 BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: asciidoc BuildRequires: asciidoc
@ -13,7 +13,7 @@ BuildRequires: asciidoc
Command-line time-tracking tool. Command-line time-tracking tool.
%prep %prep
%autosetup %autosetup -n %{name}
%build %build
# Find all *.py files and if their first line is exactly '#!/usr/bin/env python3' # 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} %{_datadir}/bash-completion/completions/%{name}
%changelog %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 * Sat Feb 15 2020 Timothée Floure <timothee.floure@ungleich.ch> - 1.2-1
- Let there be package. - Let there be package.