Update to version 0.6.0; Fixes RHBZ#1981483

epel9
Rémi Lauzier 4 years ago
parent 24f433eac0
commit e020ec8ac1
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm
/palette-0.5.0.crate
/palette-0.6.0.crate

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

@ -1,20 +0,0 @@
--- palette-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ palette-0.5.0/Cargo.toml 2021-06-28T13:32:33.506702+00:00
@@ -23,7 +23,7 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ogeon/palette"
[dependencies.approx]
-version = "0.3"
+version = "0.5"
default-features = false
[dependencies.num-traits]
@@ -48,7 +48,7 @@
version = "1"
[dev-dependencies.image]
-version = "0.22"
+version = "0.23"
[dev-dependencies.lazy_static]
version = "1"

@ -1,22 +1,18 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 18
%bcond_without check
%global debug_package %{nil}
%global crate palette
Name: rust-%{crate}
Version: 0.5.0
Release: 4%{?dist}
Summary: Makes linear color calculations and conversion easy and accessible for anyone
Version: 0.6.0
Release: 1%{?dist}
Summary: Convert and manage colors with a focus on correctness, flexibility and ease of use
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/palette
Source: %{crates_source}
# Initial patched metadata
# * bump image from 0.22 to 0.23
# * bump approx from 0.3 to 0.5
Patch0: palette-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -26,7 +22,8 @@ BuildArch: noarch
BuildRequires: rust-packaging
%global _description %{expand:
Makes linear color calculations and conversion easy and accessible for anyone.}
Convert and manage colors with a focus on correctness, flexibility and ease of
use.}
%description %{_description}
@ -40,8 +37,8 @@ This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%license LICENSE-MIT LICENSE-APACHE
%doc README.md build/svg_gradients_mpl.txt build/svg_colors.txt
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
@ -56,6 +53,18 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bytemuck-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bytemuck-devel %{_description}
This package contains library source intended for building other packages
which use "bytemuck" feature of "%{crate}" crate.
%files -n %{name}+bytemuck-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+libm-devel
Summary: %{summary}
BuildArch: noarch
@ -92,6 +101,18 @@ which use "named_from_str" feature of "%{crate}" crate.
%files -n %{name}+named_from_str-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+named_gradients-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+named_gradients-devel %{_description}
This package contains library source intended for building other packages
which use "named_gradients" feature of "%{crate}" crate.
%files -n %{name}+named_gradients-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+phf-devel
Summary: %{summary}
BuildArch: noarch
@ -104,16 +125,28 @@ which use "phf" feature of "%{crate}" crate.
%files -n %{name}+phf-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+phf_codegen-devel
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+phf_codegen-devel %{_description}
%description -n %{name}+rand-devel %{_description}
This package contains library source intended for building other packages
which use "phf_codegen" feature of "%{crate}" crate.
which use "rand" feature of "%{crate}" crate.
%files -n %{name}+phf_codegen-devel
%files -n %{name}+rand-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+random-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+random-devel %{_description}
This package contains library source intended for building other packages
which use "random" feature of "%{crate}" crate.
%files -n %{name}+random-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
@ -152,18 +185,6 @@ which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+strict-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+strict-devel %{_description}
This package contains library source intended for building other packages
which use "strict" feature of "%{crate}" crate.
%files -n %{name}+strict-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
@ -183,6 +204,10 @@ which use "strict" feature of "%{crate}" crate.
%endif
%changelog
* Mon Jul 19 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.6.0-1
- Update to version 0.6.0.
- Fixes RHBZ#1981483
* Mon Jun 28 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.0-4
- Bump approx from 0.3 to 0.5.

@ -1 +1 @@
SHA512 (palette-0.5.0.crate) = 2c2a2dfdc3405532fae9b28476c0dc78c36c1d05889abdf74f75f205b78cd052f13718b8235a3282d83825b17eb38fa10cdc07c5d66d2dab42b6c6d25da08ca7
SHA512 (palette-0.6.0.crate) = 541ebb5112651b1d688c26a7b122ccb76fae89a6a6b00e98a6c2b714587ec166f3f97ebe2cb21a5321b406718803d47b6fa1f4df30b55012a8cfb8cd4d7a280e

Loading…
Cancel
Save