Initial import (#2193415)

epel10
Fabio Valentini 2 years ago
parent 93ab8b8ca7
commit dde51e1f67
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/anstyle-query-1.0.0.crate

@ -1,3 +0,0 @@
# rust-anstyle-query
The rust-anstyle-query package

@ -0,0 +1,12 @@
--- anstyle-query-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ anstyle-query-1.0.0/Cargo.toml 2023-05-05T15:01:07.594233+00:00
@@ -71,9 +71,3 @@
[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
exactly = 1
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-features = [
- "Win32_System_Console",
- "Win32_Foundation",
-]

@ -0,0 +1,71 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate anstyle-query
Name: rust-anstyle-query
Version: 1.0.0
Release: %autorelease
Summary: Look up colored console capabilities
License: MIT OR Apache-2.0
URL: https://crates.io/crates/anstyle-query
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: anstyle-query-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Look up colored console capabilities.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (anstyle-query-1.0.0.crate) = 2781be5c82293b7ae338ec5046fbeb130de9eb2dbf2e4dfaa73ca5233032e1e52c133e141b02f33d4bc36d996a0a3f680ac82d42d614a5305005f60547133c7a
Loading…
Cancel
Save