# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate path-absolutize Name: rust-%{crate} Version: 3.0.0 Release: 2%{?dist} Summary: Get an absolute path without dots in `Path` and `PathBuf` # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/path-absolutize Source: %{crates_source} # Initial patched metadata # * No Windows Patch0: path-absolutize-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Library for extending `Path` and `PathBuf` in order to get an absolute path and remove the containing dots.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+lazy_static_cache-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static_cache-devel %{_description} This package contains library source intended for building other packages which use "lazy_static_cache" feature of "%{crate}" crate. %files -n %{name}+lazy_static_cache-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unsafe_cache-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unsafe_cache-devel %{_description} This package contains library source intended for building other packages which use "unsafe_cache" feature of "%{crate}" crate. %files -n %{name}+unsafe_cache-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 21 09:06:41 CEST 2020 Igor Raits - 3.0.0-1 - Update to 3.0.0 * Thu May 28 2020 Josh Stone - 2.0.2-1 - Update to 2.0.2 * Wed May 27 12:12:10 CEST 2020 Igor Raits - 2.0.1-1 - Update to 2.0.1 * Wed May 27 07:21:23 CEST 2020 Igor Raits - 2.0.0-1 - Update to 2.0.0 * Tue May 26 11:51:56 CEST 2020 Igor Raits - 1.2.1-1 - Initial package