summaryrefslogtreecommitdiffstats
path: root/openlmi-providers.spec
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-10-03 16:08:07 +0200
committerJan Safranek <jsafrane@redhat.com>2013-10-03 16:08:07 +0200
commite8cbdfd96c845b976da1832e389c8542a04f6d83 (patch)
treed8d5207d681e09afc0cecfcefdfbf6f0678302aa /openlmi-providers.spec
parent5889665946dc8f9d04348e4871f6f1a9e4098698 (diff)
downloadopenlmi-providers-e8cbdfd96c845b976da1832e389c8542a04f6d83.tar.gz
openlmi-providers-e8cbdfd96c845b976da1832e389c8542a04f6d83.tar.xz
openlmi-providers-e8cbdfd96c845b976da1832e389c8542a04f6d83.zip
Fix ghost PCP files.
This fixes rpmlint error: openlmi-pcp.noarch: E: non-readable /var/lib/openlmi-providers/60_LMI_PCP_PMNS.mof 0L The file can't be read by everybody. If this is expected (for security reasons), contact your rpmlint distributor to get it added to the list of exceptions for your distro (or add it to your local configuration if you installed rpmlint from the source tarball).
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r--openlmi-providers.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 2aaa079..94b0801 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -314,6 +314,9 @@ sed -i -e 's,^_LOCALSTATEDIR=.*,_LOCALSTATEDIR="%{_localstatedir}",' \
$RPM_BUILD_ROOT/%{_bindir}/openlmi-pcp-generate \
$RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/openlmi-pcp
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}
+touch $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/60_LMI_PCP_PMNS.mof
+touch $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/60_LMI_PCP_PMNS.reg
+touch $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/stamp
# documentation
install -m 755 -d $RPM_BUILD_ROOT/%{_docdir}/%{name}/account/admin_guide