From 0724ccee993c1c0a945ff72ccddb35c48fff834c Mon Sep 17 00:00:00 2001 From: frank Date: Sat, 9 Oct 2004 13:06:35 +0000 Subject: [PATCH] use another define from .rpmmacros in mkdir/cp git-svn-id: http://svn.opengroupware.org/SOPE/trunk@236 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- maintenance/mod_ngobjweb_fedora.spec | 2 +- maintenance/mod_ngobjweb_suse82.spec | 6 +++--- maintenance/mod_ngobjweb_suse91.spec | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/maintenance/mod_ngobjweb_fedora.spec b/maintenance/mod_ngobjweb_fedora.spec index 9a8bf7c2..027c015d 100755 --- a/maintenance/mod_ngobjweb_fedora.spec +++ b/maintenance/mod_ngobjweb_fedora.spec @@ -28,7 +28,7 @@ make %{mod_ngobjweb_makeflags} APXS_INCLUDE_DIRS="-I/usr/include/httpd -I/usr/in # ****************************** 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 diff --git a/maintenance/mod_ngobjweb_suse82.spec b/maintenance/mod_ngobjweb_suse82.spec index d7e0e4d6..716047ce 100755 --- a/maintenance/mod_ngobjweb_suse82.spec +++ b/maintenance/mod_ngobjweb_suse82.spec @@ -28,8 +28,8 @@ make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/ # ****************************** 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 @@ -68,7 +68,7 @@ rm -fr ${RPM_BUILD_ROOT} # ****************************** 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 ************************* diff --git a/maintenance/mod_ngobjweb_suse91.spec b/maintenance/mod_ngobjweb_suse91.spec index d7e0e4d6..716047ce 100755 --- a/maintenance/mod_ngobjweb_suse91.spec +++ b/maintenance/mod_ngobjweb_suse91.spec @@ -28,8 +28,8 @@ make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/ # ****************************** 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 @@ -68,7 +68,7 @@ rm -fr ${RPM_BUILD_ROOT} # ****************************** 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 ************************* -- 2.39.5