Accepting request 639554 from home:jengelh:branches:utilities

- Remove idempotent %if..%endif guards.
- Fix incorrect trailing slash in make install line.
- Update RPM group for bash-completion.

OBS-URL: https://build.opensuse.org/request/show/639554
OBS-URL: https://build.opensuse.org/package/show/utilities/etckeeper?expand=0&rev=21
This commit is contained in:
Mitsutoshi NAKANO 2018-10-06 00:16:35 +00:00 committed by Git OBS Bridge
parent 3024afeb55
commit 58b8681a16
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 2 09:38:10 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Remove idempotent %if..%endif guards.
- Fix incorrect trailing slash in make install line.
- Update RPM group for bash-completion.
-------------------------------------------------------------------
Sun Sep 30 07:09:48 UTC 2018 - bkbin005@rinku.zaq.ne.jp

View File

@ -15,7 +15,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -84,7 +84,6 @@ is important for /etc, such as the permissions of /etc/shadow. It is
quite modular and configurable, while also being simple to use if you
understand the basics of working with version control.
%if ! %{with systemd}
%package cron
Summary: The etckeeper cron function
Group: System/Management
@ -97,7 +96,6 @@ Requires: cron
%description cron
The etckeeper-cron calls etckeeper from cron.
%endif
%package zypp-plugin
Summary: The etckeeper integration function with ZYpp
@ -114,7 +112,6 @@ Provides: etckeeper:%{_prefix}/lib/zypp/plugins/commit/zypper-etckeeper.py
%description zypp-plugin
The etckeeper-zypp-plugin calls etckeeper from ZYpp.
%if %{with bzr}
%package bzr
Summary: The etckeeper integration function with bzr
Group: System/Management
@ -123,11 +120,10 @@ Requires: etckeeper = %{version}-%{release}
%description bzr
The etckeeper integration function with bzr
%endif
%package bash-completion
Summary: The bash completion for etckeeper
Group: System/Management
Group: System/Shells
Requires: bash-completion
Requires: etckeeper = %{version}-%{release}
@ -148,7 +144,7 @@ perl -p -i -e 's|%{_bindir}/python|%{_bindir}/%{python_versioned}|g' zypper-etck
make %{?_smp_mflags} %{make_args}
%install
make install DESTDIR="%{buildroot}" %{make_args} \
%make_install %{make_args}
%if ! %{with systemd}
install -D debian/cron.daily "%{buildroot}/etc/cron.daily/%{name}"
%endif