Initial import (#2228228)

epel9
Fabio Valentini 1 year ago
parent 420ddcefde
commit 152afbb0b5
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/gix-glob-0.10.1.crate

@ -1,3 +0,0 @@
# rust-gix-glob
The rust-gix-glob package

@ -0,0 +1,22 @@
--- gix-glob-0.10.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-glob-0.10.1/Cargo.toml 2023-08-01T18:32:54.938103+00:00
@@ -15,7 +15,7 @@
name = "gix-glob"
version = "0.10.1"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
-description = "A WIP crate of the gitoxide project dealing with pattern matching"
+description = "Glob pattern matching implementation for gix"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"
@@ -38,10 +38,6 @@
features = ["std"]
default-features = false
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
-
[dependencies.gix-features]
version = "^0.32.1"

@ -0,0 +1,86 @@
# Generated by rust2rpm 24
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
%global crate gix-glob
Name: rust-gix-glob
Version: 0.10.1
Release: %autorelease
Summary: Glob pattern matching implementation for gix
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-glob
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * improve crate summary / description
# * drop unused optional dependency that is only useful for building docs
Patch: gix-glob-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Glob pattern matching implementation for gix.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (gix-glob-0.10.1.crate) = 7518c7729964e8a5a2f347e34e34a96cecc7dc789ee754d18e5262006f7ef18e85e4e77870425998c172ed3c6ae9ab96e7be7e79d5c143055a11898dc9d1dece
Loading…
Cancel
Save