diff --git a/varnish-modules.spec b/varnish-modules.spec index a45fd5f..b34ac4e 100644 --- a/varnish-modules.spec +++ b/varnish-modules.spec @@ -1,6 +1,14 @@ +%define abi 6.0 +%if 0%{?fedora} == 25 +%define abi 5.0 +%endif +%if 0%{?fedora} == 24 +%define abi 3.2 +%endif + Name: varnish-modules Version: 0.12.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A collection of modules ("vmods") extending Varnish VCL Group: System Environment/Daemons @@ -23,7 +31,7 @@ BuildRequires: make BuildRequires: gcc BuildRequires: python-docutils >= 0.6 -Requires: varnishabi-6.0 +Requires: varnishabi-%abi Provides: vmod-cookie = %{version}-%{release} Provides: vmod-vsthrottle = %{version}-%{release} @@ -88,6 +96,9 @@ make check %changelog +* Thu Jun 01 2017 Ingvar Hagelund 0.12.1-2 +- Set correct varnishabi requirement for the different fedoras + * Wed May 31 2017 Ingvar Hagelund 0.12.1-1 - New uptream release - Pull el5 support