Name: varnish-module-accept Version: 6.0 Release: 1%{?dist} Group: System Environment/Libraries Summary: Varnish Accept Header Module License: Public Domain Vendor: gquintard Packager: creativestyle GmbH URL: https://github.com/gquintard/libvmod-accept Source0: https://github.com/gquintard/libvmod-accept/archive/6.0.tar.gz Conflicts: libvmod-accept Requires: varnish >= 6.0 BuildRoot: %{_tmppath}/%{name}-%{version}%{release}-root BuildRequires: varnish-devel >= 6.0 BuildRequires: libtool BuildRequires: python-docutils %description Varnish module for accept header normalization. %prep %setup -q -n libvmod-accept-%{version} %build ./autogen.sh ./configure --libdir=%{_libdir} \ --prefix=%{_prefix} \ --includedir=%{_includedir} \ --bindir=%{_bindir} %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} DESTDIR=$RPM_BUILD_ROOT install %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %_libdir/varnish/vmods/libvmod_accept* %_mandir/man3/vmod_accept* %_datarootdir/doc/vmod-accept/* %changelog * Tue Nov 19 2019 Filip Sobalski - 6.0 - Bump module varnish version - Switch back to original sources