Accepting request 211227 from X11:XOrg

- Make proper use of %build and %install
- Use verbose make rules (forwarded request 211220 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/211227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=202
This commit is contained in:
Stephan Kulow 2013-12-19 11:49:51 +00:00 committed by Git OBS Bridge
commit 69da8816b5
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 17 11:38:52 UTC 2013 - schwab@suse.de
- Make proper use of %build and %install
- Use verbose make rules
-------------------------------------------------------------------
Mon Dec 16 15:17:23 UTC 2013 - schwab@suse.de

View File

@ -478,8 +478,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
#%patch13 -p1
%build
%install
rm -f src/mesa/depend
export TALLOC_LIBS=-ltalloc
export TALLOC_CFLAGS="-I/usr/include"
@ -545,7 +543,9 @@ autoreconf -fi
--with-gallium-drivers=swrast,svga \
%endif
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;