public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan-Frode Myklebust <janfrode@tanso.net>
To: git-commits@fedoraproject.org
Subject: [rpms/trafficserver] trafficserver-9.2.14-1: - bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
Date: Wed, 15 Jul 2026 17:20:42 GMT	[thread overview]
Message-ID: <178413604287.1.7564466732992470221.rpms-trafficserver-59bc6ae5a70d@fedoraproject.org> (raw)

          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:
 

                 reply	other threads:[~2026-07-15 17:20 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=178413604287.1.7564466732992470221.rpms-trafficserver-59bc6ae5a70d@fedoraproject.org \
    --to=janfrode@tanso.net \
    --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