public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-platforms] epel10: Initial package
@ 2026-11-18 18:42 Artem Polishchuk
  0 siblings, 0 replies; only message in thread
From: Artem Polishchuk @ 2026-11-18 18:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-platforms
Branch : epel10
Commit : 71a2f75ca5b924cc534a207394d8f734ef6a498b
Author : Artem Polishchuk <ego.cordatus@gmail.com>
Date   : 2020-03-18T20:32:25+02:00
Stats  : +102/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-platforms/c/71a2f75ca5b924cc534a207394d8f734ef6a498b?branch=epel10

Log:
Initial package

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f7f485b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/platforms-0.2.1.crate

diff --git a/rust-platforms.spec b/rust-platforms.spec
new file mode 100644
index 0000000..df77143
--- /dev/null
+++ b/rust-platforms.spec
@@ -0,0 +1,100 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate platforms
+
+Name:           rust-%{crate}
+Version:        0.2.1
+Release:        1%{?dist}
+Summary:        Rust platform registry with information about valid Rust platforms
+
+# Upstream license specification: MIT OR Apache-2.0
+License:        MIT or ASL 2.0
+URL:            https://crates.io/crates/platforms
+Source:         %{crates_source}
+
+ExclusiveArch:  %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch:      noarch
+%endif
+
+BuildRequires:  rust-packaging
+
+%global _description %{expand:
+Rust platform registry with information about valid Rust platforms (target
+triple, target_arch, target_os) sourced from Rust Forge.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files          devel
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate.
+
+%files       -n %{name}+serde-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+std-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "std" feature of "%{crate}" crate.
+
+%files       -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
+* Wed Mar 18 14:51:10 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.2.1-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..b7a8a26
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (platforms-0.2.1.crate) = 517aa9cea60a6ccff307a6751da9ea70ddc918cad4353f254323bce57d06875a9ea54ccbe3dfa633dd722e5d1b473eceb4a2a9df5120f161d3e0fe19d9e1158e

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

only message in thread, other threads:[~2026-11-18 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 18:42 [rpms/rust-platforms] epel10: Initial package Artem Polishchuk

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