diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-08-31 13:29:37 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-11-03 13:39:05 -0500 |
commit | a5162c73ddd948085ca99fba81353104c54623de (patch) | |
tree | 36380a1aa77181fe640962038778a209138f2ac7 | |
parent | cb0511f71196556ead4f0b0dc0a41a4ec0ee7f20 (diff) | |
download | sos-a5162c73ddd948085ca99fba81353104c54623de.tar.gz |
[build] Update specfile for RPM builds
First, fixes incorrect package names in the Requires added to the final
RPM.
Second, fixes the specfile to remove the unpackaged copy of sos.conf.
Resolves: #2222
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos.spec | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,8 +12,8 @@ BuildArch: noarch Url: https://github.com/sosreport/sos/ BuildRequires: python3-devel BuildRequires: gettext -Requires: libxml2-python -Requires: rpm-python +Requires: python3-libxml2 +Requires: python3-rpm Requires: tar Requires: xz Requires: python3-pexpect @@ -41,7 +41,7 @@ install -d -m 755 ${RPM_BUILD_ROOT}/etc/sos/groups.d install -d -m 755 ${RPM_BUILD_ROOT}/etc/sos/extras.d install -m 644 %{name}.conf ${RPM_BUILD_ROOT}/etc/sos/%{name}.conf -rm ${RPM_BUILD_ROOT}/sos.conf +rm -rf ${RPM_BUILD_ROOT}/usr/config/ %find_lang %{name} || echo 0 |