public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Jasa <djasa@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/appstream-data] rawhide: spec file: make Version = OS_VERSION work for ELN
Date: Thu, 12 Nov 2026 17:41:06 GMT [thread overview]
Message-ID: <179450526632.1.8670035316147278827.rpms-appstream-data-9e7e926fa767@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/appstream-data
Branch : rawhide
Commit : 9e7e926fa76736b9177076d3ef5867316cb4bfbd
Author : David Jasa <djasa@redhat.com>
Date : 2026-11-12T18:37:23+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/appstream-data/c/9e7e926fa76736b9177076d3ef5867316cb4bfbd?branch=rawhide
Log:
spec file: make Version = OS_VERSION work for ELN
Fedora ELN defines %rhel, let's fall back to it if %fedora is undefined.
---
diff --git a/appstream-data.spec b/appstream-data.spec
index fc83ec3..1ce5337 100644
--- a/appstream-data.spec
+++ b/appstream-data.spec
@@ -1,6 +1,6 @@
Summary: Fedora AppStream metadata
Name: appstream-data
-Version: %fedora
+Version: %{?fedora}%{!?fedora:%{?rhel}}
Release: %autorelease
BuildArch: noarch
License: CC0-1.0 AND CC-BY-1.0 AND CC-BY-SA-1.0 AND GFDL-1.1-or-later
reply other threads:[~2026-11-12 17:41 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=179450526632.1.8670035316147278827.rpms-appstream-data-9e7e926fa767@fedoraproject.org \
--to=djasa@redhat.com \
--cc=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