|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate prettyplease
|
|
|
|
%global crate prettyplease
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-prettyplease
|
|
|
|
Name: rust-prettyplease
|
|
|
|
Version: 0.1.22
|
|
|
|
Version: 0.2.16
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Minimal syn syntax tree pretty-printer
|
|
|
|
Summary: Minimal syn syntax tree pretty-printer
|
|
|
|
|
|
|
|
|
|
|
@ -13,10 +13,10 @@ License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/prettyplease
|
|
|
|
URL: https://crates.io/crates/prettyplease
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Minimal `syn` syntax tree pretty-printer.}
|
|
|
|
A minimal `syn` syntax tree pretty-printer.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ use the "verbatim" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|