Compare commits

..

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

@ -0,0 +1,3 @@
# rust-approx
The rust-approx package

@ -1,19 +1,22 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate approx %global crate approx
Name: rust-approx Name: rust-%{crate}
Version: 0.5.1 Version: 0.5.1
Release: %autorelease Release: %autorelease
Summary: Approximate floating point equality comparisons and assertions Summary: Approximate floating point equality comparisons and assertions
License: Apache-2.0 # Upstream license specification: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/approx URL: https://crates.io/crates/approx
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Approximate floating point equality comparisons and assertions.} Approximate floating point equality comparisons and assertions.}
@ -30,9 +33,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE %license LICENSE
%doc %{crate_instdir}/README.md %doc README.md
%{crate_instdir}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -44,7 +47,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{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
%package -n %{name}+num-complex-devel %package -n %{name}+num-complex-devel
Summary: %{summary} Summary: %{summary}
@ -56,7 +59,7 @@ This package contains library source intended for building other packages which
use the "num-complex" feature of the "%{crate}" crate. use the "num-complex" feature of the "%{crate}" crate.
%files -n %{name}+num-complex-devel %files -n %{name}+num-complex-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -68,7 +71,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-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