public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Florian Festi <ffesti@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix libbzip2 detection
Date: Mon, 23 Nov 2026 09:34:47 GMT [thread overview]
Message-ID: <179542648750.1.656644612198546367.rpms-rpm-b1dddb5038a4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : b1dddb5038a4b84d9d3caf5bebc443d4c5775923
Author : Florian Festi <ffesti@redhat.com>
Date : 2023-05-15T18:28:41+02:00
Stats : +32/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/b1dddb5038a4b84d9d3caf5bebc443d4c5775923?branch=pmatilai-v6
Log:
Fix libbzip2 detection
---
diff --git a/0001-Fix-bzip2-detection.patch b/0001-Fix-bzip2-detection.patch
new file mode 100644
index 0000000..b2c37b9
--- /dev/null
+++ b/0001-Fix-bzip2-detection.patch
@@ -0,0 +1,27 @@
+From d18d6ce41df4a5887df47a69052a401808aef19f Mon Sep 17 00:00:00 2001
+From: Florian Festi <ffesti@redhat.com>
+Date: Mon, 8 May 2023 17:50:21 +0200
+Subject: [PATCH] Fix bzip2 detection
+
+HAVE_BZLIB_H was not set due to a typo leading to the bz2 support not
+being compiled in although the library was detected correctly.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9718505bf..4a5332f4b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -272,7 +272,7 @@ id0name(UID_0_USER /etc/passwd)
+ id0name(GID_0_GROUP /etc/group)
+
+ # map module/package findings to config.h
+-if (${Bzip2_FOUND})
++if (${BZIP2_FOUND})
+ set(HAVE_BZLIB_H 1)
+ endif()
+ if (${LIBLZMA_FOUND})
+--
+2.40.1
+
diff --git a/rpm.spec b/rpm.spec
index 6b72f1e..33d4699 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -32,7 +32,7 @@
%global rpmver 4.18.90
#global snapver rc1
-%global baserelease 2
+%global baserelease 3
%global sover 10
%global oldsover 9
@@ -151,6 +151,7 @@ rpm-4.18.90-weak-user-group.patch
# ...
0001-Remove-second-share-dir-from-infodir-and-mandir.patch
0001-Add-pgpVerifySignature2-and-pgpPrtParams2.patch
+0001-Fix-bzip2-detection.patch
# These are not yet upstream
rpm-4.7.1-geode-i686.patch
@@ -646,6 +647,9 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Mo May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
+- Fix libbzip2 detection
+
* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
- Add compat links for building dnf and friends
reply other threads:[~2026-11-23 9:34 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=179542648750.1.656644612198546367.rpms-rpm-b1dddb5038a4@fedoraproject.org \
--to=ffesti@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