SHA256
1
0
forked from pool/helix

- Remove helix-rpmlintrc

- Remove non-executable-script rpmlint error

OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=43
This commit is contained in:
Soc Virnyl Estela 2022-12-07 12:39:46 +00:00 committed by Git OBS Bridge
parent 81174b2795
commit 8a3728d8c4
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +0,0 @@
addFilter("files-duplicate")
addFilter("shared-library-without-dependency-information")

View File

@ -1,6 +1,7 @@
-------------------------------------------------------------------
Wed Dec 7 11:47:37 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
Wed Dec 7 12:36:05 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Remove helix-rpmlintrc
- Update to version 22.12:
* Breaking changes:
- Remove readline-like navigation bindings from the default insert mode keymap (e12690e, #3811, #3827, #3915, #4088)
@ -144,6 +145,7 @@ Wed Dec 7 11:47:37 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
* Other new changes can be found in https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2212-2022-12-06
- Improve _service file
- Remove helix.png since new logo is now shipped in the tarball
- Remove non-executable-script rpmlint error
-------------------------------------------------------------------
Sun Dec 4 13:11:27 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -32,6 +32,7 @@ Source4: README-suse-maint.md
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: cargo-packaging
BuildRequires: hicolor-icon-theme
Suggests: %{name}-runtime
ExclusiveArch: %{rust_arches}
@ -74,6 +75,11 @@ Zsh command-line completion support for %{name}.
mkdir -p .cargo
cp %{SOURCE2} .cargo/config.toml
for shell in bash fish zsh
do
sed -i "s|env ${shell}|${shell}|g" hx.${shell}
done
%package runtime
Summary: Runtime files for %{name}
Suggests: %{name}
@ -112,7 +118,7 @@ ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name}
install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/Helix.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
# Icon
install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -Dm644 -T %{_builddir}/%{name}-%{version}/logo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
# Shell completions
install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
@ -126,7 +132,7 @@ install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.zsh %{bu
%dir %{_libdir}/%{name}
# Desktop application file
%{_datadir}/pixmaps/*
{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/applications/*
# hx symlinked as helix