Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[f39] fix: oxipng (#1520) #1526

Merged
merged 1 commit into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions anda/langs/rust/oxipng/oxipng-fix-metadata-auto.diff
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
--- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ oxipng-9.0.0/Cargo.toml 2023-10-30T06:36:01.294365+00:00
@@ -116,7 +116,6 @@
--- oxipng-9.1.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ oxipng-9.1.2/Cargo.toml 2024-07-13T07:08:09.478330+00:00
@@ -150,7 +150,6 @@
[features]
binary = [
"clap",
- "glob",
"env_logger",
"dep:clap",
- "dep:glob",
"dep:env_logger",
]
default = [
@@ -133,13 +132,10 @@
]
sanity-checks = ["image"]
@@ -169,13 +168,10 @@
sanity-checks = ["dep:image"]
zopfli = ["dep:zopfli"]

-[target."cfg(windows)".dependencies.glob]
-version = "0.3.1"
Expand Down
66 changes: 4 additions & 62 deletions anda/langs/rust/oxipng/rust-oxipng.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
# don't mangle shebangs
%global __brp_mangle_shebangs %{nil}

%global crate oxipng

Name: rust-oxipng
Version: 9.1.2
Release: 1%?dist
Release: %autorelease
Summary: Lossless PNG compression optimizer

License: MIT
Expand Down Expand Up @@ -77,42 +79,6 @@ use the "binary" feature of the "%{crate}" crate.
%files -n %{name}+binary-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+clap-devel
Summary: %{summary}
BuildArch: noarch

%description -n %{name}+clap-devel %{_description}

This package contains library source intended for building other packages which
use the "clap" feature of the "%{crate}" crate.

%files -n %{name}+clap-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+crossbeam-channel-devel
Summary: %{summary}
BuildArch: noarch

%description -n %{name}+crossbeam-channel-devel %{_description}

This package contains library source intended for building other packages which
use the "crossbeam-channel" feature of the "%{crate}" crate.

%files -n %{name}+crossbeam-channel-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+env_logger-devel
Summary: %{summary}
BuildArch: noarch

%description -n %{name}+env_logger-devel %{_description}

This package contains library source intended for building other packages which
use the "env_logger" feature of the "%{crate}" crate.

%files -n %{name}+env_logger-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+filetime-devel
Summary: %{summary}
BuildArch: noarch
Expand All @@ -137,18 +103,6 @@ use the "freestanding" feature of the "%{crate}" crate.
%files -n %{name}+freestanding-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+image-devel
Summary: %{summary}
BuildArch: noarch

%description -n %{name}+image-devel %{_description}

This package contains library source intended for building other packages which
use the "image" feature of the "%{crate}" crate.

%files -n %{name}+image-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+parallel-devel
Summary: %{summary}
BuildArch: noarch
Expand All @@ -161,18 +115,6 @@ use the "parallel" feature of the "%{crate}" crate.
%files -n %{name}+parallel-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+rayon-devel
Summary: %{summary}
BuildArch: noarch

%description -n %{name}+rayon-devel %{_description}

This package contains library source intended for building other packages which
use the "rayon" feature of the "%{crate}" crate.

%files -n %{name}+rayon-devel
%ghost %{crate_instdir}/Cargo.toml

%package -n %{name}+sanity-checks-devel
Summary: %{summary}
BuildArch: noarch
Expand Down
Loading