Commit 5a567c34 authored by Ingvar Hagelund's avatar Ingvar Hagelund

- Synced bits from Fedora

- Made to work with trunk again, see specfile changelog


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5060 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e92b20be
Summary: High-performance HTTP accelerator
Name: varnish
Version: 2.1.1
Release: 0.svn20100415%{?dist}
Version: 2.1.4
Release: 0.svn20100730%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
......@@ -88,6 +88,12 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
%build
# No pkgconfig/libpcre.pc in rhel4
%if 0%{?rhel} == 4
export PCRE_CFLAGS=`pcre-config --cflags`
export PCRE_LIBS=`pcre-config --libs`
%endif
# Remove "--disable static" if you want to build static libraries
# jemalloc is not compatible with Red Hat's ppc* RHEL5 kernel koji server :-(
%ifarch ppc64 ppc
......@@ -99,11 +105,6 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
%configure --disable-static --localstatedir=/var/lib
%endif
# Have to regenerate the docs because of patched doc/changes-2.0.6-2.1.0.xml
pushd doc/
make clean
popd
# We have to remove rpath - not allowed in Fedora
# (This problem only visible on 64 bit arches)
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
......@@ -183,8 +184,8 @@ rm -rf %{buildroot}
%{_bindir}/*
%{_var}/lib/varnish
%{_var}/log/varnish
%{_mandir}/man1/*.1*
%{_mandir}/man7/*.7*
#%{_mandir}/man1/*.1*
#%{_mandir}/man7/*.7*
%doc INSTALL LICENSE README redhat/README.redhat ChangeLog
%doc examples
%doc doc
......@@ -208,11 +209,7 @@ rm -rf %{buildroot}
%{_libdir}/libvarnishcompat.so
%{_libdir}/libvcl.so
%dir %{_includedir}/varnish
%{_includedir}/varnish/shmlog.h
%{_includedir}/varnish/shmlog_tags.h
%{_includedir}/varnish/stat_field.h
%{_includedir}/varnish/stats.h
%{_includedir}/varnish/varnishapi.h
%{_includedir}/varnish/*
%{_libdir}/pkgconfig/varnishapi.pc
%doc LICENSE
......@@ -251,6 +248,25 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-0.svn20100730
- Replaced specific include files with a wildcard glob
- The man pages seems to have vanished
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-1
- New upstream release
- Add a patch for jemalloc on s390 that lacks upstream
* Wed May 05 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.2-1
- New upstream release
- Remove patches merged upstream
* Tue Apr 27 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.1-1
- New upstream release
- Added a fix for missing pkgconfig/libpcre.pc on rhel4
- Added a patch from trunk making the rpm buildable on lowspec
build hosts (like Red Hat's ppc build farm nodes)
- Removed patches that are merged upstream
* Wed Apr 14 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-2
- Added a patch from svn that fixes changes-2.0.6-2.1.0.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment