From 4cded17248e5c79abd568b1daf08915ee62e1fc0 Mon Sep 17 00:00:00 2001 From: ssm Date: Thu, 20 Dec 2007 11:18:21 +0000 Subject: [PATCH] Change spec file to work with fedora as well. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2320 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/redhat/varnish.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/varnish-cache/redhat/varnish.spec b/varnish-cache/redhat/varnish.spec index 5d2622a7..44a58194 100644 --- a/varnish-cache/redhat/varnish.spec +++ b/varnish-cache/redhat/varnish.spec @@ -1,13 +1,16 @@ Summary: Varnish is a high-performance HTTP accelerator Name: varnish Version: 1.1.2 -Release: 1 +Release: 1%{?dist} License: BSD-like Group: System Environment/Daemons URL: http://www.varnish-cache.org/ Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ncurses-devel automake autoconf libtool libxslt +# The svn sources needs autoconf, automake and libtoolto generate a suitable +# configure script. Release tarballs would not need this +# BuildRequires: ncurses-devel automake autoconf libtool libxslt +BuildRequires: ncurses-devel libxslt Requires: kernel >= 2.6.0 varnish-libs = %{version}-%{release} Requires: logrotate Requires(pre): shadow-utils @@ -121,6 +124,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %{_libdir}/libvarnish.so %{_libdir}/libvarnishapi.so +%{_libdir}/libvarnishcompat.so %{_libdir}/libvcl.so %{_includedir}/varnish/shmlog.h %{_includedir}/varnish/shmlog_tags.h -- 2.39.5