Logoj0ke.net Open Build Service > Projects > Apache:Modules > apache2-mod_stats > Changes
Sign Up | Log In

Changes of Revision 4

[-] Changed apache2-mod_stats.changes
x
 
1
@@ -1,4 +1,16 @@
2
 -------------------------------------------------------------------
3
+Thu Jun  4 12:36:38 CEST 2009 - poeml@suse.de
4
+
5
+- fix build on CentOS5 (by requiring httpd instead of
6
+  apache2-devel, and using apxs instead of apxs2)
7
+
8
+-------------------------------------------------------------------
9
+Tue Jun 10 10:45:16 CEST 2008 - poeml@suse.de
10
+
11
+- build service supports the debuginfo flag in metadata now; remove
12
+  debug_package macro from the specfile therefore.
13
+
14
+-------------------------------------------------------------------
15
 Wed Aug 22 08:04:30 CEST 2007 - poeml@suse.de
16
 
17
 - update to r2018
18
[-] Changed apache2-mod_stats.spec ^
55
 
1
@@ -10,9 +10,15 @@
2
 
3
 # norootforbuild
4
 
5
-Name:           apache2-mod_stats
6
-BuildRequires:  apache2-devel apache2-prefork apache2-webthings-collection
7
+
8
+%if %{defined suse_version}
9
 %define apxs /usr/sbin/apxs2
10
+BuildRequires:  apache2-devel apache2-prefork apache2-worker 
11
+%else
12
+%define apxs /usr/sbin/apxs
13
+BuildRequires:  httpd-devel
14
+%endif
15
+BuildRequires:  apache2-webthings-collection
16
 %define apache apache2
17
 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
18
 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
19
@@ -20,13 +26,22 @@
20
 %define apache_serverroot %(%{apxs} -q PREFIX)
21
 %define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
22
 %define apache_mmn        %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
23
+Name:           apache2-mod_stats
24
+Summary:        Apache module collecting buildservice download statistics
25
 Version:        1.1
26
-Release:        30
27
+Release:        36
28
 License:        Apache License 2.0
29
 Group:          Productivity/Networking/Web/Servers
30
-Requires:       apache2 %{apache_mmn} 
31
+#
32
+%if %{defined suse_version}
33
+Requires:       apache2 >= 2.2.6 
34
+Requires:       %{apache_mmn} 
35
+Requires:       libapr-util1 >= 1.3.0
36
+%else
37
+Requires:       httpd
38
+%endif
39
+#
40
 Autoreqprov:    on
41
-Summary:        Apache module collecting buildservice download statistics
42
 #
43
 # svn export 'https://forgesvn1.novell.com/svn/opensuse/trunk/tools/download-stats/mod_stats'; tar czf mod_stats.tar.gz mod_stats
44
 Source:         mod_stats.tar.gz
45
@@ -43,9 +58,6 @@
46
 Author: Peter Poeml <poeml@suse.de>
47
 
48
 
49
-%if 0%{?opensuse_bs}
50
-%debug_package
51
-%endif
52
 %prep
53
 %setup -n mod_stats
54
 
55