Skip to content
Snippets Groups Projects
Commit ab40a6b9 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

redhat->rpm
parent afd77444
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.418 2006-03-12 14:52:29 geuzaine Exp $ # $Id: Makefile,v 1.419 2006-03-12 16:24:08 geuzaine Exp $
# #
# Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
# #
...@@ -267,12 +267,12 @@ package-mac: ...@@ -267,12 +267,12 @@ package-mac:
tar zcvf gmsh-${GMSH_VERSION}-MacOSX.tgz gmsh-${GMSH_VERSION} tar zcvf gmsh-${GMSH_VERSION}-MacOSX.tgz gmsh-${GMSH_VERSION}
package-rpm: package-rpm:
tar zcvf /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz . tar zcvf /usr/src/rpm/SOURCES/gmsh-${GMSH_VERSION}.tar.gz .
rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' utils/misc/gmsh.spec rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' utils/misc/gmsh.spec
mv /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm . mv /usr/src/rpm/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm .
mv /usr/src/redhat/BUILD/gmsh-${GMSH_VERSION}/gmsh-${GMSH_VERSION}-${UNAME}.tgz . mv /usr/src/rpm/BUILD/gmsh-${GMSH_VERSION}/gmsh-${GMSH_VERSION}-${UNAME}.tgz .
rm -f /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz rm -f /usr/src/rpm/SOURCES/gmsh-${GMSH_VERSION}.tar.gz
rm -rf /usr/src/redhat/BUILD/gmsh-${GMSH_VERSION} rm -rf /usr/src/rpm/BUILD/gmsh-${GMSH_VERSION}
# Rules to distribute official releases # Rules to distribute official releases
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment