public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Spec cleanups
Date: Mon, 23 Nov 2026 09:31:37 GMT [thread overview]
Message-ID: <179542629702.1.1745535675113659392.rpms-rpm-0cd499eacab2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 0cd499eacab253c2066cad5d0f60c2efca1e1324
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2017-10-03T16:49:15+03:00
Stats : +8/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/0cd499eacab253c2066cad5d0f60c2efca1e1324?branch=pmatilai-v6
Log:
Spec cleanups
Move the actual release number out into the open where it's like,
well, visible. Eliminate double negations on libarchive andxz build
conditionals.
---
diff --git a/rpm.spec b/rpm.spec
index b702af8..b510dff 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,6 +27,8 @@
%global rpmver 4.14.0
%global snapver rc2
+%global rel 4
+
%global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -37,7 +39,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}3%{?dist}
+Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -111,10 +113,10 @@ BuildRequires: bzip2-devel >= 0.9.0c-2
BuildRequires: lua-devel >= 5.1
BuildRequires: libcap-devel
BuildRequires: libacl-devel
-%if ! %{without xz}
+%if %{with xz}
BuildRequires: xz-devel >= 4.999.8
%endif
-%if ! %{without libarchive}
+%if %{with libarchive}
BuildRequires: libarchive-devel
%endif
# Only required by sepdebugcrcfix patch
@@ -632,6 +634,9 @@ make check
%doc doc/librpm/html/*
%changelog
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
+- Spec cleanups
+
* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
- BuildRequire gnupg2 for the testsuite
next reply other threads:[~2026-11-23 9:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 9:31 Panu Matilainen [this message]
2026-11-23 9:32 [rpms/rpm] pmatilai-v6: Spec cleanups Panu Matilainen
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=179542629702.1.1745535675113659392.rpms-rpm-0cd499eacab2@fedoraproject.org \
--to=pmatilai@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