Initial Fedora package

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

1
.gitignore vendored

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

@ -0,0 +1,69 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate rxml_proc
Name: rust-rxml_proc
Version: 0.8.2
Release: %autorelease
Summary: Macros to perform compile-time XML string validations
License: MIT
URL: https://crates.io/crates/rxml_proc
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Macros to, at compile time, validate strings against the CData, Name and NCName
productions from the XML 1.0 grammar.}
%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_proc-0.8.2.crate) = 9b9e5fb8249b87d665d34bb9619416ca6eead22165a2259d336aff43ceef04284fa0543a8118df121135e9ab5dd5cefec15378cf5beca8d15ab1fbee1145ef1e
Loading…
Cancel
Save