From 4468dcb3d30ea23d6122de0824d2edd87861d35e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Jan 2026 14:27:39 +0100 Subject: update to 0.100 re-license spec file to CECILL-2.1 use git snapshot as no usable sources tarball, reported as https://github.com/qelectrotech/qelectrotech-source-mirror/issues/418 open https://bugzilla.redhat.com/2433755 Please build kf5-kcoreaddons for EPEL 10 (and 10.1) open https://bugzilla.redhat.com/2433762 Please build kf5-kwidgetsaddons for EPEL-10 (and 10.1) --- makesrc.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 makesrc.sh (limited to 'makesrc.sh') diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..8111001 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,19 @@ +#!/bin/sh +NAME=$(basename $PWD) +VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) + +if [ -f $NAME-$VERSION.tar.xz ]; then + echo Already done +else + echo "Cloning..." + rm -rf $NAME-$VERSION + git clone --recursive --depth 1 --shallow-submodules https://github.com/qelectrotech/qelectrotech-source-mirror.git --branch $VERSION $NAME-$VERSION + + echo "Archiving..." + tar czf $NAME-$VERSION.tar.xz --exclude-vcs $NAME-$VERSION + + echo "Cleaning..." + rm -rf $NAME-$VERSION +fi + + -- cgit