summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-10-12 13:27:16 +0200
committerDavid Kupka <dkupka@redhat.com>2016-10-24 14:11:08 +0200
commit1077743d90902fc776f837f8486fa7f08b560673 (patch)
tree8ad4c741a946811ca87e57706128ef9eb25d845f /.travis.yml
parent21395d1724e6bf044438a8bc25ba028ed38cde8c (diff)
downloadfreeipa-1077743d90902fc776f837f8486fa7f08b560673.tar.gz
freeipa-1077743d90902fc776f837f8486fa7f08b560673.tar.xz
freeipa-1077743d90902fc776f837f8486fa7f08b560673.zip
spec file: do not include BuildRequires for lint by default
Lint is never executed from rpmbuild, so the BuildRequires for lint are purely informational. Include them only if %with_lint RPM macro is specified. Update .travis.yml accordingly. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f221e820a..d95eb25db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,4 +13,4 @@ script:
- >
docker run -v $PWD:/freeipa -w /freeipa
martbab/freeipa-fedora-builder:${TRAVIS_BRANCH}-latest
- /bin/bash -c 'dnf builddep -y --spec freeipa.spec.in && make rpms'
+ /bin/bash -c 'dnf builddep -y -D "with_lint 1" --spec freeipa.spec.in && make rpms'