import sources
This commit is contained in:
parent
5f35be3653
commit
3af4f1911a
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
SOURCES/dbus-python-1.2.4.tar.gz
|
/dbus-python-0.83.0.tar.gz
|
||||||
SOURCES/dbus-python-1.2.4.tar.gz.asc
|
/dbus-python-1.1.1.tar.gz
|
||||||
|
/dbus-python-1.2.0.tar.gz
|
||||||
|
/dbus-python-1.2.0.tar.gz.asc
|
||||||
|
/dbus-python-1.2.2.tar.gz
|
||||||
|
/dbus-python-1.2.2.tar.gz.asc
|
||||||
/dbus-python-1.2.4.tar.gz
|
/dbus-python-1.2.4.tar.gz
|
||||||
|
/dbus-python-1.2.4.tar.gz.asc
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIcBAABCAAGBQJW3HOKAAoJEE3o/ypjx8yQ9swP/0Pd49gDrV+Z61MPvLUFm8uR
|
|
||||||
kXvZyBJIaJ9Nc+o+Dr4laiTZ/bwXhco3rtPmNN42MA1ranSG5C0DgZNBJyD3Gb6M
|
|
||||||
HQOee2bCjjKF5MB7uEPcY1gP4lA2gArbrquki9E2BisW43yI52vg1lfsl5KBEWsa
|
|
||||||
GXw2QlTv2nzprYFDk6AICTfAra9htoOTnThqvw62eWpKpa74N69GY1sb57ZmEWgj
|
|
||||||
gVRMh10VY2nmDkr7KZBtDevOBdGWrVwZGHiZtOCaOxZBHjkS+GVonGzy3jde1QH3
|
|
||||||
O+9nbkIHlXzp1cZPLDEII3zFFi1RQz7+4ilz8nJFmXZaf0oZIGJir4+S7ejWoAkO
|
|
||||||
oPfwP2n02LM7E0Wcbc+yWDfTegaFEvmV1rDQWpzChhxE3ahyIAiw9d83073E6kJl
|
|
||||||
3DLhiWQp4eVv8k5daHOccM7dTvg9znz5eU5sVzYvXkOQ5Bbi5iumPwRid2iRgOkg
|
|
||||||
h95YbH2eFTTcsjMc62wJZ11XCqdTdwMTBROBgtCV5pfg4hJ/q2yjMj/Vfx8uWt9x
|
|
||||||
tDZEK2vkTXdoY03c5ZycwF1Bk6NVYHWSEx2yTCrviv6J7ULTQ49CFDQgd8zAJVOe
|
|
||||||
sqqnbkUNiY5EefhUicZl7OoTpBK3HgIRGaXHIhE0zNwTvcLS1vSbXn30BOX10Vwr
|
|
||||||
HSytLBQ0yd3nW932yTzUiQIcBAABCAAGBQJW3HOSAAoJEAIjoHjb/0tmuGUQAImY
|
|
||||||
SW7wmpRVMoYpttyk1/vITbq7bUaoxar9EotdoIUUJVD+JuaoqJ4QejYfUbVCIYWb
|
|
||||||
Y9kiNbyKBhrnmeNakJR3ER8YJijQcGTKFd+rKNc/Ba7fnzTaD8liA3+ERtcOkYwR
|
|
||||||
xScP3Un0uUOXIrh4jDBg6TOUPRYf5PHuoVVPF+Haosjkbgq90YqPjydbttuar5zW
|
|
||||||
OEynoyXD+qcpNBwQw1fRtFCeba43Xz1WmUrUcjmv9kCD+kyorIvodfMLGmoRfRX8
|
|
||||||
8S/vcbmN36HAMnO1aP+bUgTxMqfy1bzxqEZljFzsvlysOTHYn07Pu+xWNqaggpg9
|
|
||||||
EYEt3z2gq3CbpkZGso+RJBcKmBi3R8tALTTRIYn3UinRM0a1lIj+DXfqlf8/eUTh
|
|
||||||
2KuGYV5+qgHtBNALuJuIlW+h4VgRMzy2cvGLwcKmLTji9W+17WWH0ofqsbGslSu2
|
|
||||||
/20xG5HhUbFchKuRBflsjFygWLa7IPdxS+dhB3XE5XpHX/YLG+otMN76nDeHwQ9n
|
|
||||||
5CXqdUl1W4Wtf9BtnNW/8kpdUpK0ZgEID9tpitO1ne5wVxue0+f3CbOaQQLMrb5T
|
|
||||||
4KyBO8T5yetvued6PTuPqakTQlKDueofkMf4cWwVniZR/f2Jd89CseHs6tFmkUP9
|
|
||||||
9rbEm/3IcGFlyzOG3O5/iUyD+R9Nrj3t0UX83a6M
|
|
||||||
=sZiG
|
|
||||||
-----END PGP SIGNATURE-----
|
|
1
sources
1
sources
@ -1 +1,2 @@
|
|||||||
SHA512 (dbus-python-1.2.4.tar.gz) = efdd9d96a8b56e813c93208d34777f1ca2db96c076d31f13afbcaec3c7770a16a623d5531fe23443130c555240949802503f171f2064d45eee97546d6251304b
|
SHA512 (dbus-python-1.2.4.tar.gz) = efdd9d96a8b56e813c93208d34777f1ca2db96c076d31f13afbcaec3c7770a16a623d5531fe23443130c555240949802503f171f2064d45eee97546d6251304b
|
||||||
|
SHA512 (dbus-python-1.2.4.tar.gz.asc) = 9eed51488cfbc1e7b8622647c1a4a0da2e4dd4459cd75d00e9b912aa6bd6cbc64e1d188df0b2c54c8c80ace5c5560d0e9368719ef40d43344d6a00cb7a92b95d
|
||||||
|
15
tests/tests.yml
Normal file
15
tests/tests.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
# This first play always runs on the local staging system
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- upstream-testset
|
||||||
|
required_packages:
|
||||||
|
- python3-dbus
|
||||||
|
- rpm-build
|
||||||
|
- gcc
|
||||||
|
- wget
|
||||||
|
- make
|
55
tests/upstream-testset/runtest.sh
Executable file
55
tests/upstream-testset/runtest.sh
Executable file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# Copyright (c) 2015 Red Hat, Inc. All rights reserved. This copyrighted material
|
||||||
|
# is made available to anyone wishing to use, modify, copy, or
|
||||||
|
# redistribute it subject to the terms and conditions of the GNU General
|
||||||
|
# Public License v.2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# Author: Vladimir Benes <vbenes@redhat.com>
|
||||||
|
|
||||||
|
PKG=dbus-python
|
||||||
|
PKG_DIR=$2
|
||||||
|
if [ -z "$PKG_DIR" ]; then
|
||||||
|
PKG_DIR=$1
|
||||||
|
fi
|
||||||
|
|
||||||
|
RPMBUILD=$(rpm --eval '%{_topdir}')
|
||||||
|
LOG="/tmp/$TEST.log"
|
||||||
|
PKG_SRPM=$(rpm -q --qf '%{SOURCERPM}\n' python3-dbus | head -n1)
|
||||||
|
PKG_PATH=$(rpm -q --qf '%{VERSION}/%{RELEASE}\n' python3-dbus | head -n1)
|
||||||
|
PKG_BUILD_PATH=$(rpm -q --qf "$PKG_DIR-%{VERSION}\n" $PKG | head -n1)
|
||||||
|
|
||||||
|
echo "Downloading SRPM"
|
||||||
|
wget https://kojipkgs.fedoraproject.org/packages/$PKG/$PKG_PATH/src/$PKG_SRPM
|
||||||
|
rm -rf $RPMBUILD
|
||||||
|
rpm -ivf $PKG_SRPM
|
||||||
|
echo "Building dependencies"
|
||||||
|
dnf builddep -y $PKG_SRPM
|
||||||
|
echo "Rebuilding the package"
|
||||||
|
rpmbuild -bc $RPMBUILD/SPECS/$PKG.spec
|
||||||
|
echo "Running make check"
|
||||||
|
cd $RPMBUILD/BUILD/$PKG*
|
||||||
|
./configure
|
||||||
|
make check | tee -a $LOG
|
||||||
|
rc=$?
|
||||||
|
RESULT=FAIL
|
||||||
|
|
||||||
|
if [ $rc -eq 0 ]; then
|
||||||
|
RESULT="PASS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if which rhts-report-result &> /dev/null; then
|
||||||
|
rhts-report-result $TEST $RESULT $LOG
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit $rc
|
||||||
|
echo "Result is: $RESULT"
|
||||||
|
rm $LOG
|
Loading…
Reference in New Issue
Block a user