postgis/generate-sources-and-gitignore.sh
Pavel Raiskup 1ea80e27c7 update to 2.4.0
Per upstream release notes:
https://postgis.net/2017/09/30/postgis-2.4.0/

Version: 2.4.0-1
2017-10-10 14:09:52 +02:00

14 lines
299 B
Bash
Executable File

#! /bin/sh
rm sources .gitignore
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgis-.*\.tar\.*' -e 'postgis.*\.pdf' | sort | \
while read line
do
base=`basename "$line"`
echo " * handling $base"
sha512sum --tag "$base" >> sources
echo "/$base" >> .gitignore
done