public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tame-index] epel10: Initial import (#2243016)
@ 2026-09-21 15:11 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-21 15:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-tame-index
Branch : epel10
Commit : 1b46f10e7e20fcb2aa47e0d635ffab706e3f0dd7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-11-02T23:56:30+01:00
Stats  : +208/-3 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tame-index/c/1b46f10e7e20fcb2aa47e0d635ffab706e3f0dd7?branch=epel10

Log:
Initial import (#2243016)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b6a80b0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tame-index-0.7.2.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index 954068b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tame-index
-
-The rust-tame-index package

diff --git a/rust-tame-index.spec b/rust-tame-index.spec
new file mode 100644
index 0000000..8f92e78
--- /dev/null
+++ b/rust-tame-index.spec
@@ -0,0 +1,140 @@
+# Generated by rust2rpm 25
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate tame-index
+
+Name:           rust-tame-index
+Version:        0.7.2
+Release:        %autorelease
+Summary:        Access to local and remote cargo registry indices
+
+License:        Apache-2.0 OR MIT
+URL:            https://crates.io/crates/tame-index
+Source:         %{crates_source}
+# Automatically generated patch to strip dependencies and normalize metadata
+Patch:          tame-index-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * remove unused benchmark-only tiny-bench dev-dependency
+# * bump optional gix dependency from 0.54 to 0.55
+Patch:          tame-index-fix-metadata.diff
+
+BuildRequires:  cargo-rpm-macros >= 24
+
+%global _description %{expand:
+Provides access to local and remote cargo registry indices.}
+
+%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
+%doc %{crate_instdir}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/CONTRIBUTING.md
+%doc %{crate_instdir}/README.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}+git-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+git-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "git" feature of the "%{crate}" crate.
+
+%files       -n %{name}+git-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+local-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+local-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "local" feature of the "%{crate}" crate.
+
+%files       -n %{name}+local-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+local-builder-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+local-builder-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "local-builder" feature of the "%{crate}" crate.
+
+%files       -n %{name}+local-builder-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+native-certs-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+native-certs-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "native-certs" feature of the "%{crate}" crate.
+
+%files       -n %{name}+native-certs-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+sparse-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+sparse-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sparse" feature of the "%{crate}" crate.
+
+%files       -n %{name}+sparse-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires -a
+
+%build
+%cargo_build -a
+
+%install
+%cargo_install -a
+
+%if %{with check}
+%check
+# * skip tests that require a cargo cache directory
+# * skip tests that require internet connectivity
+%cargo_test -a -- -- --exact --skip builds_local_registry --skip can_take_shared_lock --skip clones_new --skip downloads_and_verifies --skip end_to_end --skip fetch_invalidates_cache --skip non_main_local_branch --skip opens_existing --skip parses_current_cargo_cache --skip serializes_current_cargo_cache --skip updates_cache --skip wait_lock_times_out --skip waits_lock
+%endif
+
+%changelog
+%autochangelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..5e3e740
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,25 @@
+[features]
+enable-all = true
+
+[tests]
+skip = [
+    "builds_local_registry",
+    "can_take_shared_lock",
+    "clones_new",
+    "downloads_and_verifies",
+    "end_to_end",
+    "fetch_invalidates_cache",
+    "non_main_local_branch",
+    "opens_existing",
+    "parses_current_cargo_cache",
+    "serializes_current_cargo_cache",
+    "updates_cache",
+    "wait_lock_times_out",
+    "waits_lock",
+]
+skip-exact = true
+comments = [
+    "skip tests that require a cargo cache directory",
+    "skip tests that require internet connectivity",
+]
+

diff --git a/sources b/sources
new file mode 100644
index 0000000..aa6e47e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tame-index-0.7.2.crate) = 5c979dfbd809d33f96e59c7c22d3ffbd11d2ded712f44edf15bf8e26ca87f6af15f67b02e6d0326c11d695e699f3a3a20fd90aa06491c52b946791441b0177ce

diff --git a/tame-index-fix-metadata-auto.diff b/tame-index-fix-metadata-auto.diff
new file mode 100644
index 0000000..2e515df
--- /dev/null
+++ b/tame-index-fix-metadata-auto.diff
@@ -0,0 +1,8 @@
+--- tame-index-0.7.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tame-index-0.7.2/Cargo.toml	2023-10-28T14:28:12.425084+00:00
+@@ -155,5 +155,3 @@
+ [target."cfg(unix)".dependencies.libc]
+ version = "0.2"
+ 
+-[target."cfg(windows)".dependencies.windows-targets]
+-version = "0.48"

diff --git a/tame-index-fix-metadata.diff b/tame-index-fix-metadata.diff
new file mode 100644
index 0000000..c44c6fd
--- /dev/null
+++ b/tame-index-fix-metadata.diff
@@ -0,0 +1,33 @@
+--- tame-index-0.7.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tame-index-0.7.2/Cargo.toml	2023-10-28T14:28:30.094135+00:00
+@@ -31,11 +31,6 @@
+ [profile.dev.package.sha2]
+ opt-level = 3
+ 
+-[[bench]]
+-name = "sparse"
+-harness = false
+-required-features = ["sparse"]
+-
+ [dependencies.bytes]
+ version = "1.4"
+ optional = true
+@@ -48,7 +43,7 @@
+ optional = true
+ 
+ [dependencies.gix]
+-version = "0.54"
++version = "0.55"
+ features = ["blocking-http-transport-reqwest"]
+ optional = true
+ default-features = false
+@@ -127,9 +122,6 @@
+ [dev-dependencies.tempfile]
+ version = "3.6"
+ 
+-[dev-dependencies.tiny-bench]
+-version = "0.3"
+-
+ [features]
+ default = ["reqwest?/rustls-tls-webpki-roots"]
+ git = [

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-21 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 15:11 [rpms/rust-tame-index] epel10: Initial import (#2243016) Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox