re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-11 11:42:39 +02:00
parent 706a56d34f
commit 4fcf316a0b
3 changed files with 41 additions and 1 deletions

15
.gitignore vendored
View File

@ -1 +1,14 @@
SOURCES/rspec-3.7.0.gem rspec-1.3.0.gem
/rspec-1.3.1.gem
/rspec-2.8.0.gem
/rspec-2.11.0.gem
/rspec-2.12.0.gem
/rspec-2.13.0.gem
/rspec-2.14.1.gem
/rspec-3.1.0.gem
/rspec-3.2.0.gem
/rspec-3.3.0.gem
/rspec-3.4.0.gem
/rspec-3.5.0.gem
/rspec-3.6.0.gem
/rspec-3.7.0.gem

Binary file not shown.

View File

@ -0,0 +1,27 @@
#!/bin/bash
if [ $# -lt 2 ]
then
echo "$0 <name> <version>"
exit 1
fi
set -x
set -e
CURRDIR=$(pwd)
TMPDIRPATH=$(mktemp -d /var/tmp/rspec-tar-XXXXXX)
pushd $TMPDIRPATH
git clone https://github.com/rspec/$1.git
pushd $1
git reset --hard v$2
popd
ln -sf $1 $1-$2
tar czf ${CURRDIR}/rubygem-$1-$2-full.tar.gz $1-$2/./
popd
rm -rf $TMPDIRPATH