Compare commits

..

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

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

@ -1,24 +1,29 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 18
# * outdated dev-dependency: clang-sys # * Tests are run in infrastructure
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate cexpr %global crate cexpr
Name: rust-cexpr Name: rust-%{crate}
Version: 0.6.0 Version: 0.6.0
Release: %autorelease Release: %autorelease
Summary: C expression parser and evaluator Summary: C expression parser and evaluator
# Upstream license specification: Apache-2.0/MIT # Upstream license specification: Apache-2.0/MIT
License: Apache-2.0 OR MIT License: ASL 2.0 or MIT
URL: https://crates.io/crates/cexpr URL: https://crates.io/crates/cexpr
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:
A C expression parser and evaluator.} C expression parser and evaluator.}
%description %{_description} %description %{_description}
@ -28,13 +33,12 @@ 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-APACHE %license LICENSE-MIT LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -42,11 +46,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