## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 26 %bcond_without check %global debug_package %{nil} %global crate relative-path Name: rust-relative-path Version: 1.9.3 Release: %autorelease Summary: Portable, relative paths for Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/relative-path Source: %{crates_source} # * Missing Apache-2.0 license text; see “Add license files to the crate # tarballs,” https://github.com/udoprog/relative-path/pull/60 Source10: https://github.com/udoprog/relative-path/raw/refs/tags/%{version}/LICENSE-APACHE # * Missing MIT license text; see “Add license files to the crate tarballs,” # https://github.com/udoprog/relative-path/pull/60 Source11: https://github.com/udoprog/relative-path/raw/refs/tags/%{version}/LICENSE-MIT BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Portable, relative paths 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-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}+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 %prep %autosetup -n %{crate}-%{version} -p1 cp -p '%{SOURCE10}' '%{SOURCE11}' . %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Mon Nov 11 2024 Benjamin A. Beasley - 1.9.3-1 - Update to version 1.9.3; Fixes RHBZ#2255930 * Mon Nov 11 2024 Benjamin A. Beasley - 1.9.0-4 - Migrate from rust2rpm.conf to rust2rpm.toml * Sat Jul 20 2024 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 04 2023 Fabio Valentini 1.9.0-1 - Update to version 1.9.0 * Sat Jul 23 2022 Fedora Release Engineering 1.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 13 2022 Fabio Valentini 1.7.2-1 - Update to version 1.7.2; Fixes RHBZ#2105764 * Tue Mar 29 2022 Fabio Valentini 1.7.0-1 - Update to version 1.7.0; Fixes RHBZ#2066585 * Mon Feb 07 2022 Fabio Valentini 1.6.1-1 - Update to version 1.6.1; Fixes RHBZ#2051448 * Fri Jan 21 2022 Fedora Release Engineering 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Fabio Valentini 1.6.0-1 - Update to version 1.6.0; Fixes RHBZ#2028977 * Thu Jul 29 2021 Fabio Valentini 1.5.0-1 - Update to version 1.5.0; Fixes RHBZ#1987224 * Fri Jul 23 2021 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue May 04 2021 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0. - Fixes RHBZ#1956929 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 25 14:28:44 CET 2020 Igor Raits - 1.3.2-1 - Initial package ## END: Generated by rpmautospec