public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Spec cleanups
@ 2026-11-23 9:31 Panu Matilainen
0 siblings, 0 replies; 2+ messages in thread
From: Panu Matilainen @ 2026-11-23 9:31 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/rpm] pmatilai-v6: Spec cleanups
@ 2026-11-23 9:32 Panu Matilainen
0 siblings, 0 replies; 2+ messages in thread
From: Panu Matilainen @ 2026-11-23 9:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 398bbf6b674192ba4d216144694e204ce93bce5e
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2019-06-10T10:25:58+03:00
Stats : +5/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/398bbf6b674192ba4d216144694e204ce93bce5e?branch=pmatilai-v6
Log:
Spec cleanups
- Drop support for Fedora < 28 builds
- Drop leftover BDB-related compiler flag foo
---
diff --git a/rpm.spec b/rpm.spec
index 632730e..6a0d0d0 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,7 +23,7 @@
%global rpmver 4.14.2.1
#global snapver rc2
-%global rel 12
+%global rel 13
%global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -156,10 +156,6 @@ the package like its version, a description, etc.
Summary: Libraries for manipulating RPM packages
License: GPLv2+ and LGPLv2+ with exceptions
Requires: %{name} = %{version}-%{release}
-# Drag in SELinux support at least for transition phase
-%if %{with plugins} && 0%{?fedora} < 28
-Requires: rpm-plugin-selinux%{_isa} = %{version}-%{release}
-%endif
%description libs
This package contains the RPM shared libraries.
@@ -337,10 +333,6 @@ sed -ie 's:^python test:python2 test:g' tests/rpmtests tests/local.at
sed -ie 's:python -c:python2 -c:g' tests/atlocal.in
%build
-%if %{without int_bdb}
-#CPPFLAGS=-I%{_includedir}/db%{bdbver}
-#LDFLAGS=-L%{_libdir}/db%{bdbver}
-%endif
CPPFLAGS="$CPPFLAGS -DLUA_COMPAT_APIINTCASTS"
CFLAGS="$RPM_OPT_FLAGS %{?sanitizer_flags} -DLUA_COMPAT_APIINTCASTS"
LDFLAGS="$LDFLAGS %{?build_ldflags}"
@@ -437,10 +429,6 @@ chmod a-x $RPM_BUILD_ROOT/%{rpmhome}/python-macro-helper
make check || (cat tests/rpmtests.log; exit 1)
%endif
-# Fedora < 28 and EPEL-7 builds need these
-%ldconfig_scriptlets libs
-%ldconfig_scriptlets build-libs
-
%files -f %{name}.lang
%license COPYING
%doc CREDITS doc/manual/[a-z]*
@@ -576,6 +564,10 @@ make check || (cat tests/rpmtests.log; exit 1)
%doc doc/librpm/html/*
%changelog
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
+- Drop support for Fedora < 28 builds
+- Drop leftover BDB-related compiler flag foo
+
* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
- Use pre-determined buildhost in test-suite to avoid DNS usage
- Drop obsolete specspo and gpg2 related patches
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-23 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:31 [rpms/rpm] pmatilai-v6: Spec cleanups Panu Matilainen
2026-11-23 9:32 Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox