|
|
|
@ -1,3 +1,13 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
@ -33,6 +43,9 @@ Patch: rav1e-fix-metadata-auto.diff
|
|
|
|
|
# * drop unused and outdated optional clap_lex dependency
|
|
|
|
|
# * drop WASM-specific wasm-bindgen dependency and wasm feature
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
|
# * compatibility fixes for cargo-c v0.9.26 and newer:
|
|
|
|
|
# https://github.com/lu-zero/cargo-c/pull/346
|
|
|
|
|
# https://github.com/lu-zero/cargo-c/pull/352
|
|
|
|
|
Patch: rav1e-fix-metadata.diff
|
|
|
|
|
Patch: 0001-remove-references-to-removed-built-and-rust_hawktrac.patch
|
|
|
|
|
|
|
|
|
@ -577,23 +590,13 @@ echo "cargo-c"
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build -f binaries,channel-api,unstable
|
|
|
|
|
%__cargo cbuild --release \
|
|
|
|
|
--destdir=%{buildroot} \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
|
%cargo_cbuild -f binaries,channel-api,unstable
|
|
|
|
|
%cargo_license_summary -f binaries,channel-api,unstable
|
|
|
|
|
%{cargo_license -f binaries,channel-api,unstable} > LICENSE.dependencies
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cargo_install -f binaries,channel-api,unstable
|
|
|
|
|
%__cargo cinstall --release \
|
|
|
|
|
--destdir=%{buildroot} \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
|
%cargo_cinstall -f binaries,channel-api,unstable
|
|
|
|
|
rm -v %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
@ -602,9 +605,18 @@ rm -v %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.6.6-3
|
|
|
|
|
- Compatibility fixes for cargo-c v0.9.26 and newer
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.6.6-2
|
|
|
|
|
- Migrate to new cargo_cbuild and cargo_cinstall macros
|
|
|
|
|
|
|
|
|
|
* Fri Oct 13 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.6-1
|
|
|
|
|
- Update to 0.6.6
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.6.6-1
|
|
|
|
|
- Update to version 0.6.6; Fixes RHBZ#2149770
|
|
|
|
|
|
|
|
|
|
* Sun Jul 02 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.5.1-8
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
@ -703,3 +715,4 @@ rm -v %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
|
|
|
|
|
|
* Tue Feb 11 01:28:07 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|