|
|
@ -1,15 +1,14 @@
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate convert_case
|
|
|
|
%global crate convert_case
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-convert_case
|
|
|
|
Name: rust-convert_case
|
|
|
|
Version: 0.4.0
|
|
|
|
Version: 0.6.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Convert strings into any case
|
|
|
|
Summary: Convert strings into any case
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/rutrum/convert-case/commit/f72ca63
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/convert_case
|
|
|
|
URL: https://crates.io/crates/convert_case
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
@ -20,7 +19,7 @@ Source: %{crates_source}
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2142648
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2142648
|
|
|
|
Patch: convert_case-fix-metadata.diff
|
|
|
|
Patch: convert_case-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Convert strings into any case.}
|
|
|
|
Convert strings into any case.}
|
|
|
@ -37,6 +36,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%{crate_instdir}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
@ -77,7 +77,7 @@ use the "random" 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
|
|
|
|