|
|
@ -1,20 +1,20 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.7.3)
|
|
|
|
## (rpmautospec version 0.6.1)
|
|
|
|
## 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 = 1;
|
|
|
|
release_number = 3;
|
|
|
|
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 27
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
%bcond check 1
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
@ -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
|
|
|
|
# * 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
|
|
|
|
|
|
|
|
|
|
|
@ -40,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}
|
|
|
@ -158,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
|
|
|
@ -166,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
|
|
|
@ -178,29 +176,14 @@ 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
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.3.1-1
|
|
|
|
* Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.2.0-3
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
|
|
|