summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2023-03-03 10:15:33 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2023-03-03 10:15:33 +0900
commitbfbd07f11bda4a17cca4ccc1d53484739e4a3018 (patch)
treecc1b6d1752790375114ed7649022d093aab6ea33
parent2e792d4d6122797af0e89ecb9f578ad2ec2c815e (diff)
downloadrust-rustc_version-bfbd07f11bda4a17cca4ccc1d53484739e4a3018.tar.gz
rust-rustc_version-bfbd07f11bda4a17cca4ccc1d53484739e4a3018.tar.bz2
rust-rustc_version-bfbd07f11bda4a17cca4ccc1d53484739e4a3018.zip
Change _rust_libdir to _rust_dylibdir
-rw-r--r--packaging/rust-rustc_version.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/rust-rustc_version.spec b/packaging/rust-rustc_version.spec
index 3e0344e..464c180 100644
--- a/packaging/rust-rustc_version.spec
+++ b/packaging/rust-rustc_version.spec
@@ -48,8 +48,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
@@ -64,4 +64,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