Compare commits

...

4 Commits

Author SHA1 Message Date
Fabio Valentini 8772faf0b6
Drop unused example programs and drop example-specific dependencies
3 months ago
Fedora Release Engineering 17670b2e9f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
5 months ago
Fedora Release Engineering 2e122c3d6a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Fedora Release Engineering 11d7b3bb71 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1 year ago

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -12,8 +12,11 @@ Summary: YUV4MPEG2 (.y4m) Encoder/Decoder
License: MIT License: MIT
URL: https://crates.io/crates/y4m URL: https://crates.io/crates/y4m
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop outdated, example-only resize dev-dependency
Patch: y4m-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
YUV4MPEG2 (.y4m) Encoder/Decoder.} YUV4MPEG2 (.y4m) Encoder/Decoder.}
@ -47,8 +50,10 @@ use the "default" 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
# drop unused example programs
rm -rv examples/
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires

@ -0,0 +1,11 @@
[package]
cargo-toml-patch-comments = [
"drop outdated, example-only resize dev-dependency",
]
[scripts]
prep.post = [
"# drop unused example programs",
"rm -rv examples/",
]

@ -0,0 +1,9 @@
--- y4m-0.8.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ y4m-0.8.0/Cargo.toml 2024-10-01T19:09:44.116367+00:00
@@ -26,6 +26,3 @@
]
license = "MIT"
repository = "https://github.com/image-rs/y4m.git"
-
-[dev-dependencies.resize]
-version = "0.4"
Loading…
Cancel
Save