[Bug 913200] Review Request: python-testrepository - A repository of test results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=913200

--- Comment #6 from Kashyap Chamarthy <kchamart@xxxxxxxxxx> ---
I noticed (& Matthais Runge pointed out too), that %check section is missing ?

----------
%check
%{__python} setup.py test
----------

I added the above to the SPEC file:

Ran a local build, successfully:
----------
$ rpmbuild -ba python-testrepository.spec
.
.
.
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.prg8hv
+ umask 022
+ cd /home/kashyap/rpmbuild/BUILD
+ cd testrepository-0.0.15
+ /usr/bin/python setup.py test
running test
Checking .pth file support in .
/usr/bin/python -E -c pass
Searching for testtools>=0.9.30
Reading http://pypi.python.org/simple/testtools/
Reading https://github.com/testing-cabal/testtools
Reading https://launchpad.net/testtools
Best match: testtools 0.9.31
Downloading
https://launchpad.net/testtools/trunk/0.9.31/+download/testtools-0.9.31.tar.gz
Processing testtools-0.9.31.tar.gz
Writing /tmp/easy_install-eiAhla/testtools-0.9.31/setup.cfg
Running testtools-0.9.31/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-eiAhla/testtools-0.9.31/egg-dist-tmp-6gzTiw
no previously-included directories found matching 'doc/_build'
.
.
.
Installed
/home/kashyap/rpmbuild/BUILD/testrepository-0.0.15/python_subunit-0.0.12-py2.7.egg
Searching for fixtures
Reading http://pypi.python.org/simple/fixtures/
Reading https://launchpad.net/python-fixtures
Best match: fixtures 0.3.12
Downloading
https://launchpad.net/python-fixtures/trunk/0.3.12/+download/fixtures-0.3.12.tar.gz
Processing fixtures-0.3.12.tar.gz
Writing /tmp/easy_install-rPxXL4/fixtures-0.3.12/setup.cfg
Running fixtures-0.3.12/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-rPxXL4/fixtures-0.3.12/egg-dist-tmp-QqVbQK
zip_safe flag not set; analyzing archive contents...
fixtures._fixtures.packagepath: module references __path__
fixtures.tests._fixtures.test_packagepath: module references __path__
.
.
.
.
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xAn26W
+ umask 022
+ cd /home/kashyap/rpmbuild/BUILD
+ cd testrepository-0.0.15
+
DOCDIR=/home/kashyap/rpmbuild/BUILDROOT/python-testrepository-0.0.15-2.fc18.x86_64/usr/share/doc/python-testrepository-0.0.15
+ export DOCDIR
+ /usr/bin/mkdir -p
/home/kashyap/rpmbuild/BUILDROOT/python-testrepository-0.0.15-2.fc18.x86_64/usr/share/doc/python-testrepository-0.0.15
+ cp -pr README.txt Apache-2.0
/home/kashyap/rpmbuild/BUILDROOT/python-testrepository-0.0.15-2.fc18.x86_64/usr/share/doc/python-testrepository-0.0.15
+ exit 0
Provides: python-testrepository = 0.0.15-2.fc18
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHave
Prefix) <= 4.0-1
Requires: /usr/bin/python python(abi) = 2.7
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/kashyap/rpmbuild/BUILDROOT/python-testrepository-0.0.15-2.fc18.x86_64
Wrote: /home/kashyap/rpmbuild/SRPMS/python-testrepository-0.0.15-2.fc18.src.rpm
Wrote:
/home/kashyap/rpmbuild/RPMS/noarch/python-testrepository-0.0.15-2.fc18.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nmtpI9
+ umask 022
+ cd /home/kashyap/rpmbuild/BUILD
+ cd testrepository-0.0.15
+ /usr/bin/rm -rf
/home/kashyap/rpmbuild/BUILDROOT/python-testrepository-0.0.15-2.fc18.x86_64
+ exit 0
----------

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=R983Th90JL&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]