|
|
@ -1,12 +1,12 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# * missing dev-dependencies: glium
|
|
|
|
# * missing dev-dependencies: glium ^0.32
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate png
|
|
|
|
%global crate png
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-png
|
|
|
|
Name: rust-png
|
|
|
|
Version: 0.17.10
|
|
|
|
Version: 0.17.11
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Decoding and encoding library in pure Rust
|
|
|
|
Summary: Decoding and encoding library in pure Rust
|
|
|
|
|
|
|
|
|
|
|
@ -14,10 +14,10 @@ License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/png
|
|
|
|
URL: https://crates.io/crates/png
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
Patch: png-fix-metadata.diff
|
|
|
|
Patch: png-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
PNG decoding and encoding library in pure Rust.}
|
|
|
|
PNG decoding and encoding library in pure Rust.}
|
|
|
@ -77,7 +77,7 @@ use the "unstable" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|