Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 6597971e63
commit 2e8ecd99b3
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/rxml_validation-0.8.2.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate rxml_validation
Name: rust-rxml_validation
Version: 0.8.2
Release: %autorelease
Summary: Plumbing crate for rxml and rxml_proc crates
License: MIT
URL: https://crates.io/crates/rxml_validation
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Plumbing crate for rxml and rxml_proc crates.}
%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}/COPYING
%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_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 (rxml_validation-0.8.2.crate) = bb856f290e77442233244d40ccee3a0ce8c775204e60f57f0bb52ba9d810623370bec74ccef285533ff01bce25565b30ab0b5edd75580b59277ce9ce4f130123
Loading…
Cancel
Save