Apply sip patch only on Fedora >= 26
This commit is contained in:
parent
441611c62e
commit
66ec016fab
@ -193,7 +193,10 @@ Please refer to %{name}-server-README.fedora for details!
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .lib64
|
||||
# Only Fedora >= 26 needs this patch
|
||||
%if 0%{?fedora} >= 26
|
||||
%patch1 -p1 -b .sip
|
||||
%endif
|
||||
|
||||
# Remove executable permissions from source code files
|
||||
find . \( -name "*.cpp" -o -name "*.h" \) -type f -perm /111 -execdir chmod -x {} \+
|
||||
|
Reference in New Issue
Block a user