## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 read-process-memory Name: rust-read-process-memory Version: 0.1.6 Release: %autorelease Summary: Read memory from another process License: MIT URL: https://crates.io/crates/read-process-memory Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: read-process-memory-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop build of a test binary Patch: read-process-memory-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Read memory from another process.} %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}/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 # * skip tests that rely on executing the dropped test binary # * skip doctest that fails with an "Uncategorized" IO Error on armv7hl %cargo_test -- -- --skip test::test_read_large --skip test::test_read_small --skip readme %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 15 2023 Fabio Valentini - 0.1.6-1 - Update to version 0.1.6; Fixes RHBZ#2178387 * Sat Jan 21 2023 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Oct 05 2022 Fabio Valentini - 0.1.5-1 - Update to version 0.1.5; Fixes RHBZ#2131620 * Sun Jul 24 2022 Fabio Valentini - 0.1.4-1 - Update to version 0.1.4 * Sat Jul 23 2022 Fedora Release Engineering - 0.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.1.3-3 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Nov 18 2021 Davide Cavalca - 0.1.3-1 - Initial import; Fixes: RHBZ#2020676 ## END: Generated by rpmautospec