public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: enable XZ support.
@ 2026-11-23 9:26 Bill Nottingham
0 siblings, 0 replies; only message in thread
From: Bill Nottingham @ 2026-11-23 9:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 20e9972fc7707cb5c2e9d7fc273a37f9f16a879f
Author : Bill Nottingham <notting@fedoraproject.org>
Date : 2009-07-20T14:06:20+00:00
Stats : +11/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/20e9972fc7707cb5c2e9d7fc273a37f9f16a879f?branch=pmatilai-v6
Log:
enable XZ support.
Switch the %%defines around so they reflect the new default.
---
diff --git a/rpm.spec b/rpm.spec
index a590367..514dc3d 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1,5 +1,5 @@
-# rawhide doesn't have new enough lzma yet
-%bcond_with lzma
+# build against xz?
+%bcond_without xz
# sqlite backend is pretty useless
%bcond_with sqlite
# just for giggles, option to build with internal Berkeley DB
@@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 8%{?dist}
+Release: 9%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -91,8 +91,8 @@ BuildRequires: python-devel >= 2.2
BuildRequires: lua-devel >= 5.1
BuildRequires: libcap-devel
BuildRequires: libacl-devel
-%if %{with lzma}
-BuildRequires: lzma-devel >= 4.42
+%if ! %{without xz}
+BuildRequires: xz-devel >= 4.999.8
%endif
%if %{with sqlite}
BuildRequires: sqlite-devel
@@ -129,8 +129,8 @@ Requires: nss-devel
Requires: libselinux-devel
Requires: elfutils-libelf-devel
Requires: popt-devel
-%if %{with lzma}
-Requires: lzma-devel >= 4.42
+%if ! %{without xz}
+Requires: xz-devel >= 4.999.8
%endif
%if %{with sqlite}
Requires: sqlite-devel
@@ -153,7 +153,7 @@ Group: Development/Tools
Requires: rpm = %{version}-%{release}
Requires: elfutils >= 0.128 binutils
Requires: findutils sed grep gawk diffutils file patch >= 2.5
-Requires: unzip gzip bzip2 cpio lzma
+Requires: unzip gzip bzip2 cpio lzma xz
Requires: pkgconfig
%description build
@@ -421,6 +421,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Mon Jul 20 2009 Bill Nottingham <notting@redhat.com> - 4.7.0-9
+- enable XZ support
+
* Thu Jun 18 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-8
- updated OSGi dependency extractor (#506471)
- fix segfault in symlink fingerprinting (#505777)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:26 [rpms/rpm] pmatilai-v6: enable XZ support Bill Nottingham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox