## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate prettyplease Name: rust-prettyplease Version: 0.2.16 Release: %autorelease Summary: Minimal syn syntax tree pretty-printer License: MIT OR Apache-2.0 URL: https://crates.io/crates/prettyplease Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A minimal `syn` syntax tree pretty-printer.} %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}+verbatim-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbatim-devel %{_description} This package contains library source intended for building other packages which use the "verbatim" feature of the "%{crate}" crate. %files -n %{name}+verbatim-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 * Mon Jan 15 2024 Arkady L. Shane - 0.2.16-1 - Rebuilt for MSVSphere 9.3 * Wed Jan 03 2024 Fabio Valentini - 0.2.16-1 - Update to version 0.2.16; Fixes RHBZ#2256414 * Fri Sep 15 2023 Fabio Valentini - 0.2.15-1 - Update to version 0.2.15; Fixes RHBZ#2237046 * Fri Jul 21 2023 Fabio Valentini - 0.2.12-1 - Update to version 0.2.12; Fixes RHBZ#2224455 * Wed Jul 05 2023 Fabio Valentini - 0.2.10-1 - Update to version 0.2.10; Fixes RHBZ#2219690 * Fri Jun 23 2023 Fabio Valentini - 0.2.9-1 - Update to version 0.2.9; Fixes RHBZ#2215660 * Mon May 29 2023 Fabio Valentini - 0.2.6-1 - Update to version 0.2.6; Fixes RHBZ#2209377 * Sat May 20 2023 Fabio Valentini - 0.2.5-1 - Update to version 0.2.5; Fixes RHBZ#2203584 * Tue Apr 18 2023 Fabio Valentini - 0.2.4-1 - Update to version 0.2.4; Fixes RHBZ#2181060 * Wed Mar 15 2023 Fabio Valentini - 0.1.25-1 - Update to version 0.1.25; Fixes RHBZ#2178370 * Mon Mar 06 2023 Fabio Valentini - 0.1.24-1 - Update to version 0.1.24; Fixes RHBZ#2175579 * Fri Jan 13 2023 Jan Macku - 0.1.23-1 - Update to version 0.1.23 * Tue Dec 20 2022 Fabio Valentini - 0.1.22-1 - Update to version 0.1.22; Fixes RHBZ#2154588 * Mon Oct 31 2022 Jan Macku - 0.1.21-1 - Initial import