Commit 2e86c3c4 authored by Geoff Simmons's avatar Geoff Simmons

Version 2.5.1, RPM packages for VRT 7.0 / Varnish 6.0.

parent 7c11069a
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung])
AC_INIT([libvmod-re], [trunk])
AC_INIT([libvmod-re], [2.5.1])
AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
AC_CONFIG_SRCDIR(src/vmod_re.vcc)
......
......@@ -38,7 +38,7 @@ rm /home/builder/.rpmmacros
cd /home/builder
mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
cp /srv/vmod-re.spec rpmbuild/SPECS
cp /srv/libvmod-re-v${VERSION}.tar.gz rpmbuild/SOURCES
cp /srv/libvmod-re-${VERSION}.tar.gz rpmbuild/SOURCES
# install epel7 repo
sudo yum install -y -q \
......
......@@ -7,10 +7,11 @@ Release: %{_release}%{?dist}
License: BSD
Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/libvmod-re
Source0: lib%{name}-v%{version}.tar.gz
Source0: lib%{name}-%{version}.tar.gz
# varnish from varnish60 at packagecloud
Requires: varnish >= 6.0.0
# The Requires specifies ABI 7.0 -- cannot be versioned for Varnish 6.0.
Requires: varnishabi-7.0
BuildRequires: varnish-devel >= 6.0.0
BuildRequires: pkgconfig
......@@ -32,7 +33,7 @@ Varnish Module (VMOD) for matching strings against regular
expressions, and for extracting captured substrings after matches.
%prep
%setup -q -n lib%{name}-v%{version}
%setup -q -n lib%{name}-%{version}
%build
......@@ -41,11 +42,11 @@ expressions, and for extracting captured substrings after matches.
%configure
make
make -j
%check
make check
make check -j
%install
......
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