# ****************************** install ******************************
%install
export PATH=$PATH:/usr/sbin
-mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version}
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
# ****************************** install ******************************
%install
export PATH=$PATH:/usr/sbin
-mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version}
-cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version}/mod_ngobjweb.so
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
+cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
echo "#this file contains the apache/httpd configuration for OpenGroupware.org
# ****************************** files ********************************
%files
%defattr(-,root,root,-)
-%{prefix}/lib/sope-%{sope_version}/mod_ngobjweb.so
+%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
%config %{_var}/lib/opengroupware.org/OGo.conf
# ********************************* changelog *************************
# ****************************** install ******************************
%install
export PATH=$PATH:/usr/sbin
-mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version}
-cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version}/mod_ngobjweb.so
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
+cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
echo "#this file contains the apache/httpd configuration for OpenGroupware.org
# ****************************** files ********************************
%files
%defattr(-,root,root,-)
-%{prefix}/lib/sope-%{sope_version}/mod_ngobjweb.so
+%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
%config %{_var}/lib/opengroupware.org/OGo.conf
# ********************************* changelog *************************