|
|
@ -1,16 +1,15 @@
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate rgb
|
|
|
|
%global crate rgb
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.8.14
|
|
|
|
Version: 0.8.16
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Struct RGB for sharing pixels between crates
|
|
|
|
Summary: Struct RGB/RGBA/etc. for sharing pixels between crates
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# * https://github.com/kornelski/rust-rgb/pull/27
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/rgb
|
|
|
|
URL: https://crates.io/crates/rgb
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
@ -40,8 +39,9 @@ This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -53,7 +53,19 @@ This package contains library source intended for building other packages
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+argb-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+argb-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "argb" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+argb-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -65,7 +77,7 @@ This package contains library source intended for building other packages
|
|
|
|
which use "serde" feature of "%{crate}" crate.
|
|
|
|
which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/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
|
|
|
@ -82,11 +94,13 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# https://github.com/kornelski/rust-rgb/issues/28
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test -- -- --skip test_add_overflow
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jan 05 18:38:26 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8.16-1
|
|
|
|
|
|
|
|
- Update to 0.8.16
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 01 20:02:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.14-1
|
|
|
|
* Sun Sep 01 20:02:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.14-1
|
|
|
|
- Update to 0.8.14
|
|
|
|
- Update to 0.8.14
|
|
|
|
|
|
|
|
|
|
|
@ -94,4 +108,4 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 18:49:07 EEST 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8.13-1
|
|
|
|
* Tue Apr 30 18:49:07 EEST 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8.13-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|