Commit 91299055 authored by Geoff Simmons's avatar Geoff Simmons

Set version maxwait-6.6.0, and package RPMs for compatibility.

parent 19a2869c
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung])
AC_INIT([libvmod-re], [trunk])
AC_INIT([libvmod-re], [maxwait-6.6.0])
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,19 +38,24 @@ 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-${VERSION}.tar.gz rpmbuild/SOURCES
cp /srv/libvmod-re-maxwait-${VERSION}.tar.gz rpmbuild/SOURCES
# update the build env
set +e
sudo yum check-update -y -q
set -e
sudo yum upgrade -y -q
# set uplex repo for varnish-maxwait and VMOD re
sudo yum-config-manager --add-repo https://pkg.uplex.de/rpm/7/uplex-varnish/x86_64/
# install epel7 repo
sudo yum install -y -q \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# set up varnish repo
sudo cp /srv/varnishcache_varnish66.repo /etc/yum.repos.d/
sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish66'
# build requirements
sudo yum install -y -q varnish-devel pkgconfig make gcc python-docutils
sudo yum install --nogpgcheck -y -q varnish-maxwait-devel
sudo yum install -y -q pkgconfig make gcc python-docutils
# build RPMs
rpmbuild -ba -D "dist .${DIST}" \
......
[varnishcache_varnish66]
name=varnishcache_varnish66
baseurl=https://packagecloud.io/varnishcache/varnish66/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish66/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish66-source]
name=varnishcache_varnish66-source
baseurl=https://packagecloud.io/varnishcache/varnish66/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish66/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
# -D MUST pass in _version and _release, and SHOULD pass in dist.
Summary: Regular Expression module for Varnish Cache
Name: vmod-re
Name: vmod-re-maxwait
Version: %{_version}
Release: %{_release}%{?dist}
License: BSD
......@@ -9,11 +9,9 @@ Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/libvmod-re
Source0: lib%{name}-%{version}.tar.gz
# varnish from varnish60 at packagecloud
# The Requires specifies ABI >= 13.0 (Varnish 6.6, libvarnishapi.so.2)
Requires: varnishd(vrt)%{?_isa} >= 13
Requires: varnish-maxwait = 6.6.0
BuildRequires: varnish-devel >= 6.6.0
BuildRequires: varnish-maxwait-devel = 6.6.0
BuildRequires: pkgconfig
BuildRequires: make
BuildRequires: gcc
......@@ -26,7 +24,7 @@ BuildRequires: python-docutils >= 0.6
#BuildRequires: libtool
#BuildRequires: python-docutils >= 0.6
Provides: vmod-re, vmod-re-debuginfo
Provides: vmod-re-maxwait, vmod-re-maxwait-debuginfo
%description
Varnish Module (VMOD) for matching strings against regular
......
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