summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/rust-serde.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/rust-serde.spec b/packaging/rust-serde.spec
index fd1fcf7..b30083f 100644
--- a/packaging/rust-serde.spec
+++ b/packaging/rust-serde.spec
@@ -47,8 +47,8 @@ cp %{SOURCE1} .
# install section
# ==========================================================
%install
-install -d -m 0755 %{buildroot}%{_rust_libdir}
-install -m 0644 lib%{real_crate_name}.so %{buildroot}/%{_rust_libdir}/lib%{real_crate_name}.so
+install -d -m 0755 %{buildroot}%{_rust_dylibdir}
+install -m 0644 lib%{real_crate_name}.so %{buildroot}/%{_rust_dylibdir}/lib%{real_crate_name}.so
%clean
@@ -63,4 +63,4 @@ install -m 0644 lib%{real_crate_name}.so %{buildroot}/%{_rust_libdir}/lib%{real_
%manifest %{name}.manifest
%license LICENSE-APACHE
%license LICENSE-MIT
-%{_rust_libdir}/lib%{real_crate_name}.so
+%{_rust_dylibdir}/lib%{real_crate_name}.so