From 38766c338d7464444daafd341888982410c4f77c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sep 22 2018 19:29:41 +0000 Subject: Drop unneeded commands in pagure.spec prep stage These extra steps actually cause the package build to fail because you cannot use chmod to set the executable bit on a symlink. They aren't necessary anyway, since they are committed to Git with the correct permissions. Signed-off-by: Neal Gompa --- diff --git a/files/pagure.spec b/files/pagure.spec index f2bc372..425f1c4 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -201,10 +201,6 @@ of this pagure instance. %prep %autosetup -p1 -# In case it gets broken in git at least the rpm will be good -chmod +x pagure/hooks/files/* -chmod +x files/api_key_expire_mail.py - %if 0%{?rhel} && 0%{?rhel} <= 7 # Fix requirements.txt for EL7 setuptools ## Remove environment markers, as they're not supported