public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bup] f45: Simplify SourceURL handling to only use the %gittag macro
Date: Fri, 23 Oct 2026 00:35:44 GMT [thread overview]
Message-ID: <179271574482.1.18303462761356559264.rpms-bup-24b463347095@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-23 0:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179271574482.1.18303462761356559264.rpms-bup-24b463347095@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox