parent
82efad32c4
commit
01e48ed639
@ -0,0 +1 @@
|
||||
/ansi_colours-1.0.1.crate
|
@ -0,0 +1,11 @@
|
||||
--- ansi_colours-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00
|
||||
+++ ansi_colours-1.0.1/Cargo.toml 2018-10-04T15:07:13.623734+02:00
|
||||
@@ -29,7 +29,7 @@
|
||||
version = "^0.2"
|
||||
|
||||
[dev-dependencies.lab]
|
||||
-version = "^0.4"
|
||||
+version = "^0.6"
|
||||
[build-dependencies.cc]
|
||||
version = "^1.0"
|
||||
[badges.maintenance]
|
@ -0,0 +1,65 @@
|
||||
# Generated by rust2rpm
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate ansi_colours
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 1.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: true-colour ↔ ANSI terminal palette converter
|
||||
|
||||
License: LGPLv3+
|
||||
URL: https://crates.io/crates/ansi_colours
|
||||
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||
# Initial patched metadata
|
||||
# * Bump lab to 0.6, https://github.com/mina86/ansi_colours/pull/1
|
||||
Patch0: ansi_colours-fix-metadata.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
# [build-dependencies]
|
||||
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
||||
%if %{with check}
|
||||
# [dev-dependencies]
|
||||
BuildRequires: (crate(delta_e) >= 0.2.0 with crate(delta_e) < 0.3.0)
|
||||
BuildRequires: (crate(lab) >= 0.6.0 with crate(lab) < 0.7.0)
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
true-colour ↔ ANSI terminal palette converter.
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use %{crate} from crates.io.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{cargo_registry}/%{crate}-%{version}/
|
||||
|
||||
%changelog
|
||||
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue