- Move the bash completion to /usr as per rpmlint warning

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=294
This commit is contained in:
Tomáš Chvátal 2019-01-11 10:02:38 +00:00 committed by Git OBS Bridge
parent 6ed13cc63a
commit dc6adeba47
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 11 09:21:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Move the bash completion to /usr as per rpmlint warning
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 10 12:12:08 UTC 2018 - astieger@suse.com Sat Nov 10 12:12:08 UTC 2018 - astieger@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package subversion # spec file for package subversion
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2009-2010 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2009-2010 Pascal Bleser <pascal.bleser@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@ -392,7 +392,7 @@ install -d -m 0755 %{buildroot}/%{_datadir}/java
ln -sv %{_libdir}/svn-javahl/svn-javahl.jar %{buildroot}/%{_datadir}/java/svn-javahl.jar ln -sv %{_libdir}/svn-javahl/svn-javahl.jar %{buildroot}/%{_datadir}/java/svn-javahl.jar
rm -f %{buildroot}%{_localstatedir}/adm/perl-modules/subversion rm -f %{buildroot}%{_localstatedir}/adm/perl-modules/subversion
install -D -m0644 tools/client-side/bash_completion "%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}" install -D -m0644 tools/client-side/bash_completion %{buildroot}%{_datadir}/bash-completion/completions/%{name}
# examples # examples
mkdir -p %{buildroot}%{_docdir}/%{name} mkdir -p %{buildroot}%{_docdir}/%{name}
@ -557,6 +557,6 @@ systemd-tmpfiles --create %{_tmpfilesdir}/svnserve.conf
%endif %endif
%files bash-completion %files bash-completion
%config %{_sysconfdir}/bash_completion.d/%{name} %{_datadir}/bash-completion/completions/%{name}
%changelog %changelog