Skip to content

Commit 8ca50f3

Browse files
committed
* Modified so that Lua5.3 patch is only applied for Fedora 22 or higher.
1 parent 596d239 commit 8ca50f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

notion.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ copy/link the script(s) you want into ~/.notion and restart Notion.
6363
%prep
6464
%setup -qn %{name}-%{commit}
6565

66+
# Only apply Lua 5.3 patch if Fedora 22 or newer.
67+
%if 0%{fedora} >= 22
6668
%patch0
69+
%endif
6770

6871
sed -e 's|^\(PREFIX\s*?=\s*\).*$|\1%{_prefix}|' \
6972
-e 's|^\(ETCDIR\s*?=\s*\).*$|\1%{_sysconfdir}/%{name}|' \

0 commit comments

Comments
 (0)