From 8c8978aff4b0f0520ce90155ce0791f6e40465cb Mon Sep 17 00:00:00 2001 From: Samuel Rakitničan Date: Jun 23 2018 13:04:23 +0000 Subject: Issue 49803 - SPEC - Fix the %files section for EL7 This matches the conditional in %build section. --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index d56266b..df800be 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -795,6 +795,7 @@ exit 0 %{_mandir}/man1/ldap-agent.1.gz %{_unitdir}/%{pkgname}-snmp.service +%if 0%{?rhel} > 7 || 0%{?fedora} %files -n python%{python3_pkgversion}-lib389 %defattr(-,root,root,-) %doc LICENSE LICENSE.GPLv3+ @@ -804,6 +805,7 @@ exit 0 %defattr(-,root,root,-) %doc LICENSE LICENSE.GPLv3+ %{python3_sitelib}/dirsrvtests* +%endif %files -n cockpit-389-ds -f cockpit.list %defattr(-,root,root,-)