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

cleanup the rpm build/source directory after the build
parent 0d6c29eb
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.361 2004-07-02 21:13:14 geuzaine Exp $ # $Id: Makefile,v 1.362 2004-07-02 23:34:58 geuzaine Exp $
# #
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
# #
...@@ -257,8 +257,10 @@ package-mac: ...@@ -257,8 +257,10 @@ package-mac:
package-rpm: package-rpm:
tar zcvf /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz . tar zcvf /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz .
rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' gmsh.spec rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' gmsh.spec
cp /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm . mv /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm .
cp /usr/src/redhat/BUILD/gmsh-${GMSH_VERSION}/gmsh-${GMSH_VERSION}-${UNAME}.tgz . mv /usr/src/redhat/BUILD/gmsh-${GMSH_VERSION}/gmsh-${GMSH_VERSION}-${UNAME}.tgz .
rm -f /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz
rm -rf /usr/src/redhat/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