From 1e5cd7f7c7e3c72d7f6c663948a1667993004f50 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 29 Jan 2026 08:19:59 +0100 Subject: use upstream tarball --- makesrc.sh | 19 ------------------- qelectrotech.spec | 10 +++++----- 2 files changed, 5 insertions(+), 24 deletions(-) delete mode 100755 makesrc.sh diff --git a/makesrc.sh b/makesrc.sh deleted file mode 100755 index 4e9292b..0000000 --- a/makesrc.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/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 cJf $NAME-$VERSION.tar.xz --exclude-vcs $NAME-$VERSION - - echo "Cleaning..." - rm -rf $NAME-$VERSION -fi - - diff --git a/qelectrotech.spec b/qelectrotech.spec index ff85e1c..92a9d36 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -29,16 +29,13 @@ Summary(ru): Редактор электрических схем Epoch: 0 Version: 0.100 -Release: 1%{?dist} +Release: 2%{?dist} # Prog is GPLv2 - Symbols/Elements are Creative Commons Attribution License: GPL-2.0-or-later Url: http://qelectrotech.org/ -# No usable sources tarball, see -# https://github.com/qelectrotech/qelectrotech-source-mirror/issues/418 -Source0: %{name}-%{version}.tar.xz -Source1: makesrc.sh +Source0: https://github.com/qelectrotech/qelectrotech-source-mirror/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: gcc @@ -249,6 +246,9 @@ cat qet.lang >>qelectrotech.lang %changelog +* Thu Jan 29 2026 Remi Collet - 0.100-2 +- use upstream tarball + * Mon Jan 26 2026 Remi Collet - 0.100-1 - update to 0.100 - re-license spec file to CECILL-2.1 -- cgit