Accepting request 554646 from home:elvigia:branches:X11:windowmanagers

- Respect %optflags 
- BuildRequire only the needed x libs, not xorg-x11-devel

OBS-URL: https://build.opensuse.org/request/show/554646
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/herbstluftwm?expand=0&rev=7
This commit is contained in:
Ondřej Súkup 2017-12-06 09:25:01 +00:00 committed by Git OBS Bridge
parent 1a4197d1d8
commit b491605bf3
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 5 21:35:10 UTC 2017 - crrodriguez@opensuse.org
- Respect %optflags
- BuildRequire only the needed x libs, not xorg-x11-devel
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 5 03:45:45 UTC 2017 - aavindraa@gmail.com Tue Sep 5 03:45:45 UTC 2017 - aavindraa@gmail.com

View File

@ -30,9 +30,9 @@ BuildRequires: gcc-c++ >= 4.9
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: ncurses-utils BuildRequires: ncurses-utils
BuildRequires: xorg-x11-devel BuildRequires: pkgconfig(x11)
Requires: xorg-x11-libX11 BuildRequires: pkgconfig(xext)
# BuildArch: noarch BuildRequires: pkgconfig(xinerama)
%description %description
herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib. herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib.
@ -40,10 +40,10 @@ herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib.
%prep %prep
%setup -q %setup -q
%build %build
make COLOR=0 %{?_smp_mflags} export CXXFLAGS="%optflags"
export CFLAGS="%optflags"
make VERBOSE= COLOR=0 %{?_smp_mflags}
%install %install
make install \ make install \
@ -55,7 +55,6 @@ make install \
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
%files %files
%dir %{_datadir}/zsh/functions %dir %{_datadir}/zsh/functions
%dir %{_datadir}/zsh/functions/Completion %dir %{_datadir}/zsh/functions/Completion