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: Remove direct ldconfig calls, use compat macros instead
Date: Mon, 23 Nov 2026 09:31:54 GMT	[thread overview]
Message-ID: <179542631421.1.14449059401493861079.rpms-rpm-7d7537244d65@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 7d7537244d65544ea318bdedf83f7677f982d1e6
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2018-06-29T11:00:36+03:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/7d7537244d65544ea318bdedf83f7677f982d1e6?branch=pmatilai-v6

Log:
Remove direct ldconfig calls, use compat macros instead

---
diff --git a/rpm.spec b/rpm.spec
index 3c8e677..f329969 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,7 +23,7 @@
 
 %global rpmver 4.14.1
 #global snapver rc2
-%global rel 10
+%global rel 11
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -35,7 +35,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}.1
+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
@@ -468,11 +468,9 @@ chmod a-x $RPM_BUILD_ROOT/%{rpmhome}/python-macro-helper
 make check || cat tests/rpmtests.log
 %endif
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%post build-libs -p /sbin/ldconfig
-%postun build-libs -p /sbin/ldconfig
+# Fedora < 28 and EPEL-7 builds need these
+%ldconfig_scripts libs
+%ldconfig_scripts build-libs
 
 %files -f %{name}.lang
 %license COPYING
@@ -607,6 +605,9 @@ make check || cat tests/rpmtests.log
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-11
+- Remove direct ldconfig calls, use compat macros instead
+
 * Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
 - Rebuilt for Python 3.7
 

                 reply	other threads:[~2026-11-23  9:31 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=179542631421.1.14449059401493861079.rpms-rpm-7d7537244d65@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