From 36dec122db08477f1411efb10186d5edf1e24f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Mon, 9 Mar 2020 17:47:02 +0100 Subject: [PATCH] Fix pkgconfig prefix path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert-André Mauchin --- rust-rav1e.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rust-rav1e.spec b/rust-rav1e.spec index 9058ada..da8eb95 100644 --- a/rust-rav1e.spec +++ b/rust-rav1e.spec @@ -17,7 +17,7 @@ Name: rust-%{crate} Version: 0.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fastest and safest AV1 encoder # Upstream license specification: BSD-2-Clause @@ -498,7 +498,12 @@ echo "cargo-c" %build %cargo_build -cargo cbuild --release +cargo cbuild --release \ + --destdir=%{buildroot} \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --includedir=%{_includedir} \ + --pkgconfigdir=%{_libdir}/pkgconfig %install %cargo_install @@ -516,6 +521,9 @@ rm -v %{buildroot}%{_libdir}/librav1e.a %endif %changelog +* Mon Mar 09 17:45:25 CET 2020 Robert-André Mauchin - 0.3.1-2 +- Fix pkgconfig prefix path + * Thu Feb 20 21:15:47 CET 2020 Igor Raits - 0.3.1-1 - Update to 0.3.1