#142 Fix tests
Merged by cqi. Opened by cqi.
cqi/rpkg fix-tests  into  master

Download 142.patch

This patch fixes several errors in the tests. A workaround is added to solve
the a difference between Copr and dev machine. That is, in Copr, after running
rpmbuild, RPMs are not put in an arch subdirectory.

Signed-off-by: Chenxiong Qi cqi@redhat.com

rebased

rebased

rebased

Looks good to me.

rebased

1 new commit added

  • Add missing -q option to rpm command

Still looks good to me.

Pull-Request has been merged by cqi

I have updated the COPR package to depend on gssapi on Fedora and krbV on EPEL. The builds are now only passing on EPEL6.

https://copr.fedorainfracloud.org/coprs/lsedlar/compose-tools/build/476461/

I can still reproduce the test failure like this:

$ git clone https://pagure.io/rpkg.git
$ pushd rpkg
$ python setup.py sdist
$ popd
$ fedpkg clone rpkg rpkg-downstream
$ pushd rpkg-downstream
$ cp ../rpkg/dist/rpkg-1.46.tar.gz .
$ md5sum >sources rpkg-1.46.tar.gz
# Remove Patch0 from specfile, it's applied in tarball.
# Update man page script invocation
$ fedpkg mockbuild
Metadata