Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
78197542
Commit
78197542
authored
Feb 10, 2011
by
Ingvar Hagelund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rhel4 build fix, plus changed som notes in the comments
parent
1a30dde3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
varnish.spec
redhat/varnish.spec
+6
-12
No files found.
redhat/varnish.spec
View file @
78197542
Summary: High-performance HTTP accelerator
Name: varnish
Version: 3.0.0
Release: 0.git201102
03
%{?dist}
Release: 0.git201102
10
%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
#Source0: http://repo.varnish-cache.org/source/%{name}-%{version}.tar.gz
Source0: %{name}-trunk.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# T
he svn sources needs autoconf, automake and libtool to generate a suitable
#
configure script. Release tarballs would not need thi
s
BuildRequires: automake autoconf libtool python-docutils
# T
o build from git, start with a make dist, see redhat/README.redhat
#
You will need at least automake autoconf libtool python-docutil
s
#
BuildRequires: automake autoconf libtool python-docutils
BuildRequires: ncurses-devel libxslt groff pcre-devel pkgconfig
Requires: varnish-libs = %{version}-%{release}
Requires: logrotate
...
...
@@ -54,8 +54,6 @@ Varnish Cache is a high-performance HTTP accelerator
%package docs
Summary: Documentation files for %name
Group: System Environment/Libraries
%if 0%{?rhel} > 4 && 0%{?fedora} > 10
BuildRequires: python-sphinx
%endif
%description docs
...
...
@@ -75,18 +73,14 @@ Documentation files for %name
#%setup -q
%setup -q -n varnish-trunk
# The svn sources needs to generate a suitable configure script
# Release tarballs would not need this
#./autogen.sh
mkdir examples
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`
export PCRE_CFLAGS=
"`pcre-config --cflags`"
export PCRE_LIBS=
"`pcre-config --libs`"
%endif
# Remove "--disable static" if you want to build static libraries
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment