Author: frankie
Date: 2010-03-10 10:09:35 +0000 (Wed, 10 Mar 2010)
New Revision: 2770

Modified:
   packages/postgis/trunk/debian/rules
Log:
Fixed rules for using *_VERSION macros.


Modified: packages/postgis/trunk/debian/rules
===================================================================
--- packages/postgis/trunk/debian/rules 2010-03-10 09:17:13 UTC (rev 2769)
+++ packages/postgis/trunk/debian/rules 2010-03-10 10:09:35 UTC (rev 2770)
@@ -113,11 +113,11 @@
        
        sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
            -e 's/@POSTGRES_VERSION@/8.4/' \
-           -e 's/@SOVERSION@/1.4/' \
+           -e 's/@SOVERSION@/$(MAJOR_VERSION).$(MINOR_VERSION)/' \
            $(CURDIR)/debian/postgis-postgresql-generic.postinst.in 
>$(CURDIR)/debian/postgresql-8.4-postgis.postinst
        
        sed -e 's/@POSTGRES_VERSIONS@/8.4/' \
-           -e 's/@SOVERSION@/1.4/' \
+           -e 's/@SOVERSION@/$(MAJOR_VERSION).$(MINOR_VERSION)/' \
            $(CURDIR)/debian/postgis-generic.postrm.in 
>$(CURDIR)/debian/postgis.postrm
        
        dh_install -s


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to