Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 73e353e3e6 | |||
| b263e39357 | |||
| 4fa6ca7392 | |||
| 59e7fdc2df | |||
| ab323ea2fe | |||
|
|
73cd5a717c | ||
| 26aa97f3db | |||
|
|
1bb7c44d03 | ||
| dcd82adb24 | |||
|
|
49fc9d474b |
5
_service
5
_service
@@ -3,7 +3,7 @@
|
||||
<param name="url">https://github.com/ajeetdsouza/zoxide</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v0.9.4</param>
|
||||
<param name="revision">v0.9.8</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
@@ -18,7 +18,4 @@
|
||||
<param name="srcdir">zoxide</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">zoxide</param>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9422cc00c34ffb13b4caff64ae9ec91193ca3bcc4912b1ca32ebb2db878958d7
|
||||
size 12724572
|
||||
oid sha256:7190529941663d73e4a140712acf4120e8fe12606307b3a83927a923a8011b3a
|
||||
size 10235500
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e6b7c8e9cac03fa3b03130613b7a304137e0df42bcd9e1a471f5ac338438aaf
|
||||
size 974549
|
||||
3
zoxide-0.9.8.tar.gz
Normal file
3
zoxide-0.9.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33d6a888e2c242398bb7f65f21d20e88d2a656580791ef6d64e2e2dbe7f6cd21
|
||||
size 2007493
|
||||
@@ -1,3 +1,79 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 13:12:09 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- fix build without %check (boo#1227364)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 13:27:53 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to 0.9.8:
|
||||
Added
|
||||
* Support for Tcsh.
|
||||
* Added --score flag to zoxide add.
|
||||
* POSIX: add doctor to diagnose common issues.
|
||||
* Nushell: add CLI completions.
|
||||
Changed
|
||||
* Bash: zoxide will now automatically cd when selecting Space-Tab completions.
|
||||
Fixed
|
||||
* Bash: doctor now handles PROMPT_COMMAND being an array.
|
||||
* Bash: doctor now handles Visual Studio Code's shell integration.
|
||||
* Bash: completions now work with ble.sh.
|
||||
* Nushell: stop ignoring symlinks when cd-ing into a directory.
|
||||
* Fzf: updated minimum supported version to v0.51.0.
|
||||
* PowerShell: avoid setting $error when defining __zoxide_hooked.
|
||||
* PowerShell: handle special characters in file paths when cd-ing into them.
|
||||
* Database corruption issue when the filesystem is 100% full.
|
||||
|
||||
- added %check section to run unit tests
|
||||
- compress manpages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 07:45:43 UTC 2025 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.9.7:
|
||||
Added:
|
||||
* Nushell: support for 0.102.0.
|
||||
* Bash / Zsh: add doctor to diagnose common issues.
|
||||
Fixed:
|
||||
* ksh: alias to regular POSIX implementation for better compatibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 13:15:08 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.9.6:
|
||||
* Fish: builtin abbr doesn't work on older versions.
|
||||
* Zsh: make __zoxide_z_complete available with --no-cmd.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 02:44:11 UTC 2024 - pallas wept <pallaswept@proton.me>
|
||||
|
||||
- Update to 0.9.5:
|
||||
Added:
|
||||
* zsh: improved cd completions.
|
||||
* Lazily delete excluded directories from the database.
|
||||
* fish: detect infinite loop when using alias cd=z.
|
||||
* Installer: added flags for --bin-dir, --man-dir, --arch, and --sudo.
|
||||
* Nushell: support for v0.94.0+.
|
||||
* bash/fish/zsh: support for z -- dir style queries.
|
||||
* fish: improved Space-Tab completions.
|
||||
* ksh: added support for the Korn shell.
|
||||
Changed:
|
||||
* fzf: removed --select-1 from default options. The interactive selector will
|
||||
now open up even if there is only one match.
|
||||
* Enforce that $_ZO_DATA_DIR is an absolute path.
|
||||
Fixed:
|
||||
* zsh: Space-Tab completion repeating output multiple times when matching single
|
||||
directory
|
||||
* fish / Nushell / PowerShell: handle queries that look like args (e.g. z -x).
|
||||
* elvish: z - now works as expected.
|
||||
* fish: generated shell code avoids using aliased builtins.
|
||||
* fish: cd command is now copied directly from
|
||||
$__fish_data_dir/functions/cd.fish. This should minimize the chances of an
|
||||
infinite loop when aliasing cd=z.
|
||||
* Symlinks not getting added to the database when $_ZO_RESOLVE_SYMLINKS=0.
|
||||
* Symlinked database files getting replaced instead of the actual files.
|
||||
- Use new cargo service features for package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 06:24:35 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
||||
22
zoxide.spec
22
zoxide.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zoxide
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
|
||||
|
||||
Name: zoxide
|
||||
Version: 0.9.4
|
||||
Version: 0.9.8
|
||||
Release: 0
|
||||
Summary: A smarter cd command
|
||||
License: MIT
|
||||
@@ -27,9 +26,10 @@ Group: System/Console
|
||||
URL: https://github.com/ajeetdsouza/zoxide
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
BuildRequires: cargo
|
||||
BuildRequires: rust >= 1.31
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: gzip
|
||||
BuildRequires: rust >= 1.85.0
|
||||
|
||||
%description
|
||||
zoxide is a smarter cd command, inspired by z and autojump. It remembers
|
||||
@@ -39,9 +39,6 @@ just a few keystrokes.
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
install -d -m 0755 .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
export RUSTFLAGS=%{rustflags}
|
||||
cargo build --release %{?_smp_mflags}
|
||||
@@ -49,10 +46,12 @@ cargo build --release %{?_smp_mflags}
|
||||
%install
|
||||
export RUSTFLAGS=%{rustflags}
|
||||
RUSTFLAGS=%{rustflags} cargo install --path . --root=%{buildroot}%{_prefix} %{?_smp_mflags}
|
||||
# compress manpages
|
||||
gzip man/man1/%{name}*.1
|
||||
|
||||
# install manpages
|
||||
ls -la
|
||||
install -Dpm 644 man/man1/%{name}*.1 -t %{buildroot}%{_mandir}/man1/
|
||||
install -Dpm 644 man/man1/%{name}*.1%{?ext_man} -t %{buildroot}%{_mandir}/man1/
|
||||
|
||||
# install shell completions
|
||||
install -Dpm 644 contrib/completions/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||
@@ -62,11 +61,14 @@ install -Dpm 644 contrib/completions/%{name}.fish -t %{buildroot}/%{_datadir}/fi
|
||||
# remove residue crate file
|
||||
rm -f %{buildroot}%{_prefix}/.crates*
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}*.1*
|
||||
%{_mandir}/man1/%{name}*.1%{?ext_man}
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
|
||||
Reference in New Issue
Block a user