Logoj0ke.net Open Build Service > Projects > internetx:projects:http > haproxy > Changes
Sign Up | Log In

Changes of Revision 32

[-] Changed haproxy.spec
x
 
1
@@ -1,8 +1,9 @@
2
-%define haproxy_user    haproxy
3
-%define haproxy_group   %{haproxy_user}
4
-%define haproxy_home    %{_localstatedir}/lib/haproxy
5
-%define haproxy_confdir %{_sysconfdir}/haproxy
6
-%define haproxy_datadir %{_datadir}/haproxy
7
+%define haproxy_user      haproxy
8
+%define haproxy_group     %{haproxy_user}
9
+%define haproxy_home      %{_localstatedir}/lib/haproxy
10
+%define haproxy_confdir   %{_sysconfdir}/haproxy
11
+%define haproxy_datadir   %{_datadir}/haproxy
12
+%define haproxy_sampledir %{_datadir}/share/%{name}
13
 %define snaptag        20140711
14
 %define snapmarker ss
15
 
16
@@ -89,6 +90,12 @@
17
 %{__install} -d -m 0755 %{buildroot}%{_bindir}
18
 %{__install} -p -m 0755 ./contrib/halog/halog %{buildroot}%{_bindir}/halog
19
 
20
+%{__install} -p -D -m 0755 %{SOURCE6} %{buildroot}%{haproxy_sampledir}
21
+%{__install} -p -D -m 0755 %{SOURCE7} %{buildroot}%{haproxy_sampledir}
22
+ 
23
+
24
+
25
+
26
 for httpfile in $(find ./examples/errorfiles/ -type f) 
27
 do
28
     %{__install} -p -m 0644 $httpfile %{buildroot}%{haproxy_datadir}
29
@@ -133,8 +140,6 @@
30
 %doc examples/haproxy.cfg
31
 %doc examples/tarpit.cfg
32
 %doc CHANGELOG LICENSE README
33
-%doc %{Source6}
34
-%doc %{Source7}
35
 %dir %{haproxy_datadir}
36
 %{haproxy_datadir}/*
37
 %dir %{haproxy_confdir}
38