From 7ad58bce52c5a537d83b1be88e39a1b046410f78eedd2589c7087b02c47da428 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 22 Sep 2011 08:41:19 +0000 Subject: [PATCH] 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 --- dejagnu.changes | 7 +++++++ dejagnu.spec | 25 +++---------------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/dejagnu.changes b/dejagnu.changes index 68d05f8..60806d4 100644 --- a/dejagnu.changes +++ b/dejagnu.changes @@ -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 diff --git a/dejagnu.spec b/dejagnu.spec index 5d49c22..b54609b 100644 --- a/dejagnu.spec +++ b/dejagnu.spec @@ -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 - %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