CVS User Account cvsuser
Wed Nov 8 12:33:51 PST 2006
Log Message:
-----------
On 64-bit boxes, both 32 and 64 bit -devel packages may be installed. Fix version check
script

Tags:
----
REL_1_2_STABLE

Modified Files:
--------------
    slony1-engine:
        postgresql-slony1-engine.spec.in (r1.31.2.4 -> r1.31.2.5)

-------------- next part --------------
Index: postgresql-slony1-engine.spec.in
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/postgresql-slony1-engine.spec.in,v
retrieving revision 1.31.2.4
retrieving revision 1.31.2.5
diff -Lpostgresql-slony1-engine.spec.in -Lpostgresql-slony1-engine.spec.in -u -w -r1.31.2.4 -r1.31.2.5
--- postgresql-slony1-engine.spec.in
+++ postgresql-slony1-engine.spec.in
@@ -3,7 +3,7 @@
 %{?buildrhel3:%define kerbdir /usr/kerberos}
 %{!?kerbdir:%define kerbdir "/usr"}
 
-%define pg_version   %(rpm -q --queryformat '%{VERSION}' postgresql-devel)
+%define pg_version   %(rpm -qv postgresql-devel|head -n 1|awk -F '-' '{print $3}')
 
 Summary:	A "master to multiple slaves" replication system with cascading and failover
 Name:		@PACKAGE_NAME@
@@ -12,7 +12,6 @@
 License:	BSD
 Group:		Applications/Databases
 URL:		http://slony.info/
-Packager:	Devrim Gunduz <devrim at commandprompt.com>
 Source0:	@PACKAGE_NAME at -%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	postgresql-devel
@@ -125,6 +124,8 @@
 
 %changelog
 * Wed Nov 8 2006 Devrim Gunduz <devrim at CommandPrompt.com>
+- On 64-bit boxes, both 32 and 64 bit -devel packages may be installed. Fix version check
+script
 - Revert tar name patch
 - Macros cannot be used in various parts of the spec file. Revert that commit
 - Spec file cleanup



More information about the Slony1-commit mailing list