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: Use rpm %configure macro, instead of calling configure directly.
Date: Wed, 15 Jul 2026 17:20:43 GMT	[thread overview]
Message-ID: <178413604336.1.12643345080485213771.rpms-trafficserver-1c2751c5f880@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/trafficserver
Branch : trafficserver-9.2.14-1
Commit : 1c2751c5f88031489c80759707a633669d965204
Author : Jan-Frode Myklebust <janfrode@tanso.net>
Date   : 2013-08-25T22:15:36+02:00
Stats  : +15/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/trafficserver/c/1c2751c5f88031489c80759707a633669d965204?branch=trafficserver-9.2.14-1

Log:
Use rpm %configure macro, instead of calling configure directly.

---
diff --git a/trafficserver.spec b/trafficserver.spec
index d806fa3..d7d474a 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:	2%{?dist}
+Release:	3%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Daemons
 Source0:	http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
@@ -40,8 +40,16 @@ caching proxy server.
 %patch2 -p1 -b .patch2
 
 %build
-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"
+%configure \
+  --enable-layout=Gentoo \
+  --libdir=%{_libdir}/trafficserver \
+  --libexecdir=%{_libdir}/trafficserver/plugins \
+  --sysconfdir=%{_sysconfdir}/trafficserver \
+  --with-tcl=%{_libdir} \
+  --with-user=ats --with-group=ats \
+  --disable-silent-rules
+
+make %{?_smp_mflags}
 
 %install
 echo $RPM_BUILD_ROOT
@@ -188,6 +196,10 @@ header files, and Apache httpd style module build system.
 %attr(0644,root,root) %{_libdir}/trafficserver/*.so
 
 %changelog
+* Sun Aug 25 2013 Jan-Frode Myklebust <janfrode@tanso.net> - 3.2.5-3
+- bz#994224 Use rpm %configure macro, instead of calling configure
+  directly.
+
 * 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!

                 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=178413604336.1.12643345080485213771.rpms-trafficserver-1c2751c5f880@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