Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

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

@ -1,25 +1,31 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate term %global crate term
Name: rust-term Name: rust-%{crate}
Version: 0.7.0 Version: 0.7.0
Release: %autorelease Release: %autorelease
Summary: Terminal formatting library Summary: Terminal formatting library
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/term URL: https://crates.io/crates/term
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies # Initial patched metadata
Patch: term-fix-metadata-auto.diff # * drop windows-specific dependencies
Patch0: term-fix-metadata.diff
BuildRequires: rust-packaging >= 21 ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
A terminal formatting library.} Terminal formatting library.}
%description %{_description} %description %{_description}
@ -29,14 +35,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE-APACHE %license LICENSE-MIT LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT %doc README.md
%doc %{crate_instdir}/README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -44,11 +49,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 which This package contains library source intended for building other packages
use the "default" feature of the "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1,12 +1,12 @@
--- term-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 --- term-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ term-0.7.0/Cargo.toml 2023-06-07T19:55:00.924042+00:00 +++ term-0.7.0/Cargo.toml 2021-08-06T12:38:29.799369+00:00
@@ -28,12 +28,6 @@ @@ -28,12 +28,7 @@
[features] [features]
default = [] default = []
-[target."cfg(windows)".dependencies.rustversion] -[target."cfg(windows)".dependencies.rustversion]
-version = "1" -version = "1"
-
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3" -version = "0.3"
-features = ["consoleapi", "wincon", "handleapi", "fileapi"] -features = ["consoleapi", "wincon", "handleapi", "fileapi"]
Loading…
Cancel
Save