diff options
| author | Remi Collet <remi@remirepo.net> | 2026-01-29 08:19:59 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-01-29 08:19:59 +0100 |
| commit | 1e5cd7f7c7e3c72d7f6c663948a1667993004f50 (patch) | |
| tree | 1b2ba13ed84954f5d124e2f86d09298a56c93ef0 | |
| parent | 8317bf35a3bbc79244530a4d03802cb921f190d7 (diff) | |
| -rwxr-xr-x | makesrc.sh | 19 | ||||
| -rw-r--r-- | qelectrotech.spec | 10 |
2 files changed, 5 insertions, 24 deletions
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 <remi@remirepo.net> - 0.100-2 +- use upstream tarball + * Mon Jan 26 2026 Remi Collet <remi@remirepo.net> - 0.100-1 - update to 0.100 - re-license spec file to CECILL-2.1 |
