diff --git a/varnish.spec b/varnish.spec index a037382..6f5ae9c 100644 --- a/varnish.spec +++ b/varnish.spec @@ -39,7 +39,7 @@ Source3: varnish.sysconfig Source5: varnish.logrotate Source7: varnish.service Source8: varnishlog.service -Patch: varnish-add-fallthrough-comments.patch +Patch1: varnish-5.1.2-add-fallthrough-comments.patch BuildRequires: python3-docutils BuildRequires: python3-Sphinx BuildRequires: libxslt @@ -95,8 +95,7 @@ over the HTTP protocol. This package holds the development files for varnish. %prep -%setup -q -%patch -p1 +%autosetup -p1 %build export CFLAGS="%optflags -fstack-protector -Wno-error=clobbered"