SHA256
1
0
forked from pool/gc
OBS User unknown 2009-04-02 14:07:38 +00:00 committed by Git OBS Bridge
parent 207bc456cf
commit c298f64a6c
2 changed files with 18 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 2 15:40:11 CEST 2009 - crrodriguez@suse.de
- remove static libraries and "la" files
- run make check
-------------------------------------------------------------------
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de

25
gc.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package gc (Version 6.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
Name: gc
Version: 6.6
Release: 137
Release: 138
AutoReqProv: on
# bug437293
%ifarch ppc64
@ -78,7 +78,7 @@ Authors:
Alan J. Demers
%prep
%setup -n %name%version
%setup -q -n %name%version
%patch
%patch1
%patch2 -p1
@ -87,19 +87,16 @@ Authors:
#%{suse_update_config -f}
#autoreconf -fi
#%{__libtoolize} -f
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir} \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
--enable-cplusplus
make
%configure --disable-static --with-pic --enable-cplusplus
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -fr $RPM_BUILD_ROOT/usr/share/gc # docs
%{__rm} -f %{buildroot}%{_libdir}/*.la
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
@ -117,10 +114,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root)
%doc doc/[a-z]*
%{_libdir}/lib*.so
%{_libdir}/lib*a
%{_includedir}/*
%changelog
* Thu Apr 02 2009 crrodriguez@suse.de
- remove static libraries and "la" files
- run make check
* Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)