public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/NLopt] rawhide: RPM 6.1 changed %___build_pre macro - use %___build_pre_env instead.
Date: Mon, 06 Jul 2026 15:26:39 GMT	[thread overview]
Message-ID: <178335159961.1.7181862751655103342.rpms-NLopt-def2d1635da0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/NLopt
Branch : rawhide
Commit : def2d1635da07bb504d78a11925546ea1126c6d2
Author : Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Date   : 2026-07-06T14:48:45+02:00
Stats  : +7/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/NLopt/c/def2d1635da07bb504d78a11925546ea1126c6d2?branch=rawhide

Log:
RPM 6.1 changed %___build_pre macro - use %___build_pre_env instead.

---
diff --git a/NLopt.spec b/NLopt.spec
index 72027b2..536a515 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -20,7 +20,7 @@
 Name:              NLopt
 Version:           2.10.1
 %global tag        v%{version}
-Release:           4%{?dist}
+Release:           5%{?dist}
 Summary:           Open-Source library for nonlinear optimization
 
 # Get a lowercase name for virtual provides.
@@ -107,9 +107,9 @@ This package contains documentation files for %{name}.
 
 %if 0%{?with_guile}
 %package -n guile-%{name}
-%{!?guile_pkgconf: %global guile_pkgconf %(%___build_pre; pkg-config --list-all | grep guile%{?guile_ver:-%{guile_ver}} | sed -e 's! .*$!!g')}
-%{!?guile_sitedir: %global guile_sitedir %(%___build_pre; pkg-config --variable=sitedir %{guile_pkgconf})}
-%{!?guile_extdir:  %global guile_extdir  %(%___build_pre; pkg-config --variable=extensiondir %{guile_pkgconf})}
+%{!?guile_pkgconf: %global guile_pkgconf %(%___build_pre_env; pkg-config --list-all | grep guile%{?guile_ver:-%{guile_ver}} | sed -e 's! .*$!!g')}
+%{!?guile_sitedir: %global guile_sitedir %(%___build_pre_env; pkg-config --variable=sitedir %{guile_pkgconf})}
+%{!?guile_extdir:  %global guile_extdir  %(%___build_pre_env; pkg-config --variable=extensiondir %{guile_pkgconf})}
 
 Summary:           Guile bindings for %{name}
 
@@ -300,6 +300,9 @@ EOF
 %{python3_sitearch}/%{lc_name}-%{relversion}.dist-info/METADATA
 
 %changelog
+* Mon Jul 06 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.10.1-5
+- RPM 6.1 changed %___build_pre macro - use %___build_pre_env instead.
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.10.1-4
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-07-06 15:26 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=178335159961.1.7181862751655103342.rpms-NLopt-def2d1635da0@fedoraproject.org \
    --to=marcin@juszkiewicz.com.pl \
    --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