public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-platforms] epel10: Package unretirement and update to version 3.1.2 (#2242764)
@ 2026-11-18 18:42 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-18 18:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-platforms
Branch : epel10
Commit : 55f4eafce8ec4015a26bc649bcba7f5dd6fee271
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-10-23T23:30:20+02:00
Stats : +26/-32 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-platforms/c/55f4eafce8ec4015a26bc649bcba7f5dd6fee271?branch=epel10
Log:
Package unretirement and update to version 3.1.2 (#2242764)
---
diff --git a/.gitignore b/.gitignore
index f7f485b..63fcd2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/platforms-0.2.1.crate
+/platforms-3.1.2.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 3307c52..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-platforms
-
-The rust-platforms package
\ No newline at end of file
diff --git a/rust-platforms.spec b/rust-platforms.spec
index 3c0408f..5fc5a08 100644
--- a/rust-platforms.spec
+++ b/rust-platforms.spec
@@ -1,29 +1,23 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate platforms
-Name: rust-%{crate}
-Version: 0.2.1
+Name: rust-platforms
+Version: 3.1.2
Release: %autorelease
Summary: Rust platform registry with information about valid Rust platforms
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: Apache-2.0 OR MIT
URL: https://crates.io/crates/platforms
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Rust platform registry with information about valid Rust platforms (target
-triple, target_arch, target_os) sourced from Rust Forge.}
+Rust platform registry with information about valid Rust platforms
+(target triple, target_arch, target_os) sourced from the Rust compiler.}
%description %{_description}
@@ -33,13 +27,15 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +43,11 @@ 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.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -59,11 +55,11 @@ 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.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@@ -71,14 +67,14 @@ 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.
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/sources b/sources
index b7a8a26..03fb72f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (platforms-0.2.1.crate) = 517aa9cea60a6ccff307a6751da9ea70ddc918cad4353f254323bce57d06875a9ea54ccbe3dfa633dd722e5d1b473eceb4a2a9df5120f161d3e0fe19d9e1158e
+SHA512 (platforms-3.1.2.crate) = f674011417531b38a2035ff15274b26628b410e609b1af18a124825bae5f8f25145499b742f6a9d7edb48f5dfc3610dbf7e7954c882f96029b1992d89653e69e
^ 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: Package unretirement and update to version 3.1.2 (#2242764) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox