public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bup] f45: Simplify SourceURL handling to only use the %gittag macro
@ 2026-10-23 0:35
0 siblings, 0 replies; only message in thread
From: @ 2026-10-23 0:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bup
Branch : f45
Commit : 24b46334709554e51a56a9a7a542f992cb8281e5
Author : Tadej Janež <tadej.j@nez.si>
Date : 2018-07-27T22:30:09+02:00
Stats : +5/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bup/c/24b46334709554e51a56a9a7a542f992cb8281e5?branch=f45
Log:
Simplify SourceURL handling to only use the %gittag macro
Replace %{name} in SourceURL with bup since the SourceURL won't change
even if somebody renames the package.
---
diff --git a/bup.spec b/bup.spec
index a4c927a..6e0b7cf 100644
--- a/bup.spec
+++ b/bup.spec
@@ -13,12 +13,10 @@ cat << 'EOF' > %2\
%{expand:%(cat %1)}\
EOF
-%global commit0 1ac1aa05017832ee731461aa382d89d0847c582c
-%global gittag0 0.29.1
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global gittag 0.29.1
Name: bup
-Version: %{gittag0}
+Version: %{gittag}
Release: 1%{?dist}
Summary: Very efficient backup system based on the git packfile format
@@ -29,7 +27,7 @@ Summary: Very efficient backup system based on the git packfile format
# - definition of relpath() function in wvtest.py: Python License
License: LGPLv2 and BSD and Python
URL: https://bup.github.io/
-Source0: https://github.com/%{name}/%{name}/archive/%{gittag0}/%{name}-%{version}.tar.gz
+Source0: https://github.com/bup/bup/archive/%{gittag}/bup-%{version}.tar.gz
Source1: README.Fedora.md
Source2: bup-web.service
Source3: README-bup-web.Fedora.md
@@ -205,6 +203,8 @@ install -p -m 0644 note/*.md %{buildroot}%{_pkgdocdir}
- Update to version 0.29.1
- Add patches that backport fixes for test-rm tests that make them work with
older and newer versions of git
+- Simplify SourceURL handling to only use the %%gittag macro (renamed from
+ %%gittag0)
* Sat Jul 21 2018 Tadej Janež <tadej.j@nez.si> - 0.29-9
- Add gcc to BuildRequires to account for
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 0:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 0:35 [rpms/bup] f45: Simplify SourceURL handling to only use the %gittag macro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox