Hello community, here is the log from the commit of package bspwm for openSUSE:Factory checked in at 2018-03-28 10:34:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bspwm (Old) and /work/SRC/openSUSE:Factory/.bspwm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bspwm" Wed Mar 28 10:34:27 2018 rev:4 rq:591770 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/bspwm/bspwm.changes 2017-09-25 14:00:06.864942442 +0200 +++ /work/SRC/openSUSE:Factory/.bspwm.new/bspwm.changes 2018-03-28 10:34:32.970209005 +0200 @@ -1,0 +2,10 @@ +Tue Mar 27 15:02:43 UTC 2018 - [email protected] + +- split completion scripts into sub-packages +- fix lint errors +- cleanup with spec-cleaner +- compile with %optflags +- delete _service file +- remove manual desktop database config + +------------------------------------------------------------------- Old: ---- _service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bspwm.spec ++++++ --- /var/tmp/diff_new_pack.cti7G4/_old 2018-03-28 10:34:33.734181526 +0200 +++ /var/tmp/diff_new_pack.cti7G4/_new 2018-03-28 10:34:33.738181382 +0200 @@ -1,7 +1,7 @@ # # spec file for package bspwm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Luke Jones, [email protected] # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ License: BSD-2-Clause Group: System/GUI/Other Url: https://github.com/baskerville/bspwm -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/baskerville/bspwm/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: bspwm.desktop BuildRequires: pkgconfig BuildRequires: zsh @@ -37,8 +37,6 @@ BuildRequires: pkgconfig(xcb-util) BuildRequires: pkgconfig(xcb-xinerama) BuildRequires: pkgconfig(xcb-xkb) -Requires(post): desktop-file-utils -Requires(postun): desktop-file-utils Recommends: dmenu Recommends: lemonbar Recommends: sxhkd @@ -50,40 +48,70 @@ * bspwm doesn't handle any keyboard or pointer inputs: a third party program (e.g. sxhkd) is needed in order to translate keyboard and pointer events to bspc invocations. +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/GUI/Other +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: packageand(%{name}:bash) +BuildArch: noarch + +%description bash-completion +Bash completion for bspc + +%package zsh-completion +Summary: ZSH Completion for %{name} +Group: System/GUI/Other +Requires: %{name} = %{version} +Supplements: packageand(%{name}:zsh) +BuildArch: noarch + +%description zsh-completion +ZSH completion for bspc + +%package fish-completion +Summary: Fish Completion for %{name} +Group: System/GUI/Other +Requires: %{name} = %{version} +Supplements: packageand(%{name}:zsh) +BuildArch: noarch + +%description fish-completion +Fish completion for bspc + %prep %setup -q +# fix rpmlint E: env-script-interpreter +sed -i 's,^#! /usr/bin/env ,#!/usr/bin/,' ./examples/receptacles/{extract_canvas,induce_rules} %build -install -pm 644 %{SOURCE1} contrib/freedesktop/bspwm.desktop +export CPPFLAGS="%{optflags}" make %{?_smp_mflags} V=1 %install -%make_install PREFIX=%{_prefix} DOCPREFIX=%{_docdir}/%{name} MANPREFIX=%{_mandir} +%make_install PREFIX=%{_prefix} DOCPREFIX=%{_docdir}/%{name} +install -pm 644 %{SOURCE1} contrib/freedesktop/bspwm.desktop install -D -p -m 644 examples/bspwmrc \ %{buildroot}%{_sysconfdir}/skel/.config/bspwm/bspwmrc install -D -p -m 644 LICENSE %{buildroot}%{_docdir}/%{name}/LICENSE -%post -%desktop_database_post - -%postun -%desktop_database_postun - %files -%dir %{_datadir}/zsh -%dir %{_datadir}/zsh/site-functions -%dir %{_datadir}/fish -%dir %{_datadir}/fish/vendor_completions.d %{_bindir}/bspwm %{_bindir}/bspc %{_docdir}/%{name} -%{_mandir}/man1/bspwm.1%{ext_man} -%{_mandir}/man1/bspc.1%{ext_man} -%{_datadir}/bash-completion/completions/bspc -%{_datadir}/fish/vendor_completions.d/bspc.fish -%{_datadir}/zsh/site-functions/_bspc +%{_mandir}/man1/bspwm.1%{?ext_man} +%{_mandir}/man1/bspc.1%{?ext_man} %{_datadir}/xsessions/bspwm.desktop %{_sysconfdir}/skel/.config/bspwm %config %{_sysconfdir}/skel/.config/bspwm/bspwmrc +%files bash-completion +%{_datadir}/bash-completion + +%files fish-completion +%{_datadir}/fish + +%files zsh-completion +%{_datadir}/zsh + %changelog
