diff --git a/.gitignore b/.gitignore index c2d17c3..5a9ef99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ +/postgresql-9.5.5.tar.bz2 +/postgresql-9.5.5.tar.bz2.sha256 +/postgresql-9.6.1.tar.bz2 +/postgresql-9.6.1.tar.bz2.sha256 /postgresql-setup-5.0.tar.gz -/postgresql-9.5.4.tar.bz2 -/postgresql-9.5.4.tar.bz2.sha256 -/postgresql-9.6.0-US.pdf -/postgresql-9.6.0.tar.bz2 -/postgresql-9.6.0.tar.bz2.sha256 +/postgresql-9.6.1-US.pdf diff --git a/gen_sources.sh b/generate-sources-and-gitignore.sh similarity index 58% rename from gen_sources.sh rename to generate-sources-and-gitignore.sh index fffa3cb..be4939b 100755 --- a/gen_sources.sh +++ b/generate-sources-and-gitignore.sh @@ -1,10 +1,13 @@ -#! /bin/sh -x +#! /bin/sh +rm sources .gitignore set -e spectool -S *.spec | cut -d' ' -f2 \ | grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \ while read line do base=`basename "$line"` - md5sum "$base" + echo " * handling $base" + md5sum "$base" >> sources + echo "/$base" >> .gitignore done