diff --git a/freeipa-healthcheck.spec b/freeipa-healthcheck.spec index 276f6d5..da98f95 100644 --- a/freeipa-healthcheck.spec +++ b/freeipa-healthcheck.spec @@ -8,7 +8,7 @@ Name: %{project}-%{shortname} Version: 0.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Health check tool for FreeIPA BuildArch: noarch License: GPLv3 @@ -44,20 +44,23 @@ proactively detect defects in a FreeIPA cluster. %install %py3_install + mkdir -p %{buildroot}%{_sysconfdir}/%{longname} install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{longname} -mkdir -p %{buildroot}/%{_unitdir} -install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/systemd/ipa-%{shortname}.service %{buildroot}%{_unitdir} -install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/systemd/ipa-%{shortname}.timer %{buildroot}%{_unitdir} +mkdir -p %{buildroot}/%{_unitdir} +install -p -m644 %{_builddir}/%{project}-%{shortname}-%{version}/systemd/ipa-%{shortname}.service %{buildroot}%{_unitdir} +install -p -m644 %{_builddir}/%{project}-%{shortname}-%{version}/systemd/ipa-%{shortname}.timer %{buildroot}%{_unitdir} + mkdir -p %{buildroot}/%{_libexecdir}/ipa install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/systemd/ipa-%{shortname}.sh %{buildroot}%{_libexecdir}/ipa/ + mkdir -p %{buildroot}/%{_localstatedir}/log/ipa/%{shortname} mkdir -p %{buildroot}/%{_mandir}/man1 mkdir -p %{buildroot}/%{_mandir}/man5 -install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/man/man1/ipa-%{shortname}.1 %{buildroot}%{_mandir}/man1/ -install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/man/man5/%{longname}.conf.5 %{buildroot}%{_mandir}/man5/ +install -p -m644 %{_builddir}/%{project}-%{shortname}-%{version}/man/man1/ipa-%{shortname}.1 %{buildroot}%{_mandir}/man1/ +install -p -m644 %{_builddir}/%{project}-%{shortname}-%{version}/man/man5/%{longname}.conf.5 %{buildroot}%{_mandir}/man5/ %check @@ -94,6 +97,9 @@ install -p -m755 %{_builddir}/%{project}-%{shortname}-%{version}/man/man5/%{long %changelog +* Thu Jul 25 2019 François Cami - 0.2-6 +- Fix permissions + * Thu Jul 25 2019 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild