Compare commits

...

No commits in common. 'epel10' and 'i9ce' have entirely different histories.
epel10 ... i9ce

1
.gitignore vendored

@ -1 +0,0 @@
/dolby_vision-*.crate

@ -1,3 +0,0 @@
# rust-dolby_vision
Library to read and write Dolby Vision metadata.

Binary file not shown.

@ -0,0 +1,24 @@
--- dolby_vision-3.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ dolby_vision-3.2.0/Cargo.toml 2023-08-27T14:45:23.250385+00:00
@@ -39,10 +39,7 @@
[lib]
doctest = false
-
-[[bench]]
-name = "bench_main"
-harness = false
+crate-type = ["lib", "cdylib"]
[dependencies.anyhow]
version = "1.0.72"
@@ -76,9 +73,6 @@
features = ["preserve_order"]
optional = true
-[dev-dependencies.criterion]
-version = "0.5.1"
-
[features]
capi = ["libc"]
serde = [

@ -1,10 +1,20 @@
# Generated by rust2rpm 27 ## START: Set by rpmautospec
%bcond check 1 ## (rpmautospec version 0.6.1)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 24
%bcond_without check
%global crate dolby_vision %global crate dolby_vision
Name: rust-dolby_vision Name: rust-dolby_vision
Version: 3.3.1 Version: 3.2.0
Release: %autorelease Release: %autorelease
Summary: Dolby Vision metadata parsing and writing Summary: Dolby Vision metadata parsing and writing
@ -12,7 +22,7 @@ License: MIT
URL: https://crates.io/crates/dolby_vision URL: https://crates.io/crates/dolby_vision
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 # * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * explicitly mark library as a "cdylib" type to fix spec generation # * explicitly mark library as a "cdylib" type to fix spec generation
Patch: dolby_vision-fix-metadata.diff Patch: dolby_vision-fix-metadata.diff
@ -30,9 +40,7 @@ Summary: %{summary}
# Apache-2.0 OR MIT # Apache-2.0 OR MIT
# MIT # MIT
# MIT OR Apache-2.0 # MIT OR Apache-2.0
# Unlicense OR MIT License: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT)
# Zlib OR Apache-2.0 OR MIT
License: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
# LICENSE.dependencies contains a full license breakdown # LICENSE.dependencies contains a full license breakdown
%description -n libdovi %{_description} %description -n libdovi %{_description}
@ -148,7 +156,7 @@ use the "xml" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -156,9 +164,9 @@ use the "xml" feature of the "%{crate}" crate.
%build %build
%cargo_build -a %cargo_build -a
%cargo_cbuild -a
%{cargo_license_summary -a} %{cargo_license_summary -a}
%{cargo_license -a} > LICENSE.dependencies %{cargo_license -a} > LICENSE.dependencies
%cargo_cbuild -a
%install %install
%cargo_install -a %cargo_install -a
@ -168,11 +176,26 @@ rm %{buildroot}/%{_libdir}/libdovi.a
%if %{with check} %if %{with check}
%check %check
# * skip tests that require files that are not included in published crates # * skip tests that require files that are not included in published crates
%{cargo_test -a -- -- %{shrink: %cargo_test -a -- -- --skip rpu::generate::tests::config_with_frame_edits --skip xml::tests::parse
--skip rpu::generate::tests::config_with_frame_edits
--skip xml::tests::parse
}}
%endif %endif
%changelog %changelog
%autochangelog * Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.2.0-3
- Rebuilt for MSVSphere 9.3
## START: Generated by rpmautospec
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Sep 30 2023 Fabio Valentini <decathorpe@gmail.com> - 3.2.0-2
- Adapt for subtle cargo_cbuild / cargo_cinstall macro changes
* Sun Aug 27 2023 Fabio Valentini <decathorpe@gmail.com> - 3.2.0-1
- Update to version 3.2.0; Fixes RHBZ#2229769
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 22 2023 Dominik 'Rathann' Mierzejewski <dominik@greysector.net> - 3.1.2-1
- initial import (resolves rhbz#2216336)
## END: Generated by rpmautospec

@ -1,25 +0,0 @@
--- dolby_vision-3.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ dolby_vision-3.3.1/Cargo.toml 2024-12-09T16:42:38.838749+00:00
@@ -46,11 +46,7 @@
name = "dolby_vision"
path = "src/lib.rs"
doctest = false
-
-[[bench]]
-name = "bench_main"
-path = "benches/bench_main.rs"
-harness = false
+crate-type = ["lib", "cdylib"]
[dependencies.anyhow]
version = "1.0.86"
@@ -88,9 +84,6 @@
version = "1.6.0"
features = ["rustc_1_55"]
-[dev-dependencies.criterion]
-version = "0.5.1"
-
[features]
capi = ["libc"]
serde = [

@ -1,37 +0,0 @@
[package]
bin-package-name = "libdovi"
cargo-toml-patch-comments = [
"drop unused, benchmark-only criterion dev-dependency",
"explicitly mark library as a \"cdylib\" type to fix spec generation",
]
extra-files = [
"%{_libdir}/libdovi.so.3{,.*}",
]
suppress-cdylib-install-fixme = true
[features]
enable-all = true
[requires]
build = [
"cargo-c",
]
[scripts]
build.post = [
"%cargo_cbuild -a",
]
install.post = [
"%cargo_cinstall -a",
"rm %{buildroot}/%{_libdir}/libdovi.a",
]
[tests]
skip = [
"rpu::generate::tests::config_with_frame_edits",
"xml::tests::parse",
]
comments = [
"skip tests that require files that are not included in published crates",
]

@ -1 +0,0 @@
SHA512 (dolby_vision-3.3.1.crate) = f75f3e5641146b1728486ffd03d301d8cdad8c1c5599cf9ee7683c09e3fc8e791c9f163f41845ce674b45409dda546080a3298e43422253f90a2bfab78bbf63f
Loading…
Cancel
Save