Compare commits

..

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

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/dolby_vision-3.3.1.crate

@ -0,0 +1 @@
8c30cefc42fd1643e37cc38a34b2b59597ff4301 SOURCES/dolby_vision-3.3.1.crate

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

Binary file not shown.

@ -1,20 +1,21 @@
--- dolby_vision-3.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- dolby_vision-3.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ dolby_vision-3.2.0/Cargo.toml 2023-08-27T14:45:23.250385+00:00 +++ dolby_vision-3.3.1/Cargo.toml 2024-12-09T16:42:38.838749+00:00
@@ -39,10 +39,7 @@ @@ -46,11 +46,7 @@
name = "dolby_vision"
[lib] path = "src/lib.rs"
doctest = false doctest = false
- -
-[[bench]] -[[bench]]
-name = "bench_main" -name = "bench_main"
-path = "benches/bench_main.rs"
-harness = false -harness = false
+crate-type = ["lib", "cdylib"] +crate-type = ["lib", "cdylib"]
[dependencies.anyhow] [dependencies.anyhow]
version = "1.0.72" version = "1.0.86"
@@ -76,9 +73,6 @@ @@ -88,9 +84,6 @@
features = ["preserve_order"] version = "1.6.0"
optional = true features = ["rustc_1_55"]
-[dev-dependencies.criterion] -[dev-dependencies.criterion]
-version = "0.5.1" -version = "0.5.1"

@ -0,0 +1,37 @@
[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,20 +1,20 @@
## START: Set by rpmautospec ## START: Set by rpmautospec
## (rpmautospec version 0.6.1) ## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 3; release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1); print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 24 # Generated by rust2rpm 27
%bcond_without check %bcond check 1
%global crate dolby_vision %global crate dolby_vision
Name: rust-dolby_vision Name: rust-dolby_vision
Version: 3.2.0 Version: 3.3.1
Release: %autorelease Release: %autorelease
Summary: Dolby Vision metadata parsing and writing Summary: Dolby Vision metadata parsing and writing
@ -22,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 to speed up builds # * drop unused, benchmark-only criterion dev-dependency
# * 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
@ -40,7 +40,9 @@ Summary: %{summary}
# Apache-2.0 OR MIT # Apache-2.0 OR MIT
# MIT # MIT
# MIT OR Apache-2.0 # MIT OR Apache-2.0
License: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) # Unlicense 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}
@ -156,7 +158,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_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -164,9 +166,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
@ -176,14 +178,29 @@ 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 -- -- --skip rpu::generate::tests::config_with_frame_edits --skip xml::tests::parse %{cargo_test -a -- -- %{shrink:
--skip rpu::generate::tests::config_with_frame_edits
--skip xml::tests::parse
}}
%endif %endif
%changelog %changelog
* Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.2.0-3 * Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.3.1-1
- Rebuilt for MSVSphere 9.3 - Rebuilt for MSVSphere 10
## START: Generated by rpmautospec ## START: Generated by rpmautospec
* Mon Dec 09 2024 Fabio Valentini <decathorpe@gmail.com> - 3.3.1-1
- Update to version 3.3.1; Fixes RHBZ#2303330
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu May 23 2024 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-2
- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces
* Fri Apr 19 2024 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
- Update to version 3.3.0; Fixes RHBZ#2271205
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

Loading…
Cancel
Save