summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2023-03-03 10:15:39 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2023-03-03 10:15:39 +0900
commit37ce5d196ff4a3416838b5506624753b2c562653 (patch)
treeb09d702e8bb571f00fcf637b480507e8ec5ab0de
parent826297dd691dd19c5ef42917829369d47db7b8cb (diff)
downloadrust-serde-37ce5d196ff4a3416838b5506624753b2c562653.tar.gz
rust-serde-37ce5d196ff4a3416838b5506624753b2c562653.tar.bz2
rust-serde-37ce5d196ff4a3416838b5506624753b2c562653.zip
Change _rust_libdir to _rust_dylibdir
-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