Accepting request 84284 from devel:tools

- Remove redundant tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build (forwarded request 83234 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dejagnu?expand=0&rev=12
This commit is contained in:
Sascha Peilicke 2011-09-22 08:41:19 +00:00 committed by Git OBS Bridge
parent 2891fd5f4e
commit 7ad58bce52
2 changed files with 10 additions and 22 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Mon Dec 7 12:34:27 CET 2009 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dejagnu (Version 1.4.4)
# spec file for package dejagnu
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,14 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dejagnu
License: GPLv2+
Group: Development/Tools/Building
Requires: tcl expect
AutoReqProv: on
Version: 1.4.4
Release: 141
Summary: Framework for Running Test Suites on Software Tools
@ -58,12 +56,6 @@ language.
Running tests requires two things: the testing framework and the test
suites themselves.
Authors:
--------
Rob Savoye <rob@welcomehome.org>
%prep
%setup -q -n %{name}-%{version}
%patch0
@ -74,20 +66,12 @@ touch example/calc/ChangeLog
%build
%{suse_update_config}
autoreconf -f -i
CFLAGS="$RPM_OPT_FLAGS -g" LDFLAGS= \
./configure \
--verbose \
--prefix=%{_prefix} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
%configure --verbose
make %{?_smp_mflags}
#cd doc
#makeinfo dejagnu.texi
%install
rm -rf "$RPM_BUILD_ROOT"
make install DESTDIR=$RPM_BUILD_ROOT
#install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu
@ -120,9 +104,6 @@ done
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
#install -m 644 doc/dejagnu.info* $RPM_BUILD_ROOT/%{_infodir}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-, root, root)
%doc %{_defaultdocdir}/dejagnu