Update to version 0.1.7; Fixes RHBZ#2158499

epel9
Fabio Valentini 2 years ago
parent cdf1587e0e
commit 8d8cf03994
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/grep-cli-0.1.4.crate /grep-cli-0.1.4.crate
/grep-cli-0.1.5.crate /grep-cli-0.1.5.crate
/grep-cli-0.1.6.crate /grep-cli-0.1.6.crate
/grep-cli-0.1.7.crate

@ -1,3 +0,0 @@
# rust-grep-cli
The rust-grep-cli package

@ -0,0 +1,8 @@
--- grep-cli-0.1.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ grep-cli-0.1.7/Cargo.toml 2023-04-17T14:01:01.870357+00:00
@@ -54,5 +54,3 @@
[dependencies.termcolor]
version = "1.0.4"
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.1"

@ -1,8 +0,0 @@
--- grep-cli-0.1.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ grep-cli-0.1.6/Cargo.toml 2021-06-18T10:46:55.405106+00:00
@@ -45,5 +45,3 @@
[dependencies.termcolor]
version = "1.0.4"
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.1"

@ -1,28 +1,21 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate grep-cli %global crate grep-cli
Name: rust-%{crate} Name: rust-grep-cli
Version: 0.1.6 Version: 0.1.7
Release: %autorelease Release: %autorelease
Summary: Utilities for search oriented command line applications Summary: Utilities for search oriented command line applications
# Upstream license specification: Unlicense/MIT License: Unlicense OR MIT
License: Unlicense or MIT
URL: https://crates.io/crates/grep-cli URL: https://crates.io/crates/grep-cli
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop windows-specific dependencies Patch: grep-cli-fix-metadata-auto.diff
Patch0: grep-cli-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Utilities for search oriented command line applications.} Utilities for search oriented command line applications.}
@ -35,13 +28,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license UNLICENSE LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT
%doc README.md %license %{crate_instdir}/UNLICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (grep-cli-0.1.6.crate) = ffacb90586bb28afc3ab2a780be10c78f32b83c5ef5b28c7729ed61353ff5197bdafa485e87371d5ea10198bc9c28c46a22172a9fdb0adad0119274c503214ab SHA512 (grep-cli-0.1.7.crate) = 3465bc8831c7e67158640fb2d8b98673f6623591a7075546eeeaafe4dd39ae22d2241143e08cdf3409b8782fcff872655a5fc94d687d9176ff11118c42a92252

Loading…
Cancel
Save