Initial import (#2242771)

epel9
Fabio Valentini 1 year ago
parent bd084cd67f
commit 1f6533b9a9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/test-case-core-3.2.1.crate

@ -1,3 +0,0 @@
# rust-test-case-core
The rust-test-case-core package

@ -0,0 +1,81 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate test-case-core
Name: rust-test-case-core
Version: 3.2.1
Release: %autorelease
Summary: Core procedural macro for generating parametrized test cases
License: MIT
URL: https://crates.io/crates/test-case-core
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Provides core functionality for parsing #[test_case(...)] procedural
macro attribute for generating parametrized test cases easily.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-regex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+with-regex-devel %{_description}
This package contains library source intended for building other packages which
use the "with-regex" feature of the "%{crate}" crate.
%files -n %{name}+with-regex-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,2 @@
[package]
summary = "Core procedural macro for generating parametrized test cases"

@ -0,0 +1 @@
SHA512 (test-case-core-3.2.1.crate) = aa794947a737e8cdc8323cd55f7166eb1d93718f887388dd9537721cd26100ccd2afa27d0a017104024ca3d032ced686c9f778cd01cdd6b15577ae7d3ce1ab3e
Loading…
Cancel
Save