diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 137af3d..78af4c8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,3 @@ libspiro_src-20071029.tar.bz2 /libspiro-20190731.tar.gz /libspiro-dist-20200505.tar.gz /libspiro-dist-20220722.tar.gz -/libspiro-dist-20221101.tar.gz -/libspiro-dist-20240903.tar.gz diff --git a/libspiro.spec b/libspiro.spec index 7874e50..d386469 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,11 +1,11 @@ Name: libspiro -Version: 20240903 -Release: 3%{?dist} +Version: 20220722 +Release: 1%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ # https://github.com/fontforge/libspiro/issues/8 -License: GPL-3.0-or-later +License: GPLv3+ URL: https://github.com/fontforge/libspiro/ # Let's use libspiro-dist tarball from upstream as it does not require autoreconf Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-dist-%{version}.tar.gz @@ -51,36 +51,6 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 20240903-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 20240903-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Sep 16 2024 Parag Nemade - 20240903-1 -- Update to 20240903 version (#2309418) - -* Thu Jul 18 2024 Fedora Release Engineering - 20221101-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Jan 25 2024 Fedora Release Engineering - 20221101-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 20221101-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 20221101-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jun 23 2023 Parag Nemade - 20221101-3 -- Migrate to SPDX license expression - -* Thu Jan 19 2023 Fedora Release Engineering - 20221101-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Nov 10 2022 Parag Nemade - 20221101-1 -- Update to 20221101 version (#2139603) - * Sun Jul 24 2022 Parag Nemade - 20220722-1 - Update to 20220722 version (#2110088) diff --git a/plans/libspiro.fmf b/plans/libspiro.fmf deleted file mode 100644 index c1627f9..0000000 --- a/plans/libspiro.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: Basic smoke test -discover: - how: fmf -execute: - how: tmt diff --git a/sources b/sources index 92cc625..3c183ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libspiro-dist-20240903.tar.gz) = b6d6d408aaf3cc908bbca931a3343b9efc399196b1b46e0b6a7cd83de730ef2b3a63eb64dd8be2c660a9725143d898b949305cea3ab47f1dd1a2774afcb731aa +SHA512 (libspiro-dist-20220722.tar.gz) = 2e6842693d833e5cfcf3642e9e31ddbb488d9bee59b8daed41cf11a734a83c384f3ef7aa94662369ee286f4a4ed4e309ef7de49362080f76862b2cafec4a8c38 diff --git a/tests/main.fmf b/tests/main.fmf deleted file mode 100644 index 9a01faf..0000000 --- a/tests/main.fmf +++ /dev/null @@ -1,11 +0,0 @@ -test: ./runtests.sh -duration: 10m -framework: beakerlib -require: - - libspiro - - libtool - - gcc - - m4 - - sed - - make - - rpm-build diff --git a/tests/runtests.sh b/tests/runtests.sh deleted file mode 100755 index bd0b60f..0000000 --- a/tests/runtests.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -NAME=libspiro - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm ${NAME} - rlShowPackageVersion ${NAME} - rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION" - rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" - rlRun "pushd $tmp" - rlFetchSrcForInstalled "${NAME}" - rlRun "rpm --define '_topdir $tmp' -i *src.rpm" - rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory" - rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec" - if [ -d BUILD/${NAME}-${VERSION}-build ]; then - rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}" - else - rlRun -t -l "pushd BUILD/${NAME}-${VERSION}" - fi - rlPhaseEnd - - rlPhaseStartTest - rlRun "set -o pipefail" - rlRun "./configure && make check" - rlRun "retval=$?" - rlRun "echo $retval" - rlRun "popd" 0 - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $tmp" 0 "Remove tmp directory" - rlPhaseEnd -rlJournalEnd - diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..d6750ec --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd ../source +./configure && make check diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..75c4a9c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - libtool + - m4 + - gcc + - sed + - make