From 6d83dea77d45f6e38852d020be36ed6f78236f71 Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Tue, 15 May 2007 18:04:22 +0000 Subject: [PATCH] Fix install of miCASA.jar to /usr/share/java/CASA --- CASA/package/linux/CASA.spec.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CASA/package/linux/CASA.spec.in b/CASA/package/linux/CASA.spec.in index a6aaf2ea..affe06ae 100644 --- a/CASA/package/linux/CASA.spec.in +++ b/CASA/package/linux/CASA.spec.in @@ -100,9 +100,9 @@ make export NO_BRP_CHECK_BYTECODE_VERSION="true" mkdir -p %{buildroot}%{prefix} -mkdir -p %{buildroot}%{prefix}/share -mkdir -p %{buildroot}%{prefix}/share/java -mkdir -p %{buildroot}%{prefix}/share/java/CASA +mkdir -p %{buildroot}%{bin_prefix}/share +mkdir -p %{buildroot}%{bin_prefix}/share/java +mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA mkdir -p %{buildroot}%{prefix}/CASA mkdir -p %{buildroot}%{bin_prefix}/%{_lib} mkdir -p %{buildroot}%{bin_prefix}/bin @@ -159,7 +159,7 @@ install -d %{buildroot}/etc/init.d #install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib} install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{prefix}/share/java/CASA/miCASA.jar +install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar install -m 644 doc/product/CASA_Reference_Guide.pdf %{buildroot}%{prefix}/CASA/doc install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc @@ -218,7 +218,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%dir %{prefix}/share/java/CASA +%dir %{bin_prefix}/share/java/CASA %dir %{prefix}/CASA %dir %{prefix}/CASA/doc %dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno} @@ -243,7 +243,7 @@ rm -rf $RPM_BUILD_ROOT %{bin_prefix}/sbin/iscasaconfiged %{bin_prefix}/sbin/micasad.sh %{bin_prefix}/%{_lib}/miCASA.jar -%{prefix}/share/java/CASA/miCASA.jar +%{bin_prefix}/share/java/CASA/miCASA.jar %{bin_prefix}/bin/micasad.exe %{bin_prefix}/bin/micasad-init