## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 uuid Name: rust-uuid0.8 Version: 0.8.2 Release: %autorelease Summary: Library to generate and parse UUIDs License: Apache-2.0 OR MIT URL: https://crates.io/crates/uuid Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: uuid-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop Windows- and WASM-specific features and dependencies Patch: uuid-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: A library to generate and parse UUIDs.} %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}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/CONTRIBUTING.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}+getrandom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+getrandom-devel %{_description} This package contains library source intended for building other packages which use the "getrandom" feature of the "%{crate}" crate. %files -n %{name}+getrandom-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+guid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+guid-devel %{_description} This package contains library source intended for building other packages which use the "guid" feature of the "%{crate}" crate. %files -n %{name}+guid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+md5-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+md5-devel %{_description} This package contains library source intended for building other packages which use the "md5" feature of the "%{crate}" crate. %files -n %{name}+md5-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}+sha1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha1-devel %{_description} This package contains library source intended for building other packages which use the "sha1" feature of the "%{crate}" crate. %files -n %{name}+sha1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slog-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slog-devel %{_description} This package contains library source intended for building other packages which use the "slog" feature of the "%{crate}" crate. %files -n %{name}+slog-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}+v1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1-devel %{_description} This package contains library source intended for building other packages which use the "v1" feature of the "%{crate}" crate. %files -n %{name}+v1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v3-devel %{_description} This package contains library source intended for building other packages which use the "v3" feature of the "%{crate}" crate. %files -n %{name}+v3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v4-devel %{_description} This package contains library source intended for building other packages which use the "v4" feature of the "%{crate}" crate. %files -n %{name}+v4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v5-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v5-devel %{_description} This package contains library source intended for building other packages which use the "v5" feature of the "%{crate}" crate. %files -n %{name}+v5-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 ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 0.8.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 0.8.2-5 - Regenerate with rust2rpm v24 * Sat Jul 22 2023 Fedora Release Engineering - 0.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 06 2022 Fabio Valentini - 0.8.2-1 - Initial import (uuid 0.8 compat package) ## END: Generated by rpmautospec