Skip to content

Commit

Permalink
Prefix /opt/name/version and libraries in /opt/name/version/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 2, 2012
1 parent e3ac9f0 commit 1efcba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions centos/SPECS/minc-toolkit.spec
Expand Up @@ -16,7 +16,7 @@ BuildRoot: /var/tmp/%{name}-root
URL: git://github.com/vfonov/minc-toolkit.git
BuildRequires: netcdf-devel, hdf5-devel, freeglut-devel, pcre-devel, libXmu-devel, gsl-devel, fftw-devel

%define _prefix /usr/local
%define _prefix /opt/%{name}/%{version}


%description
Expand Down Expand Up @@ -74,9 +74,9 @@ pushd build
make install DESTDIR=%{buildroot}

# Make sure to lib64
%if "%{?_lib}" == "lib64"
mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64
%endif
#%if "%{?_lib}" == "lib64"
# mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64
#%endif

# Create /etc
mv %{buildroot}%{_prefix}/etc %{buildroot}
Expand Down

0 comments on commit 1efcba7

Please sign in to comment.