Hello community,

here is the log from the commit of package git-annex for openSUSE:Factory 
checked in at 2016-06-20 11:07:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/git-annex (Old)
 and      /work/SRC/openSUSE:Factory/.git-annex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "git-annex"

Changes:
--------
--- /work/SRC/openSUSE:Factory/git-annex/git-annex.changes      2016-05-25 
21:28:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.git-annex.new/git-annex.changes 2016-06-20 
11:07:05.000000000 +0200
@@ -1,0 +2,13 @@
+Fri Jun 17 13:30:58 UTC 2016 - [email protected]
+
+- Declare the fact that the git-annex bash-completion sub-package
+  supplements normal bash-completions, i.e. it's a recommended
+  package. Suggested by @dimstar in his OBS review.
+
+-------------------------------------------------------------------
+Tue Jun 14 14:31:03 UTC 2016 - [email protected]
+
+- Declare build requirement on 'bash-completion' to fix the build in
+  Tumbleweed.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ git-annex.spec ++++++
--- /var/tmp/diff_new_pack.xtQUJn/_old  2016-06-20 11:07:06.000000000 +0200
+++ /var/tmp/diff_new_pack.xtQUJn/_new  2016-06-20 11:07:06.000000000 +0200
@@ -26,6 +26,7 @@
 Source0:        
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 # Begin cabal-rpm deps:
+BuildRequires:  bash-completion
 BuildRequires:  ghc-DAV-devel
 BuildRequires:  ghc-IfElse-devel
 BuildRequires:  ghc-MissingH-devel
@@ -55,20 +56,20 @@
 BuildRequires:  ghc-edit-distance-devel
 BuildRequires:  ghc-esqueleto-devel
 BuildRequires:  ghc-exceptions-devel
-BuildRequires:  ghc-mountpoints-devel
 BuildRequires:  ghc-fdo-notify-devel
 BuildRequires:  ghc-feed-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-gnutls-devel
 BuildRequires:  ghc-hinotify-devel
-BuildRequires:  ghc-magic-devel
 BuildRequires:  ghc-hslogger-devel
 BuildRequires:  ghc-http-client-devel
 BuildRequires:  ghc-http-conduit-devel
 BuildRequires:  ghc-http-types-devel
 BuildRequires:  ghc-json-devel
+BuildRequires:  ghc-magic-devel
 BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-monad-logger-devel
+BuildRequires:  ghc-mountpoints-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-network-info-devel
@@ -120,16 +121,16 @@
 Requires(postun):  desktop-file-utils
 Requires(post):    hicolor-icon-theme
 Requires(postun):  hicolor-icon-theme
+BuildRequires:  curl
 BuildRequires: git-core
 BuildRequires: rsync
-BuildRequires: curl
 Requires:  git-core
 Recommends: curl
 Recommends: gpg2
 Recommends: lsof
 Recommends: rsync
 Recommends: ssh
-
+Suggests:       %{name}-bash-completion
 
 %description
 Git-annex allows managing files with git, without checking the file contents
@@ -149,39 +150,42 @@
 transferring them to other computers. The git-annex webapp makes it easy to set
 up and use git-annex this way.
 
+%package bash-completion
+Summary:        Bash completion for git-annex
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Requires:       bash-completion
+Supplements:    packageand(%{name}:bash-completion)
+
+%description bash-completion
+Optional dependency offering bash completion for git-annex
+
 %prep
 %setup -q
 
-
 %build
 %{ghc_bin_build}
 
-
 %install
 %ghc_bin_install
 make DESTDIR=%{buildroot} BUILDER=./Setup install-misc install-mans
 
-
 %check
 make DESTDIR=%{buildroot} BUILDER=./Setup test
 
-
 %post
 %desktop_database_post
 %icon_theme_cache_post
 
-
 %postun
 %desktop_database_postun
 %icon_theme_cache_postun
 
-
 %files
 %defattr(-,root,root,-)
 %doc COPYRIGHT README
 %{_bindir}/%{name}
 %{_bindir}/%{name}-shell
-%dir %{_datadir}/bash-completion/completions
 %dir %{_datadir}/icons/hicolor
 %dir %{_datadir}/icons/hicolor/16x16
 %dir %{_datadir}/icons/hicolor/16x16/apps
@@ -190,8 +194,11 @@
 %{_sysconfdir}/xdg/autostart/git-annex.desktop
 %{_mandir}/man1/git-annex*.1.gz
 %{_datadir}/applications/git-annex.desktop
-%{_datadir}/bash-completion/completions/git-annex
 %{_datadir}/icons/hicolor/16x16/apps/git-annex.png
 %{_datadir}/icons/hicolor/scalable/apps/git-annex.svg
 
+%files bash-completion
+%defattr(-,root,root)
+%{_datadir}/bash-completion/completions/git-annex
+
 %changelog


Reply via email to