re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-18 12:31:27 +02:00
parent c78f37eff4
commit f083509283
4 changed files with 42 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,2 +1,4 @@
SOURCES/libhangul-0.1.0.tar.gz
libhangul-0.0.10.tar.gz
/libhangul-0.0.11.tar.gz
/libhangul-0.0.12.tar.gz
/libhangul-0.1.0.tar.gz

View File

@ -29,9 +29,9 @@ providing Hangul input.
%prep
%setup -q
autoreconf -fi
%build
autoreconf -fi
%configure --disable-static
make %{?_smp_mflags}

18
tests/make_check.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
set -x
check_return_value () {
if [ $1 != 0 ] ; then
exit $1
fi
}
cd $1
autoreconf -f -i -v
./configure --prefix=/usr
check_return_value $?
make
check_return_value $?
make check
exit $?

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
roles:
- role: standard-test-source # to get the source tar ball to do “make check”
- role: standard-test-basic
required_packages:
- make
- gcc
- autoconf
- automake
- libtool
- gettext-devel
tests:
- make-check:
dir: ./
run: bash ./make_check.sh ./source