OBS User unknown 2009-02-07 23:14:08 +00:00 committed by Git OBS Bridge
parent 8c4050500a
commit e25838537e
2 changed files with 26 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 7 18:55:52 CET 2009 - schwab@suse.de
- Rebuild broken info file.
-------------------------------------------------------------------
Sun Mar 16 03:36:00 CET 2008 - crrodriguez@suse.de

View File

@ -1,14 +1,20 @@
#
# spec file for package hello (Version 2.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: hello
@ -20,7 +26,7 @@ Provides: mailreader
AutoReqProv: on
Summary: A Friendly Greeting Program
Version: 2.3
Release: 40
Release: 78
Source0: ftp://ftp.gnu.org/pub/gnu/hello/hello-%{version}.tar.bz2
Patch0: hello-1.3.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -52,21 +58,24 @@ Authors:
%{hello}
%setup -q
%patch
# force rebuild with non-broken makeinfo
rm -f doc/*.info
%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure \
%configure
%if %do_profiling
make CFLAGS="$CFLAGS "%cflags_profile_generate LDFLAGS="-fprofile-arcs"
make CFLAGS="$CFLAGS %cflags_profile_generate" LDFLAGS="-fprofile-arcs"
make check
make clean
make CFLAGS="$CFLAGS "%cflags_profile_feedback LDFLAGS="-fprofile-arcs"
make check
make CFLAGS="$CFLAGS %cflags_profile_feedback" LDFLAGS="-fprofile-arcs"
%else
make
make check
%endif
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
@ -88,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Sat Feb 07 2009 schwab@suse.de
- Rebuild broken info file.
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang errors
* Mon Jul 09 2007 meissner@suse.de