diff options
author | Jonathan Billings <jsbillin@umich.edu> | 2014-04-23 11:59:13 -0400 |
---|---|---|
committer | Jonathan Billings <jsbillin@umich.edu> | 2014-04-23 12:16:52 -0400 |
commit | c7e0ba777bc1060768118559217bd7a672116044 (patch) | |
tree | 76dcea66aeb079ee49f1ee6b913493eefbdd72e3 /tools/yum-listpkgs-xml.py | |
parent | afc80cef3a253656723958f5736153025d4535c1 (diff) | |
download | bcfg2-c7e0ba777bc1060768118559217bd7a672116044.tar.gz bcfg2-c7e0ba777bc1060768118559217bd7a672116044.tar.bz2 bcfg2-c7e0ba777bc1060768118559217bd7a672116044.zip |
misc/bcfg2.spec Remove duplicate checks for systemd in RPM scriptlets
In the RPM scriptlets, there's first a check for fedora 18 or greater,
then if that's not true, a check for fedora 16 or greater. Due to
some bug in how nested %if statements work in RPM scriptlets, the
second test is evaluating true even on non-Fedora systems, which is
leading to systemd commands being put in RHEL6 RPM scriptlets.
This change removes the second check. If there needed to be a check
for versions of Fedora 16 and 17, they will no longer work, but since
neither of those are supported versions of Fedora, I suspect we don't
need to include logic for them.
Diffstat (limited to 'tools/yum-listpkgs-xml.py')
0 files changed, 0 insertions, 0 deletions