Initial import (#2211913)

epel9
Fabio Valentini 2 years ago
parent 2e7b0ac178
commit 106b6b0ac8
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/flagset-0.4.3.crate

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

@ -0,0 +1,80 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate flagset
Name: rust-flagset
Version: 0.4.3
Release: %autorelease
Summary: Data types and a macro for generating enumeration-based bit flags
License: Apache-2.0
URL: https://crates.io/crates/flagset
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Data types and a macro for generating enumeration-based bit flags.}
%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}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -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 @@
SHA512 (flagset-0.4.3.crate) = 3bf8d995bf148c1cbe4fcd3b4b48d6f99e8536f462afb9f9368e3461a2d6bacd5a7f2263a0668505cc58b7a7a9c1188bbbcc285be2963d1fb2cd1ea46dab8f08
Loading…
Cancel
Save