Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A Recipe for a haproxy 1.5 stable version RPM on CentOS
# A Recipe for a haproxy 1.6 stable version RPM on CentOS

Perform the following on a build box as a regular user.

Expand All @@ -16,8 +16,8 @@ Install rpmdevtools from the [EPEL][epel] repository:

## Download haproxy

wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.3.tar.gz
mv haproxy-1.5.3.tar.gz ~/rpmbuild/SOURCES/
wget http://www.haproxy.org/download/1.6/src/haproxy-1.6.2.tar.gz
mv haproxy-1.6.2.tar.gz ~/rpmbuild/SOURCES/

## Get Necessary System-specific Configs

Expand Down
18 changes: 10 additions & 8 deletions spec/haproxy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
%define haproxy_confdir %{_sysconfdir}/haproxy
%define haproxy_datadir %{_datadir}/haproxy

%define version 1.5.3
#%define dev_rel dev25
#%define release 1
%define version 1.6.2
## %define dev_rel dev25
## %define release 1

Name: haproxy
Summary: HA-Proxy is a TCP/HTTP reverse proxy for high availability environments
Expand All @@ -18,7 +18,7 @@ License: GPLv2+
URL: http://www.haproxy.org/
Group: System Environment/Daemons

Source0: http://www.haproxy.org/download/1.5/src/haproxy-%{version}.tar.gz
Source0: http://www.haproxy.org/download/1.6/src/haproxy-%{version}.tar.gz
Source1: haproxy.init
Source2: haproxy.cfg
Source3: haproxy.logrotate
Expand Down Expand Up @@ -103,12 +103,8 @@ fi
%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README doc/*
%doc examples/url-switching.cfg
%doc examples/acl-content-sw.cfg
%doc examples/content-sw-sample.cfg
%doc examples/cttproxy-src.cfg
%doc examples/haproxy.cfg
%doc examples/tarpit.cfg
%{haproxy_datadir}
%dir %{haproxy_confdir}
%config(noreplace) %{haproxy_confdir}/%{name}.cfg
Expand All @@ -121,6 +117,12 @@ fi
%exclude %{_sbindir}/haproxy-systemd-wrapper

%changelog
* Mon Nov 09 2015 Chris Schuld <chris@chrisschuld.com> - 1.6.2
- Update to haproxy 1.6.2

* Mon Feb 02 2015 Chris Schuld <chris@chrisschuld.com> - 1.5.11
- Update to haproxy 1.5.11

* Wed Aug 20 2014 Alan Ivey <alanivey@gmail.com> - 1.5.3
- Update to haproxy 1.5.3
- Add %{dist} to Release
Expand Down