Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

@ -0,0 +1,3 @@
# rust-sys-info
The rust-sys-info package

@ -1,23 +1,30 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate sys-info %global crate sys-info
Name: rust-sys-info Name: rust-%{crate}
Version: 0.9.1 Version: 0.9.1
Release: %autorelease Release: %autorelease
Summary: Get system information in Rust Summary: Get system information in Rust
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/sys-info URL: https://crates.io/crates/sys-info
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Get system information in Rust. For now it supports Linux, Mac OS X, Get system information in Rust.
illumos, Solaris, FreeBSD, OpenBSD, and Windows.} For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and
Windows.}
%description %{_description} %description %{_description}
@ -27,14 +34,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE %license LICENSE
%doc %{crate_instdir}/CHANGELOG.md %doc README.md CHANGELOG.md
%doc %{crate_instdir}/README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -42,11 +48,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "default" feature of the "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save