public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/NLopt] rawhide: RPM 6.1 changed %___build_pre macro - use %___build_pre_env instead.
@ 2026-07-06 15:26 Marcin Juszkiewicz
  0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-07-06 15:26 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 15:26 [rpms/NLopt] rawhide: RPM 6.1 changed %___build_pre macro - use %___build_pre_env instead Marcin Juszkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox