public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gridsite] epel10: Use apr0 on el4.
@ 2026-11-19  9:01 stevetraylen
  0 siblings, 0 replies; only message in thread
From: stevetraylen @ 2026-11-19  9:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gridsite
Branch : epel10
Commit : d593b564043c95ea95a3f0bc0d9cdce0ce04d69e
Author : stevetraylen <stevetraylen@fedoraproject.org>
Date   : 2010-05-20T22:13:31+00:00
Stats  : +11/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gridsite/c/d593b564043c95ea95a3f0bc0d9cdce0ce04d69e?branch=epel10

Log:
Use apr0 on el4.

---
diff --git a/gridsite.spec b/gridsite.spec
index 6af8414..0320ffa 100644
--- a/gridsite.spec
+++ b/gridsite.spec
@@ -1,7 +1,13 @@
+%if 0%{?el4}
+%define aprversion 0
+%else
+%define aprversion 1
+%endif
+
 Name:           gridsite
 Version:        1.5.18
 
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Grid Security for the Web, Web platforms for Grids
 
 Group:          System Environment/Daemons
@@ -125,7 +131,7 @@ cp -p %{SOURCE5} .
 %patch1 -p1
 
 %build
-(cd src && MYCFLAGS="%{optflags} -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE -I../interface -I%{_includedir}/httpd -I%{_includedir}/apr-1 -fPIC " make )
+(cd src && MYCFLAGS="%{optflags} -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE -I../interface -I%{_includedir}/httpd -I%{_includedir}/apr-%{aprversion} -fPIC " make )
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -235,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc src/doxygen
 
 %changelog
+* Thu May 20 2010 Steve Traylen <steve.traylen@cern.ch> - 1.5.18-4
+- For .el4 use /usr/include/apr-0 rather than apr-1
+
 * Wed May 19 2010 Steve Traylen <steve.traylen@cern.ch> - 1.5.18-3
 - Don't use _sharedstatedir macro for .el4,5 support.
 

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

only message in thread, other threads:[~2026-11-19  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  9:01 [rpms/gridsite] epel10: Use apr0 on el4 stevetraylen

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