## 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 euclid Name: rust-euclid Version: 0.22.9 Release: %autorelease Summary: Geometry primitives # Upstream license specification: MIT / Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/euclid Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Geometry primitives.} %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}/COPYRIGHT %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+arbitrary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arbitrary-devel %{_description} This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "bytemuck" feature of the "%{crate}" crate. %files -n %{name}+bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libm-devel %{_description} This package contains library source intended for building other packages which use the "libm" feature of the "%{crate}" crate. %files -n %{name}+libm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mint-devel %{_description} This package contains library source intended for building other packages which use the "mint" feature of the "%{crate}" crate. %files -n %{name}+mint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 - 0.22.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 27 2023 Leo Puvilland - 0.22.9-1 - Initial import (fedora#2250466). * Mon Nov 27 2023 Tomas Hrcka - 0.22.6-4 - Unretirement request: https://pagure.io/releng/issue/11809 * Fri Jan 21 2022 Fedora Release Engineering - 0.22.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.22.6-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Fabio Valentini - 0.22.6-1 - update to version 0.22.6 * Sun May 30 2021 Fabio Valentini - 0.22.5-1 - update to version 0.22.5 * Wed May 19 2021 Fabio Valentini - 0.22.4-1 - update to version 0.22.4 * Wed Apr 21 2021 Fabio Valentini - 0.22.3-1 - update to version 0.22.3 * Tue Mar 02 2021 Fabio Valentini - 0.22.2-1 - update to version 0.22.2 * Wed Jan 27 2021 Fedora Release Engineering - 0.22.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 21 2020 returntrip - 0.22.1-1 - Update to 0.22.1 * Sat Aug 01 2020 returntrip - 0.22.0-1 - Update to 0.22.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.20.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.20.14-1 - Update to 0.20.14 * Sat Jun 13 2020 returntrip - 0.20.13-1 - Initial import (#1840179) ## END: Generated by rpmautospec