diff --git a/oxipng-fix-metadata-auto.diff b/oxipng-fix-metadata-auto.diff index 6063a77..d1216c1 100644 --- a/oxipng-fix-metadata-auto.diff +++ b/oxipng-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- oxipng-9.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ oxipng-9.1.2/Cargo.toml 2024-07-15T20:25:45.717484+00:00 ++++ oxipng-9.1.2/Cargo.toml 2024-07-15T22:13:30.187640+00:00 @@ -150,7 +150,6 @@ [features] binary = [ diff --git a/rust-oxipng.spec b/rust-oxipng.spec index 58c2cf2..0c7ae78 100644 --- a/rust-oxipng.spec +++ b/rust-oxipng.spec @@ -127,6 +127,18 @@ use the "parallel" feature of the "%{crate}" crate. %files -n %{name}+parallel-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+sanity-checks-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sanity-checks-devel %{_description} + +This package contains library source intended for building other packages which +use the "sanity-checks" feature of the "%{crate}" crate. + +%files -n %{name}+sanity-checks-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+zopfli-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index a60c3d2..ffd8b6d 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -9,10 +9,3 @@ post = [ "mandest='%{buildroot}%{_mandir}/man1'", "install -t \"${mandest}\" -D -p -m 0644 \"${mansrc}\"", ] - -[features] -hide = [ - # Needs "dep:image"; waiting for rust-image 0.25.1: - # https://bugzilla.redhat.com/show_bug.cgi?id=2268816 - "sanity-checks", -]