commit 532bcbc947317fcf48711f35ef83758f0f51be2f Author: tigro Date: Mon Jan 15 22:31:28 2024 +0300 import rust-rxml_proc-0.9.1-1.el9 diff --git a/.rust-rxml_proc.metadata b/.rust-rxml_proc.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/rxml_proc-0.9.1.crate b/SOURCES/rxml_proc-0.9.1.crate new file mode 100644 index 0000000..7141f0c Binary files /dev/null and b/SOURCES/rxml_proc-0.9.1.crate differ diff --git a/SPECS/rust-rxml_proc.spec b/SPECS/rust-rxml_proc.spec new file mode 100644 index 0000000..f193dc6 --- /dev/null +++ b/SPECS/rust-rxml_proc.spec @@ -0,0 +1,92 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate rxml_proc + +Name: rust-rxml_proc +Version: 0.9.1 +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 +* Mon Jan 15 2024 Arkady L. Shane - 0.9.1-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Aug 31 2023 Fabio Valentini - 0.9.1-1 +- Update to version 0.9.1; Fixes RHBZ#2164391 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 03 2023 Michel Alexandre Salim - 0.8.2-1 +- Initial Fedora package