Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 6d871a73d1
commit ce5f386993
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-colored
The rust-colored package

@ -1,5 +1,5 @@
--- colored-2.0.0/Cargo.toml 2020-07-14T06:26:13+00:00 --- colored-2.0.0/Cargo.toml 2020-07-14T06:26:13+00:00
+++ colored-2.0.0/Cargo.toml 2020-11-30T20:53:37.205056+00:00 +++ colored-2.0.0/Cargo.toml 2023-05-18T15:53:58.450468+00:00
@@ -33,7 +33,3 @@ @@ -33,7 +33,3 @@
[features] [features]

@ -1,32 +1,25 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 24
# * rspec is not packaged # * tests are not compatible with a stable version of rspec
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate colored %global crate colored
Name: rust-%{crate} Name: rust-colored
Version: 2.0.0 Version: 2.0.0
Release: %autorelease Release: %autorelease
Summary: Most simple way to add colors in your terminal Summary: Most simple way to add colors in your terminal
# Upstream license specification: MPL-2.0 License: MPL-2.0
License: MPLv2.0
URL: https://crates.io/crates/colored URL: https://crates.io/crates/colored
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No windows Patch: colored-fix-metadata-auto.diff
Patch0: colored-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Most simple way to add colors in your terminal.} The most simple way to add colors in your terminal.}
%description %{_description} %description %{_description}
@ -36,13 +29,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md CHANGELOG.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-color-devel %package -n %{name}+no-color-devel
Summary: %{summary} Summary: %{summary}
@ -62,14 +56,15 @@ BuildArch: noarch
%description -n %{name}+no-color-devel %{_description} %description -n %{name}+no-color-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "no-color" feature of "%{crate}" crate. use the "no-color" feature of the "%{crate}" crate.
%files -n %{name}+no-color-devel %files -n %{name}+no-color-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
# remove executable bit from source files
find -type f -executable -exec chmod -v -x '{}' + find -type f -executable -exec chmod -v -x '{}' +
%cargo_prep %cargo_prep

Loading…
Cancel
Save