public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trafficserver] trafficserver-9.2.14-1: - bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
@ 2026-07-15 17:20 Jan-Frode Myklebust
  0 siblings, 0 replies; only message in thread
From: Jan-Frode Myklebust @ 2026-07-15 17:20 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/trafficserver
          Branch : trafficserver-9.2.14-1
          Commit : 59bc6ae5a70da81d295da6d909f4a23c0e073225
          Author : Jan-Frode Myklebust <janfrode@tanso.net>
          Date   : 2013-08-09T09:00:42+02:00
          Stats  : +6/-2 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/trafficserver/c/59bc6ae5a70da81d295da6d909f4a23c0e073225?branch=trafficserver-9.2.14-1

          Log:
          - bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
instead of overriding on make commandline. Thanks Dimitry Andric!

---
diff --git a/trafficserver.spec b/trafficserver.spec
index 7f9b876..d806fa3 100644
--- a/trafficserver.spec
+++ b/trafficserver.spec
@@ -3,7 +3,7 @@
 Summary:	Fast, scalable and extensible HTTP/1.1 compliant caching proxy server
 Name:		trafficserver
 Version:	3.2.5
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Daemons
 Source0:	http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
@@ -40,7 +40,7 @@ caching proxy server.
 %patch2 -p1 -b .patch2
 
 %build
-./configure --enable-layout=Gentoo --libdir=%{_libdir}/trafficserver --with-tcl=%{_libdir} --with-user=ats --with-group=ats
+LDFLAGS="%{?__global_ldflags}" CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --enable-layout=Gentoo --libdir=%{_libdir}/trafficserver --with-tcl=%{_libdir} --with-user=ats --with-group=ats
 make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags}" CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
 
 %install
@@ -188,6 +188,10 @@ header files, and Apache httpd style module build system.
 %attr(0644,root,root) %{_libdir}/trafficserver/*.so
 
 %changelog
+* Fri Aug 9 2013 Jan-Frode Myklebust <janfrode@tanso.net> - 3.2.5-2
+- bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
+  instead of overriding on make commandline. Thanks Dimitry Andric!
+
 * Thu Aug 1 2013 Jan-Frode Myklebust <janfrode@tanso.net> - 3.2.5-1
 - Update to v3.2.5 which fixes the following bugs:
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 17:20 [rpms/trafficserver] trafficserver-9.2.14-1: - bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure, Jan-Frode Myklebust

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