summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-06-07 11:32:56 -0400
committerScott Moser <smoser@brickies.net>2017-06-08 13:02:55 -0400
commit914822a765007be7e17539e456b3e6ff12b19442 (patch)
tree9dc1355aded2856e6f97bfc580084e58949b1c2a /requirements.txt
parent41d46bfb85929c79dabcec3cf21c8d71401fd2b8 (diff)
downloadvyos-cloud-init-914822a765007be7e17539e456b3e6ff12b19442.tar.gz
vyos-cloud-init-914822a765007be7e17539e456b3e6ff12b19442.zip
rhel/centos spec cleanups.
Many changes here to get us able to build rpms on CentOS 5 or 6 and RHEL. * add 'Requires' as 'BuildRequires' also. This allows us to run cloud-init tools in the build environment, and also will allow us to run tests in the build process. * build for both systemd and upstart (centos 5) init systems. * Add 'centos' as a variant Adding the variant means we can use the 'centos' user as default on centos rather than a 'fedora' or 'rhel'. * drop argparse from the requirements. On any system other than python 2.6, having a 'requirements' that mentions argparse just causes problems. Instead we add that Requires to the spec directly. * list dependency on dmidecode (as redhat distro spec had) * remove duplicate line in files section ({_unitdir}/cloud-*) * Use rpm macros for init-system chunks and drop use of init_system variable template * Add el6 only build-req on python-argparse * python-cheetah is not required in the build environment as the the spec is already rendered. (We will soon move the spec to jinja).
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt
index 60abab16..59ec06d0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -27,9 +27,6 @@ configobj>=5.0.2
# All new style configurations are in the yaml format
pyyaml
-# The new main entrypoint uses argparse instead of optparse
-argparse
-
# Requests handles ssl correctly!
requests