diff options
author | Sébastien Barrier <s.barrier@scanandtarget.com> | 2009-04-02 15:09:35 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2009-04-03 17:26:08 +0200 |
commit | f1a09bde577a5fe2ff8499a61e6ca26c5b0c6b49 (patch) | |
tree | b963da39de2fe5d5523402d15df1c8b2a56ded31 /examples | |
parent | af403fc59d7a0389005f019a440bf18ccff83348 (diff) | |
download | haproxy-f1a09bde577a5fe2ff8499a61e6ca26c5b0c6b49.tar.gz |
[BUILD] spec file: fix broken pipe during rpmbuild and add man file
Diffstat (limited to 'examples')
-rw-r--r-- | examples/haproxy.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/haproxy.spec b/examples/haproxy.spec index e25b3eef5..b176e9679 100644 --- a/examples/haproxy.spec +++ b/examples/haproxy.spec @@ -43,10 +43,12 @@ risking the system's stability. %{__install} -d %{buildroot}%{_sbindir} %{__install} -d %{buildroot}%{_sysconfdir}/rc.d/init.d %{__install} -d %{buildroot}%{_sysconfdir}/%{name} +%{__install} -d %{buildroot}%{_mandir}/man1/ %{__install} -s %{name} %{buildroot}%{_sbindir}/ %{__install} -c -m 644 examples/%{name}.cfg %{buildroot}%{_sysconfdir}/%{name}/ %{__install} -c -m 755 examples/%{name}.init %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name} +%{__install} -c -m 755 doc/%{name}.1 %{buildroot}%{_mandir}/man1/ %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} @@ -67,7 +69,9 @@ fi %files %defattr(-,root,root) -%doc CHANGELOG TODO examples doc/haproxy-en.txt doc/haproxy-fr.txt doc/architecture.txt examples/url-switching.cfg +%doc CHANGELOG TODO examples/*.cfg doc/haproxy-en.txt doc/haproxy-fr.txt doc/architecture.txt doc/configuration.txt +%doc %{_mandir}/man1/%{name}.1* + %attr(0755,root,root) %{_sbindir}/%{name} %dir %{_sysconfdir}/%{name} %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.cfg |