[Lemon-commits] [lemon_svn] alpar: r2988 - in hugo/trunk: . scripts

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 21:51:39 CET 2006


Author: alpar
Date: Fri Oct 13 17:10:50 2006
New Revision: 2988

Added:
   hugo/trunk/scripts/update-libstd-tag   (contents, props changed)
Modified:
   hugo/trunk/lemon.spec.in
   hugo/trunk/scripts/release

Log:
Improve build environment and scripts

Modified: hugo/trunk/lemon.spec.in
==============================================================================
--- hugo/trunk/lemon.spec.in	(original)
+++ hugo/trunk/lemon.spec.in	Fri Oct 13 17:10:50 2006
@@ -9,6 +9,9 @@
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: glpk
 BuildRequires: glpk-devel
+Provides: lemon = @PACKAGE_VERSION@
+Provides: lemon-devel = @PACKAGE_VERSION@
+
 
 %description
 LEMON stands for Library of Efficient Models and

Modified: hugo/trunk/scripts/release
==============================================================================
--- hugo/trunk/scripts/release	(original)
+++ hugo/trunk/scripts/release	Fri Oct 13 17:10:50 2006
@@ -2,6 +2,15 @@
 
 # THE FIRST PARAMETER IS THE VERSION STRING
 
+if [ $# != 1 ]; then
+    echo
+    echo 'Usage: release version-string'
+    echo 
+    echo "WARNING: This script modifies the repository, so don't use it unless"
+    echo '         you really want to make a release'
+    exit 1
+fi
+
 set -e
 
 function make-dir () {
@@ -12,7 +21,7 @@
 
 VERSION=$1
 PKGNAME='lemon'
-VERSION_STRING='svn-head'
+VERSION_STRING='svnhead'
 
 make-dir release-dir
 cd release-dir

Added: hugo/trunk/scripts/update-libstd-tag
==============================================================================
--- (empty file)
+++ hugo/trunk/scripts/update-libstd-tag	Fri Oct 13 17:10:50 2006
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cd ${0%update-libstd-tag}../doc
+mv libstdc++.tag libstdc++.tag.old
+wget http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag &&
+rm libstdc++.tag.old || mv libstdc++.tag.old libstdc++.tag
+



More information about the Lemon-commits mailing list