forked from pool/dejagnu
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:
parent
2891fd5f4e
commit
7ad58bce52
@ -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
|
Mon Dec 7 12:34:27 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
25
dejagnu.spec
25
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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,14 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: dejagnu
|
Name: dejagnu
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Requires: tcl expect
|
Requires: tcl expect
|
||||||
AutoReqProv: on
|
|
||||||
Version: 1.4.4
|
Version: 1.4.4
|
||||||
Release: 141
|
Release: 141
|
||||||
Summary: Framework for Running Test Suites on Software Tools
|
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
|
Running tests requires two things: the testing framework and the test
|
||||||
suites themselves.
|
suites themselves.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Rob Savoye <rob@welcomehome.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
@ -74,20 +66,12 @@ touch example/calc/ChangeLog
|
|||||||
%build
|
%build
|
||||||
%{suse_update_config}
|
%{suse_update_config}
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
CFLAGS="$RPM_OPT_FLAGS -g" LDFLAGS= \
|
%configure --verbose
|
||||||
./configure \
|
|
||||||
--verbose \
|
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--datadir=%{_datadir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
%{_target_cpu}-suse-linux
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
#cd doc
|
#cd doc
|
||||||
#makeinfo dejagnu.texi
|
#makeinfo dejagnu.texi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
#install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu
|
#install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu
|
||||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu
|
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu
|
||||||
@ -120,9 +104,6 @@ done
|
|||||||
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
||||||
#install -m 644 doc/dejagnu.info* $RPM_BUILD_ROOT/%{_infodir}
|
#install -m 644 doc/dejagnu.info* $RPM_BUILD_ROOT/%{_infodir}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc %{_defaultdocdir}/dejagnu
|
%doc %{_defaultdocdir}/dejagnu
|
||||||
|
Loading…
Reference in New Issue
Block a user