diff --git a/checksec-1.11.1-disable-update.patch b/checksec-1.11.1-disable-update.patch new file mode 100644 index 0000000..5800059 --- /dev/null +++ b/checksec-1.11.1-disable-update.patch @@ -0,0 +1,13 @@ +Index: checksec.sh-1.11.1/checksec +=================================================================== +--- checksec.sh-1.11.1.orig/checksec ++++ checksec.sh-1.11.1/checksec +@@ -72,7 +72,7 @@ SCRIPT_VERSION=2019011901 + SCRIPT_MAJOR=1 + SCRIPT_MINOR=11 + SCRIPT_REVISION=1 +-pkg_release=false ++pkg_release=true + + if [[ $(id -u) != 0 ]]; then + export PATH=$PATH:/sbin/:/usr/sbin/ diff --git a/checksec.spec b/checksec.spec index 2410f04..8395a1a 100644 --- a/checksec.spec +++ b/checksec.spec @@ -13,6 +13,9 @@ License: BSD URL: %{giturl} Source0: %{giturl}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# Disable --update command. +Patch9999: %{name}-1.11.1-disable-update.patch + BuildArch: noarch %if %{with testsuite} @@ -79,6 +82,7 @@ popd * Fri Apr 05 2019 Björn Esser - 1.11.1-1 - Update to 1.11.1 (BZ#1693841) - Section of man-page was moved to man1 +- Add patch to disable --update command * Thu Jan 31 2019 Fedora Release Engineering - 1.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild