public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cap-primitives] f43: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/349
@ 2026-08-25  9:21 releng-bot
  0 siblings, 0 replies; only message in thread
From: releng-bot @ 2026-08-25  9:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cap-primitives
Branch : f43
Commit : 7bfd5d984196b3133f5d70306e21036a84d4a70e
Author : releng-bot <releng-bot@fedoraproject.org>
Date   : 2026-08-25T07:56:48+00:00
Stats  : +128/-1 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cap-primitives/c/7bfd5d984196b3133f5d70306e21036a84d4a70e?branch=f43

Log:
Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/349

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8b32771
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/cap-primitives-0.13.10.crate
+/cap-primitives-0.21.1.crate
+/cap-primitives-0.22.1.crate
+/cap-primitives-0.24.2.crate

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ed83e0f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# rust-cap-primitives
+
+The rust-cap-primitives package

diff --git a/cap-primitives-fix-metadata.diff b/cap-primitives-fix-metadata.diff
new file mode 100644
index 0000000..ad9ca7b
--- /dev/null
+++ b/cap-primitives-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- cap-primitives-0.24.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ cap-primitives-0.24.2/Cargo.toml	2022-04-13T22:28:15.357300+00:00
+@@ -45,17 +45,3 @@
+ [target."cfg(not(windows))".dependencies.rustix]
+ version = "0.33.0"
+ features = ["procfs"]
+-[target."cfg(target_os = \"ios\")".dependencies.errno]
+-version = "0.2.8"
+-default-features = false
+-[target."cfg(target_os = \"macos\")".dependencies.errno]
+-version = "0.2.8"
+-default-features = false
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-
+-[target."cfg(windows)".dependencies.winapi-util]
+-version = "0.1.5"
+-
+-[target."cfg(windows)".dependencies.winx]
+-version = "0.31.0"

diff --git a/changelog b/changelog
new file mode 100644
index 0000000..98f0c1f
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Sat Dec 04 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.21.1-1
+- Update to upstream 0.21.1 (fixes rhbz#1976474)
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.10-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jun 08 10:53:32 CEST 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.13.10-1
+- Initial package

diff --git a/dead.package b/dead.package
deleted file mode 100644
index 0d143d3..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-unused as effort to package wasmtime is abandoned

diff --git a/rust-cap-primitives.spec b/rust-cap-primitives.spec
new file mode 100644
index 0000000..5c3ae2c
--- /dev/null
+++ b/rust-cap-primitives.spec
@@ -0,0 +1,89 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cap-primitives
+
+Name:           rust-%{crate}
+Version:        0.24.2
+Release:        %autorelease
+Summary:        Capability-based primitives
+
+# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+License:        ASL 2.0 or MIT
+URL:            https://crates.io/crates/cap-primitives
+Source:         %{crates_source}
+# Initial patched metadata
+# * drop non-linux dependencies
+Patch0:         cap-primitives-fix-metadata.diff
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging >= 21
+
+%global _description %{expand:
+Capability-based primitives.}
+
+%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}/COPYRIGHT
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-Apache-2.0_WITH_LLVM-exception
+%license %{crate_instdir}/LICENSE-MIT
+%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}+arbitrary-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+arbitrary-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "arbitrary" feature of the "%{crate}" crate.
+
+%files       -n %{name}+arbitrary-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

diff --git a/sources b/sources
new file mode 100644
index 0000000..463de8b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cap-primitives-0.24.2.crate) = 36f3b0f87406aa44446fdd332c015858ccd4a11b321bfad34d4569c4e7ea54303a73a3f0285ea47b97e02926b4a2c72255b0e8ac49d60b531ce814e1114274f4

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

only message in thread, other threads:[~2026-08-25  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  9:21 [rpms/rust-cap-primitives] f43: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/349 releng-bot

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