From c6c1098fa4d863e2765bd7485fbaaa012501a9cf Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 10 Nov 2022 07:21:53 +0530 Subject: [PATCH 01/11] Update to 20221101 version (#2139603) --- .gitignore | 1 + libspiro.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 78af4c8..72de341 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ libspiro_src-20071029.tar.bz2 /libspiro-20190731.tar.gz /libspiro-dist-20200505.tar.gz /libspiro-dist-20220722.tar.gz +/libspiro-dist-20221101.tar.gz diff --git a/libspiro.spec b/libspiro.spec index d386469..5906cf6 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,5 +1,5 @@ Name: libspiro -Version: 20220722 +Version: 20221101 Release: 1%{?dist} Summary: Library to simplify the drawing of beautiful curves @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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/sources b/sources index 3c183ad..a3c48b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libspiro-dist-20220722.tar.gz) = 2e6842693d833e5cfcf3642e9e31ddbb488d9bee59b8daed41cf11a734a83c384f3ef7aa94662369ee286f4a4ed4e309ef7de49362080f76862b2cafec4a8c38 +SHA512 (libspiro-dist-20221101.tar.gz) = a4fd1d225da94f4146b2d086f1c0d0111ca0b1efc1d1a051d4f1d995af424cf573072791118d6e0a5c06462ff1dd58b2ce662dbb6a46c6aa082c1319030899f8 From 1aa04ddbae5d30c20908b96444b92061ded7deed Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 17:31:20 +0000 Subject: [PATCH 02/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index 5906cf6..c3fff34 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20221101 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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) From 4fdd08f4b8cceec93b7ef8d4c902c3ba3d55496a Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 23 Jun 2023 18:56:02 +0530 Subject: [PATCH 03/11] Migrate to SPDX license expression --- libspiro.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libspiro.spec b/libspiro.spec index c3fff34..89481cd 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,11 +1,11 @@ Name: libspiro Version: 20221101 -Release: 2%{?dist} +Release: 3%{?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: GPLv3+ +License: GPL-3.0-or-later 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,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 From 2c4cb9cd3fb311716ea7dfc07826531307e5a172 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 12:12:01 +0000 Subject: [PATCH 04/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index 89481cd..d0565e8 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20221101 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 From 165135068c397ed9ae6ede2d4063914d3d715f2c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 05:25:28 +0000 Subject: [PATCH 05/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index d0565e8..d49025b 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20221101 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 From 698452b45d613b5931e81dbec12b18f6d0f6c85c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 03:36:19 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index d49025b..b79ad29 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20221101 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 From f2e79e43a2f8e9184d72bb76c4fc0ce0a0f37dd5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 15:10:40 +0000 Subject: [PATCH 07/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index b79ad29..026b940 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20221101 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 From 968171e726e4b1f8aa0555e4fb9a6d5a30c1bc8b Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 16 Sep 2024 14:13:33 +0530 Subject: [PATCH 08/11] Update to 20240903 version (#2309418) --- .gitignore | 1 + libspiro.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 72de341..137af3d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ libspiro_src-20071029.tar.bz2 /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 026b940..3e58453 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro -Version: 20221101 -Release: 7%{?dist} +Version: 20240903 +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+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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 diff --git a/sources b/sources index a3c48b1..92cc625 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libspiro-dist-20221101.tar.gz) = a4fd1d225da94f4146b2d086f1c0d0111ca0b1efc1d1a051d4f1d995af424cf573072791118d6e0a5c06462ff1dd58b2ce662dbb6a46c6aa082c1319030899f8 +SHA512 (libspiro-dist-20240903.tar.gz) = b6d6d408aaf3cc908bbca931a3343b9efc399196b1b46e0b6a7cd83de730ef2b3a63eb64dd8be2c660a9725143d898b949305cea3ab47f1dd1a2774afcb731aa From f78023662138b037142e79dea887702f5253f2a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 14:06:15 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index 3e58453..c0f8de6 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20240903 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ make check %{_mandir}/man3/libspiro.3.gz %changelog +* 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) From dc69c05fe659b03ed77137286700a891b425bc89 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 29 Aug 2024 22:05:00 +0530 Subject: [PATCH 10/11] Add tmt testcase for CI --- .fmf/version | 1 + plans/libspiro.fmf | 5 +++++ tests/main.fmf | 11 +++++++++++ tests/runtests.sh | 37 +++++++++++++++++++++++++++++++++++++ tests/smoke/runtest.sh | 3 --- tests/tests.yml | 20 -------------------- 6 files changed, 54 insertions(+), 23 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/libspiro.fmf create mode 100644 tests/main.fmf create mode 100755 tests/runtests.sh delete mode 100644 tests/smoke/runtest.sh delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/libspiro.fmf b/plans/libspiro.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/libspiro.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..9a01faf --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,11 @@ +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 new file mode 100755 index 0000000..bd0b60f --- /dev/null +++ b/tests/runtests.sh @@ -0,0 +1,37 @@ +#!/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 deleted file mode 100644 index d6750ec..0000000 --- a/tests/smoke/runtest.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -cd ../source -./configure && make check diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 75c4a9c..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- 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 From 86be0a9b1b09b804bac30060f8087558e575830d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 20:24:11 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- libspiro.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspiro.spec b/libspiro.spec index c0f8de6..7874e50 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,6 +1,6 @@ Name: libspiro Version: 20240903 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library to simplify the drawing of beautiful curves # The files that are used to compile this library are all in GPLv3+ @@ -51,6 +51,9 @@ 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