Regenerate with rust2rpm v24

epel10
Fabio Valentini 2 years ago
parent 8140eca3c1
commit 63ccebc0c1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,5 +1,5 @@
--- ansi_term-0.12.1/Cargo.toml 1970-01-01T00:00:00+00:00 --- ansi_term-0.12.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ ansi_term-0.12.1/Cargo.toml 2019-09-16T12:25:25.538071+00:00 +++ ansi_term-0.12.1/Cargo.toml 2023-04-12T17:08:43.360589+00:00
@@ -38,6 +38,3 @@ @@ -38,6 +38,3 @@
[features] [features]

@ -1,28 +1,21 @@
# Generated by rust2rpm 10 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate ansi_term %global crate ansi_term
Name: rust-%{crate} Name: rust-ansi_term
Version: 0.12.1 Version: 0.12.1
Release: %autorelease Release: %autorelease
Summary: Library for ANSI terminal colours and styles (bold, underline) Summary: Library for ANSI terminal colours and styles (bold, underline)
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/ansi_term URL: https://crates.io/crates/ansi_term
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No winapi Patch: ansi_term-fix-metadata-auto.diff
Patch0: ansi_term-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:
Library for ANSI terminal colours and styles (bold, underline).} Library for ANSI terminal colours and styles (bold, underline).}
@ -35,13 +28,13 @@ 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 LICENCE %license %{crate_instdir}/LICENCE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +42,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}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+derive_serde_style-devel %package -n %{name}+derive_serde_style-devel
Summary: %{summary} Summary: %{summary}
@ -61,11 +54,11 @@ BuildArch: noarch
%description -n %{name}+derive_serde_style-devel %{_description} %description -n %{name}+derive_serde_style-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 "derive_serde_style" feature of "%{crate}" crate. use the "derive_serde_style" feature of the "%{crate}" crate.
%files -n %{name}+derive_serde_style-devel %files -n %{name}+derive_serde_style-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -73,11 +66,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-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 "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save