public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/appstream-data] rawhide: spec file: make Version = OS_VERSION work for ELN
@ 2026-11-12 17:41 David Jasa
0 siblings, 0 replies; only message in thread
From: David Jasa @ 2026-11-12 17:41 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-12 17:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 17:41 [rpms/appstream-data] rawhide: spec file: make Version = OS_VERSION work for ELN David Jasa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox