Snapshot from 6.4 branch, rebuilt against varnish-6.4.0
Removed patches merged upstream Delete 64-bit specific test on 32-bit arches
This commit is contained in:
parent
f13282536a
commit
7c89415d95
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/varnish-modules-0.12.1.tar.gz
|
/varnish-modules-0.12.1.tar.gz
|
||||||
/varnish-modules-0.15.0.tar.gz
|
/varnish-modules-0.15.0.tar.gz
|
||||||
|
/varnish-modules-0032ed8.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (varnish-modules-0.15.0.tar.gz) = f24bc7e00db8eb53e4730b9b6d9adb9442d26ad5b07f3e09541b686e41d437113b8bca75f9ac47bc0ec54475fafb0eefc46b98ccee92d9360aaf660b4826ec9e
|
SHA512 (varnish-modules-0032ed8.tar.gz) = 9ad2bc33a954645f267ae61a299fc067cb075959ade0ecc2dbf080867c6b3039835994b628aeea92ecfb0b3bbce9d3fae83945f48b57df32a2e86c030ee1c704
|
||||||
|
@ -1,33 +1,38 @@
|
|||||||
%global varnishver %(pkg-config --silence-errors --modversion varnishapi || echo 0)
|
%global varnishver %(pkg-config --silence-errors --modversion varnishapi || echo 0)
|
||||||
|
|
||||||
|
%global commit 0032ed81820cbc7d8d0bdda8f0a14dc968a9de4f
|
||||||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 7 || 0%{?rhel} == 6
|
||||||
|
%global docutils python34-docutils
|
||||||
|
%else
|
||||||
|
%global docutils python3-docutils
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: varnish-modules
|
Name: varnish-modules
|
||||||
Version: 0.15.0
|
Version: 0.16.0
|
||||||
Release: 8%{?dist}
|
Release: 0.1.20200318git%{shortcommit}%{?dist}
|
||||||
Summary: A collection of modules ("vmods") extending Varnish VCL
|
Summary: A collection of modules ("vmods") extending Varnish VCL
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/varnish/%{name}
|
URL: https://github.com/varnish/%{name}
|
||||||
Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz
|
Source: https://github.com/varnish/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||||
|
#Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz
|
||||||
Patch99: varnish-modules-0.15.0.add.bootstrap.patch
|
|
||||||
# bz #1736943: Fetched forward compatibiliy patch from
|
|
||||||
# https://github.com/nigoroll/varnish-modules, checkout fe1a981
|
|
||||||
Patch100: varnish-modules-0.15.0.nigoroll_to_fe1a981_compatible_with_varnish-6.3.0.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: pkgconfig(varnishapi)
|
BuildRequires: pkgconfig(varnishapi)
|
||||||
BuildRequires: varnish
|
BuildRequires: varnish
|
||||||
|
|
||||||
|
# Build from a git checkout
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: %docutils
|
||||||
|
|
||||||
Requires: varnish
|
Requires: varnish = %varnishver
|
||||||
|
|
||||||
Provides: vmod-bodyaccess = %{version}-%{release}
|
Provides: vmod-bodyaccess = %{version}-%{release}
|
||||||
Provides: vmod-cookie = %{version}-%{release}
|
|
||||||
Provides: vmod-header = %{version}-%{release}
|
Provides: vmod-header = %{version}-%{release}
|
||||||
Provides: vmod-saintmode = %{version}-%{release}
|
Provides: vmod-saintmode = %{version}-%{release}
|
||||||
Provides: vmod-tcp = %{version}-%{release}
|
Provides: vmod-tcp = %{version}-%{release}
|
||||||
@ -40,29 +45,31 @@ Provides: vmod-xkey = %{version}-%{release}
|
|||||||
This is a collection of modules ("vmods") extending Varnish VCL used
|
This is a collection of modules ("vmods") extending Varnish VCL used
|
||||||
for describing HTTP request/response policies with additional
|
for describing HTTP request/response policies with additional
|
||||||
capabilities. This collection contains the following vmods (previously
|
capabilities. This collection contains the following vmods (previously
|
||||||
kept individually): cookie, vsthrottle, header, saintmode, softpurge,
|
kept individually): vsthrottle, header, saintmode, softpurge,
|
||||||
tcp, var, xkey
|
tcp, var, xkey
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{name}-%{commit}
|
||||||
%patch99 -p0
|
#autosetup
|
||||||
%patch100 -p1
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sh bootstrap
|
sh bootstrap
|
||||||
%configure
|
%configure
|
||||||
%make_build
|
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install docdir=%_pkgdocdir
|
%make_install docdir=%_pkgdocdir
|
||||||
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
|
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
|
||||||
rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro
|
rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifarch %ix86 ppc
|
||||||
|
# 64-bit specific test
|
||||||
|
sed -i 's,tests/xkey/test12.vtc,,' src/Makefile
|
||||||
|
%endif
|
||||||
%make_build check VERBOSE=1
|
%make_build check VERBOSE=1
|
||||||
|
|
||||||
|
|
||||||
@ -73,6 +80,11 @@ rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 17 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.1-0.1.20200317git21d0c84
|
||||||
|
- Snapshot from 6.4 branch, rebuilt against varnish-6.4.0
|
||||||
|
- Removed patches merged upstream
|
||||||
|
- Delete 64-bit specific test on 32-bit arches
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-8
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user