## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 25 %bcond_without check %global debug_package %{nil} %global crate ropey Name: rust-ropey Version: 1.6.1 Release: %autorelease Summary: Fast and robust text rope for Rust License: MIT URL: https://crates.io/crates/ropey Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Remove criterion dependency because it is only needed for benchmarking Patch: ropey-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A fast and robust text rope for Rust.} %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.md %doc %{crate_instdir}/CHANGELOG.md %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}+cr_lines-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cr_lines-devel %{_description} This package contains library source intended for building other packages which use the "cr_lines" feature of the "%{crate}" crate. %files -n %{name}+cr_lines-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+small_chunks-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+small_chunks-devel %{_description} This package contains library source intended for building other packages which use the "small_chunks" feature of the "%{crate}" crate. %files -n %{name}+small_chunks-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode_lines-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode_lines-devel %{_description} This package contains library source intended for building other packages which use the "unicode_lines" feature of the "%{crate}" crate. %files -n %{name}+unicode_lines-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 ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Oct 19 2023 blinxen - 1.6.1-1 - Update to version 1.6.1 (rhbz#2245088) * Sat Oct 14 2023 blinxen - 1.6.0-2 - Skip test that fails on i686 Upstream issue: https://github.com/cessen/ropey/issues/92 * Sat Oct 14 2023 blinxen - 1.6.0-1 - Initial package (rhbz#2243311) ## END: Generated by rpmautospec