mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
add f19 to test harness to test conditional build deps
* fedora 19 does not have rpm-python3, thus we only test python2. * assert that build deps are correct for fedora 19
This commit is contained in:
parent
ea7404d6a5
commit
4aeab5dcc1
4 changed files with 29 additions and 1 deletions
|
@ -62,6 +62,7 @@
|
|||
distros='
|
||||
titotest-centos-5.9
|
||||
titotest-centos-6.4
|
||||
titotest-fedora-19
|
||||
titotest-fedora-20
|
||||
'
|
||||
|
||||
|
|
26
hacking/titotest-fedora-19/Dockerfile
Normal file
26
hacking/titotest-fedora-19/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# no f19 in semi-official https://index.docker.io/_/fedora/
|
||||
# so use https://index.docker.io/u/mattdm/fedora/
|
||||
FROM mattdm/fedora:f19
|
||||
|
||||
# http://jumanjiman.github.io/
|
||||
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
||||
|
||||
# NOTE: runtests.sh hard-links tito.spec into this directory on-the-fly
|
||||
# to work around https://github.com/dotcloud/docker/issues/1676
|
||||
ADD tito.spec /tmp/tito.spec
|
||||
|
||||
# Install build dependencies.
|
||||
RUN yum -y install yum-utils \
|
||||
; yum-builddep -y /tmp/tito.spec \
|
||||
; yum clean all
|
||||
|
||||
RUN useradd sandbox
|
||||
RUN git config --global user.email "sandbox@example.com"
|
||||
RUN git config --global user.name "sandbox"
|
||||
|
||||
USER sandbox
|
||||
VOLUME ["/home/sandbox"]
|
||||
WORKDIR /home/sandbox
|
||||
|
||||
ENV LANG C
|
||||
CMD ["/bin/bash"]
|
1
hacking/titotest-fedora-19/README.md
Symbolic link
1
hacking/titotest-fedora-19/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../HACKING
|
|
@ -23,7 +23,7 @@ BuildRequires: createrepo
|
|||
BuildRequires: tar
|
||||
BuildRequires: which
|
||||
|
||||
%if 0%{?fedora} >= 20
|
||||
%if 0%{?fedora} >= 19
|
||||
# todo: add %check to spec file in accordance with
|
||||
# https://fedoraproject.org/wiki/QA/Testing_in_check
|
||||
BuildRequires: git
|
||||
|
|
Loading…
Add table
Reference in a new issue