SHA256
5
0
forked from pool/igrep

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> <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="url">https://github.com/konradsz/igrep.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param> <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param> <param name="scm">git</param>
@@ -8,18 +8,16 @@
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
</service> </service>
<service mode="disabled" name="tar" /> <service mode="manual" name="tar"/>
<service mode="disabled" name="recompress"> <service mode="manual" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">zst</param> <param name="compression">zst</param>
</service> </service>
<service mode="disabled" name="set_version"/> <service mode="manual" name="set_version"/>
<service name="cargo_vendor" mode="disabled"> <service mode="manual" name="cargo_vendor">
<param name="srcdir">igrep</param> <param name="srcdir">igrep</param>
<param name="compression">zst</param> <param name="compression">zst</param>
<param name="update">true</param> <param name="update">true</param>
</service> <param name="filter">true</param>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">igrep</param>
</service> </service>
</services> </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 version https://git-lfs.github.com/spec/v1
oid sha256:f21468a8993177f00972e8525c608f137af63a72eb01a30de4d54380d7a2e0e8 oid sha256:a8419b476680199e15db40982f888145b61309387e65f8688ec221e66c650d1c
size 1032661 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> Mon Sep 9 06:30:10 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package igrep # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -21,19 +21,17 @@ Version: 1.3.0~0
Release: 0 Release: 0
Summary: Interactive Grep Summary: Interactive Grep
License: MIT License: MIT
Group: Development/Tools/Navigators
URL: https://github.com/konradsz/igrep URL: https://github.com/konradsz/igrep
Source0: %{name}-%{version}.tar.zst Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
%description %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 %prep
%autosetup -a1 %autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build %build
%{cargo_build} %{cargo_build}
@@ -45,8 +43,8 @@ install -D -m 644 %{SOURCE2} .cargo/config
%{cargo_test} %{cargo_test}
%files %files
%{_bindir}/ig
%doc README.md
%license LICENSE %license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/ig
%changelog %changelog

View File

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