Small corrections in version & release numbers.

This commit is contained in:
Jean-Paul Chaput 2010-05-17 15:37:30 +00:00
parent 7c16c5916b
commit e671371443
2 changed files with 8 additions and 7 deletions

View File

@ -102,7 +102,7 @@ class ProjectBuilder:
def _updateSecondary ( self ):
self._tarballDir = os.path.join ( self._rootDir, "tarball" )
self._archiveDir = os.path.join ( self._tarballDir, "coriolis2-1.0" )
self._archiveDir = os.path.join ( self._tarballDir, "coriolis2-1.0.%s" % self._svnTag )
self._sourceDir = os.path.join ( self._rootDir, "src" )
self._osDir = os.path.join ( self._rootDir
, self._osType
@ -115,8 +115,8 @@ class ProjectBuilder:
self._specFileIn = os.path.join ( self._sourceDir, "goodies", "coriolis2.spec.in" )
self._specFile = os.path.join ( self._sourceDir, "goodies", "coriolis2.spec" )
self._sourceTarBz2 = "coriolis2-1.0-%s.tar.bz2" % self._svnTag
self._binaryTarBz2 = "coriolis2-binary-1.0-%s.tar.bz2" % self._svnTag
self._sourceTarBz2 = "coriolis2-1.0.%s.tar.bz2" % self._svnTag
self._binaryTarBz2 = "coriolis2-binary-1.0.%s-1.el5_soc.tar.bz2" % self._svnTag
return

View File

@ -1,4 +1,5 @@
%define coriolisVersion 1.0
%define coriolisTop @coriolisTop@
%define svntag @svntag@
@ -7,11 +8,11 @@
Name: coriolis2
Summary: Coriolis 2 VLSI CAD Sytem
Version: 1.0
Release: 1
Version: %{coriolisVersion}.%{svntag}
Release: 1%{dist}
License: LGPL/GPL
Group: Applications/Engineering
Source: %{name}-%{version}-%{svntag}.tar.bz2
Source: %{name}-%{version}.tar.bz2
URL: http://www-asim.lip6.fr/
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
BuildRoot: %{_tmppath}/root-%{name}
@ -72,7 +73,7 @@ EOF
%if %{with_binarytar}
cd %{buildroot}%{coriolisTop}
tar --exclude "*/cmake_modules*" \
-jcf %{_sourcedir}/%{name}-binary-%{version}-%{release}-%{svntag}.tar.bz2 \
-jcf %{_sourcedir}/%{name}-binary-%{version}-%{release}.tar.bz2 \
bin lib share
%endif