Sync
authorAndrew McNab <andrew.mcnab@manchester.ac.uk>
Wed, 25 Jun 2008 14:21:32 +0000 (14:21 +0000)
committerAndrew McNab <andrew.mcnab@manchester.ac.uk>
Wed, 25 Jun 2008 14:21:32 +0000 (14:21 +0000)
org.gridsite.core/VERSION
org.gridsite.core/src/make-gridsite-spec

index 51fdc55..0bfafc7 100644 (file)
@@ -1,5 +1,5 @@
 MAJOR_VERSION=1
 MINOR_VERSION=1.5
-PATCH_VERSION=1.5.8
-DEFVERSION=010508
+PATCH_VERSION=1.5.9
+DEFVERSION=010509
 VERSION=$(PATCH_VERSION)
index 4d631c9..6987eb8 100755 (executable)
@@ -31,7 +31,7 @@ cat <<EOF >gridsite.spec
 Name: gridsite
 Version: ${PATCH_VERSION:-1.x.x}
 # This next piece of .spec/sed magic puts the build OS version in the release
-Release: %(if [ "$RELEASE_VERSION" ] ; then echo $RELEASE_VERSION ; else sed 's/^\([A-Z]\)[^ ]* \([A-Z]\)[^0-9]*\([0-9][^ ]*\).*/1\1\2\3/g' /etc/redhat-release | sed 's/[^A-Z,a-z,0-9]//g' ; fi)
+Release: %(if [ "$RELEASE_VERSION" ] ; then echo $RELEASE_VERSION ; else sed 's/^\([A-Z]\)[^ ]* \([A-Z]\)[^0-9]*\([0-9][^ ]*\).*/1\1\2\3/g' /etc/redhat-release | sed 's/[^A-Z,0-9]//g' ; fi)
 Summary: GridSite
 License: Modified BSD
 Group: System Environment/Daemons
@@ -181,8 +181,12 @@ fi
 
 %files shared
 %attr(-, root, root) %{prefix}/%{_lib}/libgridsite.so.%{version}
+%attr(-, root, root) %{prefix}/%{_lib}/libgridsite.so.${MINOR_VERSION:-1.x}
+%attr(-, root, root) %{prefix}/%{_lib}/libgridsite.so.${MAJOR_VERSION:-1}
 %attr(-, root, root) %{prefix}/%{_lib}/libgridsite.so
 %attr(-, root, root) %{prefix}/%{_lib}/libgridsite_globus.so.%{version}
+%attr(-, root, root) %{prefix}/%{_lib}/libgridsite_globus.so.${MINOR_VERSION:-1.x}
+%attr(-, root, root) %{prefix}/%{_lib}/libgridsite_globus.so.${MAJOR_VERSION:-1}
 %attr(-, root, root) %{prefix}/%{_lib}/libgridsite_globus.so
 %attr(-, root, root) %{prefix}/share/doc/gridsite-${MINOR_VERSION:-1.x}