From 6a3974cb58e849b7a08839b782a7ec5692d558d4 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 6 May 2020 19:41:50 +0530 Subject: [PATCH] Update to 20200505 version (#1831576) --- .gitignore | 1 + libspiro.spec | 22 ++++++++++++++-------- sources | 2 +- tests/smoke/runtest.sh | 2 -- tests/tests.yml | 2 -- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 206abb7..a89ba54 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ libspiro_src-20071029.tar.bz2 /v0.2.tar.gz /0.3.20150131.tar.gz /libspiro-20190731.tar.gz +/libspiro-dist-20200505.tar.gz diff --git a/libspiro.spec b/libspiro.spec index 780374f..9eb0bf4 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,14 +1,15 @@ Name: libspiro -Version: 20190731 -Release: 2%{?dist} +Version: 20200505 +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: GPLv3+ URL: https://github.com/fontforge/libspiro/ -Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-%{version}.tar.gz -BuildRequires: automake autoconf libtool +# 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 +BuildRequires: gcc %description This library will take an array of spiro control points and @@ -27,15 +28,16 @@ developing applications that use %{name}. %autosetup -n libspiro-%{version} %build -autoreconf -i -automake --foreign -Wall %configure --disable-static -make %{?_smp_mflags} +%{make_build} %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +%{make_install} find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +%check +make check + %files %doc README* ChangeLog AUTHORS %license COPYING @@ -45,8 +47,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libspiro.pc +%{_mandir}/man3/libspiro.3.gz %changelog +* Wed May 06 2020 Parag Nemade - 20200505-1 +- Update to 20200505 version (#1831576) + * Wed Jan 29 2020 Fedora Release Engineering - 20190731-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 304cec7..cfb3184 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libspiro-20190731.tar.gz) = 3b53e2ecf06090f2c47483bc87941d98deb63c5b6f25a49d2983b987f40032dd5936974bb4df1686595d97f0b3e3f6cd9d008f3c05c39f9686b1d5ffb444ec49 +SHA512 (libspiro-dist-20200505.tar.gz) = 84627e8925bd6090cd7d234a0b5f3ee109d3341d24c038a0fb1ce4c09ab97fe8fc7eb92bc5df040d559c5ebe3b4fc8f51652a2538e155be9b2f3c78b96b706ee diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh index 66e5d9d..d6750ec 100644 --- a/tests/smoke/runtest.sh +++ b/tests/smoke/runtest.sh @@ -1,5 +1,3 @@ #!/bin/bash cd ../source -autoreconf -i -automake --foreign -Wall ./configure && make check diff --git a/tests/tests.yml b/tests/tests.yml index 1fb904a..75c4a9c 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -13,8 +13,6 @@ tests: - smoke required_packages: - - autoconf - - automake - libtool - m4 - gcc