Skip to content

Commit

Permalink
Move vagrant from requires to recommends (tmt-all)
Browse files Browse the repository at this point in the history
As for now 'tmt-all' cannot be installed on rhel-8 or centos-8
without enabling the vagrant copr repository. Let's make it an
optional dependency. Also do not package unused files into rpms.
  • Loading branch information
psss committed May 19, 2020
1 parent fc367c3 commit cf41d69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ source: clean tmp
mkdir -p $(TMP)/SOURCES
mkdir -p $(TMP)/$(PACKAGE)
cp -a $(FILES) $(TMP)/$(PACKAGE)
rm $(TMP)/$(PACKAGE)/tmt/steps/provision/{base,vagrant}.py
tarball: source man
cd $(TMP) && tar cfz SOURCES/$(PACKAGE).tar.gz $(PACKAGE)
rpm: tarball
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/steps/test_provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mock import MagicMock, patch

import tmt
from tmt.steps.provision import Provision, local, vagrant
from tmt.steps.provision import Provision, local
from tmt.utils import GeneralError, SpecificationError


Expand Down
3 changes: 2 additions & 1 deletion tmt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ Summary: Extra dependencies for the Test Management Tool
Requires: tmt >= %{version}
Requires: tmt-container >= %{version}
Requires: tmt-testcloud >= %{version}
Requires: vagrant python3-nitrate make
Requires: python3-nitrate make
Recommends: vagrant

%description all
All extra dependencies of the Test Management Tool. Install this
Expand Down

0 comments on commit cf41d69

Please sign in to comment.