[Nice-commit] Nice/distrib Makefile,1.11,1.12
Brought to you by:
bonniot
From: <bo...@pr...> - 2004-01-25 01:25:36
|
Update of /cvsroot/nice/Nice/distrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23448 Modified Files: Makefile Log Message: Correctly create the RPM package with files rooted in /usr, not /usr/nice-X.Y.Z now that the tar file contains the nice-X.Y.Z prefix. Index: Makefile =================================================================== RCS file: /cvsroot/nice/Nice/distrib/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 16 Dec 2003 12:49:02 -0000 1.11 --- Makefile 25 Jan 2004 01:24:48 -0000 1.12 *************** *** 53,59 **** ${clean-tmp} cp rpmmacros ~/.rpmmacros ! mkdir -p ${RPMTMP}/usr mkdir -p tmp/BUILD ! cd ${RPMTMP}/usr && tar xzf ${CURDIR}/${TARFILE} cd tmp && tar zcf ${CURDIR}/tmp/Nice-${VERSION}.tar.gz Nice-${VERSION} sed "s/VERSION/${VERSION}/" Nice.spec > tmp/Nice-${VERSION}.spec --- 53,59 ---- ${clean-tmp} cp rpmmacros ~/.rpmmacros ! mkdir -p ${RPMTMP} mkdir -p tmp/BUILD ! cd ${RPMTMP} && tar xzf ${CURDIR}/${TARFILE} && mv nice-$(VERSION) usr cd tmp && tar zcf ${CURDIR}/tmp/Nice-${VERSION}.tar.gz Nice-${VERSION} sed "s/VERSION/${VERSION}/" Nice.spec > tmp/Nice-${VERSION}.spec |