From 30e1d7ea669c3b97cad5b34f7aceaee1961c0ea3 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 08:46:46 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 81 +++++++++++++++++++++++++++++++++++++++- tests/RPM-GPG-KEY-EPEL-8 | 28 ++++++++++++++ tests/epel.repo | 6 +++ tests/smoke/runtest.sh | 9 +++++ tests/tests.yml | 39 +++++++++++++++++++ 5 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 tests/RPM-GPG-KEY-EPEL-8 create mode 100644 tests/epel.repo create mode 100644 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index d03986b..0aa0271 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,81 @@ -SOURCES/harfbuzz-1.7.5.tar.bz2 +/harfbuzz-0.6.0.tar.bz2 +/harfbuzz-0.9.2.tar.bz2 +/harfbuzz-0.9.3.tar.bz2 +/harfbuzz-0.9.4.tar.bz2 +/harfbuzz-0.9.5.tar.bz2 +/harfbuzz-0.9.6.tar.bz2 +/harfbuzz-0.9.7.tar.bz2 +/harfbuzz-0.9.8.tar.bz2 +/harfbuzz-0.9.9.tar.bz2 +/harfbuzz-0.9.10.tar.bz2 +/harfbuzz-0.9.11.tar.bz2 +/harfbuzz-0.9.12.tar.bz2 +/harfbuzz-0.9.13.tar.bz2 +/harfbuzz-0.9.14.tar.bz2 +/harfbuzz-0.9.16.tar.bz2 +/harfbuzz-0.9.17.tar.bz2 +/harfbuzz-0.9.18.tar.bz2 +/harfbuzz-0.9.19.tar.bz2 +/harfbuzz-0.9.20.tar.bz2 +/harfbuzz-0.9.21.tar.bz2 +/harfbuzz-0.9.22.tar.bz2 +/harfbuzz-0.9.23.tar.bz2 +/harfbuzz-0.9.24.tar.bz2 +/harfbuzz-0.9.25.tar.bz2 +/harfbuzz-0.9.26.tar.bz2 +/harfbuzz-0.9.27.tar.bz2 +/harfbuzz-0.9.28.tar.bz2 +/harfbuzz-0.9.29.tar.bz2 +/harfbuzz-0.9.30.tar.bz2 +/harfbuzz-0.9.31.tar.bz2 +/harfbuzz-0.9.32.tar.bz2 +/harfbuzz-0.9.33.tar.bz2 +/harfbuzz-0.9.34.tar.bz2 +/harfbuzz-0.9.35.tar.bz2 +/harfbuzz-0.9.36.tar.bz2 +/harfbuzz-0.9.37.tar.bz2 +/harfbuzz-0.9.38.tar.bz2 +/harfbuzz-0.9.39.tar.bz2 +/harfbuzz-0.9.40.tar.bz2 +/harfbuzz-0.9.41.tar.bz2 +/harfbuzz-1.0.1.tar.bz2 +/harfbuzz-1.0.2.tar.bz2 +/harfbuzz-1.0.3.tar.bz2 +/harfbuzz-1.0.4.tar.bz2 +/harfbuzz-1.0.5.tar.bz2 +/harfbuzz-1.0.6.tar.bz2 +/harfbuzz-1.1.0.tar.bz2 +/harfbuzz-1.1.1.tar.bz2 +/harfbuzz-1.1.2.tar.bz2 +/harfbuzz-1.1.3.tar.bz2 +/harfbuzz-1.2.0.tar.bz2 +/harfbuzz-1.2.1.tar.bz2 +/harfbuzz-1.2.2.tar.bz2 +/harfbuzz-1.2.3.tar.bz2 +/harfbuzz-1.2.4.tar.bz2 +/harfbuzz-1.2.5.tar.bz2 +/harfbuzz-1.2.6.tar.bz2 +/harfbuzz-1.2.7.tar.bz2 +/harfbuzz-1.3.0.tar.bz2 +/harfbuzz-1.3.1.tar.bz2 +/harfbuzz-1.3.2.tar.bz2 +/harfbuzz-1.3.3.tar.bz2 +/harfbuzz-1.3.4.tar.bz2 +/harfbuzz-1.4.0.tar.bz2 +/harfbuzz-1.4.1.tar.bz2 +/harfbuzz-1.4.3.tar.bz2 +/harfbuzz-1.4.4.tar.bz2 +/harfbuzz-1.4.5.tar.bz2 +/harfbuzz-1.4.6.tar.bz2 +/harfbuzz-1.4.7.tar.bz2 +/harfbuzz-1.4.8.tar.bz2 +/harfbuzz-1.5.0.tar.bz2 +/harfbuzz-1.5.1.tar.bz2 +/harfbuzz-1.6.0.tar.bz2 +/harfbuzz-1.6.1.tar.bz2 +/harfbuzz-1.6.3.tar.bz2 +/harfbuzz-1.7.0.tar.bz2 +/harfbuzz-1.7.1.tar.bz2 +/harfbuzz-1.7.3.tar.bz2 +/harfbuzz-1.7.4.tar.bz2 /harfbuzz-1.7.5.tar.bz2 diff --git a/tests/RPM-GPG-KEY-EPEL-8 b/tests/RPM-GPG-KEY-EPEL-8 new file mode 100644 index 0000000..30b69a6 --- /dev/null +++ b/tests/RPM-GPG-KEY-EPEL-8 @@ -0,0 +1,28 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFz3zvsBEADJOIIWllGudxnpvJnkxQz2CtoWI7godVnoclrdl83kVjqSQp+2 +dgxuG5mUiADUfYHaRQzxKw8efuQnwxzU9kZ70ngCxtmbQWGmUmfSThiapOz00018 ++eo5MFabd2vdiGo1y+51m2sRDpN8qdCaqXko65cyMuLXrojJHIuvRA/x7iqOrRfy +a8x3OxC4PEgl5pgDnP8pVK0lLYncDEQCN76D9ubhZQWhISF/zJI+e806V71hzfyL +/Mt3mQm/li+lRKU25Usk9dWaf4NH/wZHMIPAkVJ4uD4H/uS49wqWnyiTYGT7hUbi +ecF7crhLCmlRzvJR8mkRP6/4T/F3tNDPWZeDNEDVFUkTFHNU6/h2+O398MNY/fOh +yKaNK3nnE0g6QJ1dOH31lXHARlpFOtWt3VmZU0JnWLeYdvap4Eff9qTWZJhI7Cq0 +Wm8DgLUpXgNlkmquvE7P2W5EAr2E5AqKQoDbfw/GiWdRvHWKeNGMRLnGI3QuoX3U +pAlXD7v13VdZxNydvpeypbf/AfRyrHRKhkUj3cU1pYkM3DNZE77C5JUe6/0nxbt4 +ETUZBTgLgYJGP8c7PbkVnO6I/KgL1jw+7MW6Az8Ox+RXZLyGMVmbW/TMc8haJfKL +MoUo3TVk8nPiUhoOC0/kI7j9ilFrBxBU5dUtF4ITAWc8xnG6jJs/IsvRpQARAQAB +tChGZWRvcmEgRVBFTCAoOCkgPGVwZWxAZmVkb3JhcHJvamVjdC5vcmc+iQI4BBMB +AgAiBQJc9877AhsPBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAh6kWrL4bW +oWagD/4xnLWws34GByVDQkjprk0fX7Iyhpm/U7BsIHKspHLL+Y46vAAGY/9vMvdE +0fcr9Ek2Zp7zE1RWmSCzzzUgTG6BFoTG1H4Fho/7Z8BXK/jybowXSZfqXnTOfhSF +alwDdwlSJvfYNV9MbyvbxN8qZRU1z7PEWZrIzFDDToFRk0R71zHpnPTNIJ5/YXTw +NqU9OxII8hMQj4ufF11040AJQZ7br3rzerlyBOB+Jd1zSPVrAPpeMyJppWFHSDAI +WK6x+am13VIInXtqB/Cz4GBHLFK5d2/IYspVw47Solj8jiFEtnAq6+1Aq5WH3iB4 +bE2e6z00DSF93frwOyWN7WmPIoc2QsNRJhgfJC+isGQAwwq8xAbHEBeuyMG8GZjz +xohg0H4bOSEujVLTjH1xbAG4DnhWO/1VXLX+LXELycO8ZQTcjj/4AQKuo4wvMPrv +9A169oETG+VwQlNd74VBPGCvhnzwGXNbTK/KH1+WRH0YSb+41flB3NKhMSU6dGI0 +SGtIxDSHhVVNmx2/6XiT9U/znrZsG5Kw8nIbbFz+9MGUUWgJMsd1Zl9R8gz7V9fp +n7L7y5LhJ8HOCMsY/Z7/7HUs+t/A1MI4g7Q5g5UuSZdgi0zxukiWuCkLeAiAP4y7 +zKK4OjJ644NDcWCHa36znwVmkz3ixL8Q0auR15Oqq2BjR/fyog== +=84m8 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/tests/epel.repo b/tests/epel.repo new file mode 100644 index 0000000..f16792b --- /dev/null +++ b/tests/epel.repo @@ -0,0 +1,6 @@ +[epel] +name=Extra Packages for Enterprise Linux $releasever - $basearch +baseurl=https://dl.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/ +enabled=1 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..65e1ad1 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd ../source + +echo "---Start autogen.sh---" +NOCONFIGURE=1 ./autogen.sh +echo "---End autogen.sh---" +echo "--------------------" + +find . -type f -exec sed -i 's/env python/python3/g' {} \; && ./configure --disable-static --with-graphite2 && echo "--------------------"; echo "---Start make check---"; make check; echo "---End make check---" diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..bae54a2 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,39 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + +- hosts: localhost + tags: + - classic + tasks: + - name: Copy epel repo file to remote machine + copy: + src: "{{ playbook_dir }}/epel.repo" + dest: /etc/yum.repos.d/ + - name: Copy epel gpg file to remote machine + copy: + src: "{{ playbook_dir }}/RPM-GPG-KEY-EPEL-8" + dest: /etc/pki/rpm-gpg/ + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - autoconf + - automake + - m4 + - gcc-c++ + - make + - python3-devel + - ragel + - libtool + - gtk-doc + - cairo-devel + - fontconfig-devel