Accepting request 211220 from home:Andreas_Schwab:Factory

- Make proper use of %build and %install
- Use verbose make rules

OBS-URL: https://build.opensuse.org/request/show/211220
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=352
This commit is contained in:
Stefan Dirsch 2013-12-17 14:00:58 +00:00 committed by Git OBS Bridge
parent 092e296f30
commit e0888128aa
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 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 #%patch13 -p1
%build %build
%install
rm -f src/mesa/depend rm -f src/mesa/depend
export TALLOC_LIBS=-ltalloc export TALLOC_LIBS=-ltalloc
export TALLOC_CFLAGS="-I/usr/include" export TALLOC_CFLAGS="-I/usr/include"
@ -545,7 +543,9 @@ autoreconf -fi
--with-gallium-drivers=swrast,svga \ --with-gallium-drivers=swrast,svga \
%endif %endif
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
make %{?_smp_mflags} make %{?_smp_mflags} V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;