summaryrefslogtreecommitdiff
path: root/scite-fedora/scite.spec
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-07 09:43:17 -0400
committerB. Stack <bgstack15@gmail.com>2022-04-07 09:49:34 -0400
commit6253daa83d11aa07027476d05b4385295c3fe944 (patch)
tree5bdfb8ca22bda8633203865b09a5e0d5c59a8d0b /scite-fedora/scite.spec
parentuse full global.properties in rpm (diff)
downloadstackrpms-6253daa83d11aa07027476d05b4385295c3fe944.tar.gz
stackrpms-6253daa83d11aa07027476d05b4385295c3fe944.tar.bz2
stackrpms-6253daa83d11aa07027476d05b4385295c3fe944.zip
fix #29: add functions to scite stackrpms.lua
Diffstat (limited to 'scite-fedora/scite.spec')
-rw-r--r--scite-fedora/scite.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/scite-fedora/scite.spec b/scite-fedora/scite.spec
index d51ddd2..1cc96e7 100644
--- a/scite-fedora/scite.spec
+++ b/scite-fedora/scite.spec
@@ -5,8 +5,8 @@
%define with_lua 1
# Use bundled lua. If 0, then use distro lua
%define with_bundled_lua 0
-# Add my emitUnicode lua script
-%define with_emitunicode 1
+# Add my custom lua script
+%define with_custom_script 1
# Choose GTK=2 or GTK=3. El6 is hardcoded to 2.
%define gtk_ 3
@@ -47,8 +47,8 @@ Url: http://www.scintilla.org/SciTE.html
Packager: B. Stack <bgstack15@gmail.com>
Source0: https://www.scintilla.org/scite%{tarballversion}.tgz
-%if 0%{with_emitunicode}
-Source1: emitUnicode.lua
+%if 0%{with_custom_script}
+Source1: stackrpms.lua
%endif
Source2: SciTEGlobal.properties
Patch0: scite-utf8.patch
@@ -121,8 +121,8 @@ desktop-file-install --delete-original \
--remove-key Encoding \
%{buildroot}%{_datadir}/applications/SciTE.desktop
-%if 0%{with_emitunicode}
-install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/scite/emitUnicode.lua
+%if 0%{with_custom_script}
+install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/scite/stackrpms.lua
%endif
install -D -p -m 666 %{SOURCE2} %{buildroot}%{_datadir}/scite/SciTEGlobal.properties
%if 0%{?fedora}
@@ -147,9 +147,9 @@ install -D -p -m 666 %{SOURCE2} %{buildroot}%{_datadir}/scite/SciTEGlobal.proper
%{_libdir}/*
%changelog
-* Mon Apr 04 2022 B. Stack <bgstack15@gmail.com> - 5.2.2-1/3.7.6-1
+* Mon Apr 04 2022 B. Stack <bgstack15@gmail.com> - 5.2.2-2/3.7.6-1
- Update version
-- Add tunables: gtk, lua, bundled lua, add emitunicode
+- Add tunables: gtk, lua, bundled lua, add stackrpms.lua
- Add customized SciTEGlobal.properties
* Thu Mar 24 2022 B. Stack <bgstack15@gmail.com> - 5.2.1-1/3.7.6-1
bgstack15