Initial import (#2252746)

epel10
Fabio Valentini 1 year ago
parent 73acf6d731
commit ac0cc66f85
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/serde-untagged-0.1.1.crate

@ -1,3 +0,0 @@
# rust-serde-untagged
The rust-serde-untagged package

@ -0,0 +1,69 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate serde-untagged
Name: rust-serde-untagged
Version: 0.1.1
Release: %autorelease
Summary: Serde Visitor implementation for deserializing untagged enums
License: MIT OR Apache-2.0
URL: https://crates.io/crates/serde-untagged
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Serde `Visitor` implementation for deserializing untagged enums.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%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
%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 @@
SHA512 (serde-untagged-0.1.1.crate) = 8b0137f6edb1011efe0ab2d6a4d3f091fbb963946036fdb66f8ec0ea475743e743086dd01468f02230815f4741109a321bf39ad0539ebd3af90612a043d2bd78
Loading…
Cancel
Save