2 Commits

Author SHA256 Message Date
ffbeb21406 Accepting request 1316622 from utilities
OBS-URL: https://build.opensuse.org/request/show/1316622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/igrep?expand=0&rev=3
2025-11-09 20:09:38 +00:00
3644d34f89 - Fix build on Factory/TW (update vendor.tar.zst)
- Remove cargo_config - it's part of the vendor.tar.zst now
- Clean up spec file
- Clean up _service file
  * Rename 'disabled' to 'manual'
  * Remove cargo_audit (now part of cargo_vendor)
  * Add '<param name="filter">true</param>' to reduce the size of
    vendor.tar.zst

OBS-URL: https://build.opensuse.org/package/show/utilities/igrep?expand=0&rev=6
2025-11-08 20:30:14 +00:00
6 changed files with 30 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
<services>
<service mode="disabled" name="obs_scm">
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/konradsz/igrep.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
@@ -8,18 +8,16 @@
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<service mode="manual" name="tar"/>
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">igrep</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">igrep</param>
<service mode="manual" name="set_version"/>
<service mode="manual" name="cargo_vendor">
<param name="srcdir">igrep</param>
<param name="compression">zst</param>
<param name="update">true</param>
<param name="filter">true</param>
</service>
</services>

View File

@@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f21468a8993177f00972e8525c608f137af63a72eb01a30de4d54380d7a2e0e8
size 1032661
oid sha256:a8419b476680199e15db40982f888145b61309387e65f8688ec221e66c650d1c
size 1031641

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Nov 8 18:04:40 UTC 2025 - munix9@googlemail.com
- Fix build on Factory/TW (update vendor.tar.zst)
- Remove cargo_config - it's part of the vendor.tar.zst now
- Clean up spec file
- Clean up _service file
* Rename 'disabled' to 'manual'
* Remove cargo_audit (now part of cargo_vendor)
* Add '<param name="filter">true</param>' to reduce the size of
vendor.tar.zst
-------------------------------------------------------------------
Mon Sep 9 06:30:10 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package igrep
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,19 +21,17 @@ Version: 1.3.0~0
Release: 0
Summary: Interactive Grep
License: MIT
Group: Development/Tools/Navigators
URL: https://github.com/konradsz/igrep
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging
%description
Runs grep in the background, allows interactively pick its results and open selected match in text editor of choice.
Runs grep in the background, allows interactively pick its results
and open selected match in text editor of choice.
%prep
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
@@ -45,8 +43,8 @@ install -D -m 644 %{SOURCE2} .cargo/config
%{cargo_test}
%files
%{_bindir}/ig
%doc README.md
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/ig
%changelog

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e8589740484135af7c6ab1ed31c30e3b5fe963a34ee256f75f3eee7db85cc9d
size 23147797
oid sha256:c79dcbe180c0e812c907ab9a0fd55c6c7ccaae7daf49b030bf07684f12791ea7
size 7251306