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