fixes for Evergreen_11.1

OBS-URL: https://build.opensuse.org/package/show/utilities/etckeeper?expand=0&rev=3
This commit is contained in:
Pascal Bleser 2013-08-10 13:14:07 +00:00 committed by Git OBS Bridge
parent a17e396eeb
commit d53e714033

View File

@ -40,9 +40,7 @@ BuildRequires: yum
%endif
%endif
Requires: cron
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description
The etckeeper program is a tool to let /etc be stored in a git,
@ -90,6 +88,9 @@ install -D debian/cron.daily "%{buildroot}/etc/cron.daily/%{name}"
%dir %{_sysconfdir}/etckeeper/*.d
%config %{_sysconfdir}/etckeeper/*.d/*
%if 0%{?suse_version}
%dir %{_prefix}/lib/zypp
%dir %{_prefix}/lib/zypp/plugins
%dir %{_prefix}/lib/zypp/plugins/commit
%{_prefix}/lib/zypp/plugins/commit/zypper-etckeeper.py
%endif
%if 0%{?fedora} || 0%{?rhel}