summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-08-29 19:53:10 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-08-29 19:53:10 +0000
commit828f00bee3f44b81728a1f56ff888550a42f4de5 (patch)
tree024c5523b2cd90c5de6aa62fe259a3615b732bff /misc
parent4fb21845134202aac8d3ab32d7d6e7c7b185d5d6 (diff)
downloadnasm-828f00bee3f44b81728a1f56ff888550a42f4de5.tar.gz
nasm-828f00bee3f44b81728a1f56ff888550a42f4de5.tar.bz2
nasm-828f00bee3f44b81728a1f56ff888550a42f4de5.zip
Include spec file in tarball for rpm -ta
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/release9
1 files changed, 2 insertions, 7 deletions
diff --git a/misc/release b/misc/release
index b26dd29..b62b135 100755
--- a/misc/release
+++ b/misc/release
@@ -80,13 +80,14 @@ cd nasm
autoconf
./configure --prefix=/usr/local
make dist
+make spec
+mv nasm.spec nasm-${version}.spec
cd ..
# Clean up any previous attempt
rm -f ../nasm-${version}.tar.gz ../nasm-${version}-xdoc.tar.gz
rm -f ../nasm-${version}.tar.bz2 ../nasm-${version}-xdoc.tar.bz2
rm -f ../nasm-${version}.zip ../nasm-${version}-xdoc.zip
-rm -f ../nasm-${version}.spec
# Create tarfile (Unix convention: file includes prefix)
mv nasm nasm-$version
@@ -104,12 +105,6 @@ cd ..
# Record what we have already generated
find nasm-$version -not -type d -print > main
-# Create specfile
-cd nasm-${version}
-./configure --prefix=/usr/local
-make spec
-cp nasm.spec ../../nasm-${version}.spec
-
# Create documentation
make doc
# Remove intermediate files.