# HG changeset patch # User alpar # Date 1160752250 0 # Node ID 37e0966e43b62d8309d217f53e7cd72006255f6a # Parent d93c034d3c9832726f262bbdc08c4e0d50fbeb7a Improve build environment and scripts diff -r d93c034d3c98 -r 37e0966e43b6 lemon.spec.in --- a/lemon.spec.in Thu Oct 12 11:54:30 2006 +0000 +++ b/lemon.spec.in Fri Oct 13 15:10:50 2006 +0000 @@ -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 diff -r d93c034d3c98 -r 37e0966e43b6 scripts/release --- a/scripts/release Thu Oct 12 11:54:30 2006 +0000 +++ b/scripts/release Fri Oct 13 15:10:50 2006 +0000 @@ -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 diff -r d93c034d3c98 -r 37e0966e43b6 scripts/update-libstd-tag --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/update-libstd-tag Fri Oct 13 15:10:50 2006 +0000 @@ -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 +