Set correct varnishabi requirement for the different fedoras

This commit is contained in:
Ingvar Hagelund 2017-06-01 22:34:40 +02:00
parent 5206127707
commit c0dedc9447

View File

@ -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 <ingvar@redpill-linpro.com> 0.12.1-2
- Set correct varnishabi requirement for the different fedoras
* Wed May 31 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-1
- New uptream release
- Pull el5 support