re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-06-29 11:18:31 +02:00
parent 93dbeb539c
commit d17bfc567f
2 changed files with 20 additions and 0 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
jsr-305-0.4.20090319.tar.xz
/jsr-305-20130910svn.tgz
/jsr-305-3.0.2.tar.gz /jsr-305-3.0.2.tar.gz

18
generate-tarball.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
set -e
name=jsr-305
version="$(sed -n 's/Version:\s*//p' *.spec)"
rm -rf "${name}-${version}"
git clone 'https://github.com/amaembo/jsr-305'
pushd 'jsr-305'
git checkout 'd7734b13c61492982784560ed5b4f4bd6cf9bb2c'
popd
mv 'jsr-305' "${name}-${version}"
rm -f "${name}-${version}.tar.gz"
tar -czf "${name}-${version}.tar.gz" "${name}-${version}"
rm -rf "${name}-${version}"