summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/rust-serde_derive.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/rust-serde_derive.spec b/packaging/rust-serde_derive.spec
index 9b709a6..f54a08e 100644
--- a/packaging/rust-serde_derive.spec
+++ b/packaging/rust-serde_derive.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