Compare commits

...

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

1
.gitignore vendored

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

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

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

Binary file not shown.

@ -1,21 +1,20 @@
--- 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"
--- 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"
-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"]
version = "1.0.72"
@@ -76,9 +73,6 @@
features = ["preserve_order"]
optional = true
-[dev-dependencies.criterion]
-version = "0.5.1"

@ -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,20 +1,20 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## (rpmautospec version 0.6.1)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
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 27
%bcond check 1
# Generated by rust2rpm 24
%bcond_without check
%global crate dolby_vision
Name: rust-dolby_vision
Version: 3.3.1
Version: 3.2.0
Release: %autorelease
Summary: Dolby Vision metadata parsing and writing
@ -22,7 +22,7 @@ License: MIT
URL: https://crates.io/crates/dolby_vision
Source: %{crates_source}
# 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
Patch: dolby_vision-fix-metadata.diff
@ -40,9 +40,7 @@ Summary: %{summary}
# Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# 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: MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n libdovi %{_description}
@ -158,7 +156,7 @@ use the "xml" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
@ -166,9 +164,9 @@ use the "xml" feature of the "%{crate}" crate.
%build
%cargo_build -a
%cargo_cbuild -a
%{cargo_license_summary -a}
%{cargo_license -a} > LICENSE.dependencies
%cargo_cbuild -a
%install
%cargo_install -a
@ -178,29 +176,14 @@ rm %{buildroot}/%{_libdir}/libdovi.a
%if %{with check}
%check
# * skip tests that require files that are not included in published crates
%{cargo_test -a -- -- %{shrink:
--skip rpu::generate::tests::config_with_frame_edits
--skip xml::tests::parse
}}
%cargo_test -a -- -- --skip rpu::generate::tests::config_with_frame_edits --skip xml::tests::parse
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.3.1-1
- Rebuilt for MSVSphere 10
* Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.2.0-3
- Rebuilt for MSVSphere 9.3
## 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

Loading…
Cancel
Save