From cf9f49d42e411f2ce36a4966db70f92031a2c672 Mon Sep 17 00:00:00 2001 From: infinitebash Date: Sun, 31 Dec 2023 16:35:10 -0800 Subject: [PATCH] fix: nushell (#871) remove non-existent dependency and correct post-install script --- anda/langs/rust/nushell/nushell.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index e73757914f..0425d2de9d 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -6,7 +6,7 @@ License: MIT URL: https://www.nushell.sh/ Source0: https://github.com/nushell/nushell/archive/refs/tags/%version.tar.gz BuildRequires: anda-srpm-macros rust-packaging openssl-devel -Requires: glibc gcc-libs openssl zlib +Requires: glibc openssl zlib %description %summary. @@ -30,6 +30,7 @@ if [ "$1" = 1 ]; then else grep -q "^%{_bindir}/nu$" %{_sysconfdir}/shells || echo "%{_bindir}/nu" >> %{_sysconfdir}/shells grep -q "^/bin/nu$" %{_sysconfdir}/shells || echo "/bin/nu" >> %{_sysconfdir}/shells + fi fi %postun