SPECS: most.spec - moved some commands from %%build to %%prep - use sed not...
pawelz
pawelz at pld-linux.org
Sun Nov 16 03:30:40 CET 2008
Author: pawelz Date: Sun Nov 16 02:30:40 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- moved some commands from %%build to %%prep
- use sed not perl
- better polish Summary
---- Files affected:
SPECS:
most.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/most.spec
diff -u SPECS/most.spec:1.44 SPECS/most.spec:1.45
--- SPECS/most.spec:1.44 Sun Nov 16 00:32:38 2008
+++ SPECS/most.spec Sun Nov 16 03:30:34 2008
@@ -3,7 +3,7 @@
# - AC_CHECK_SIZEOF tests do not work with autoconf > 2.61, so this spec file
# does not build on systems with new autotools (titanium and th).
Summary: SLang based pager
-Summary(pl.UTF-8): Bazujący na SLang'u pager
+Summary(pl.UTF-8): Pager bazujący na SLangu
Name: most
Version: 5.0.0a
Release: 1
@@ -14,7 +14,7 @@
URL: http://www.jedsoft.org/most/
BuildRequires: autoconf = 2.61
BuildRequires: automake
-BuildRequires: perl-base
+BuildRequires: sed >= 4.0
BuildRequires: slang-devel >= 1.3.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,12 +30,12 @@
%prep
%setup -q
-%{__perl} -pi -e 's@%{_prefix}/lib@%{_prefix}/%{_lib}@' autoconf/aclocal.m4
-
-%build
+%{__sed} -i -e 's@%{_prefix}/lib@%{_prefix}/%{_lib}@' autoconf/aclocal.m4
cp -f /usr/share/automake/config.* autoconf
cp -f autoconf/configure.ac .
cp -f autoconf/aclocal.m4 acinclude.m4
+
+%build
%{__aclocal}
%{__autoconf}
%configure \
@@ -71,6 +71,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2008/11/16 02:30:34 pawelz
+- moved some commands from %%build to %%prep
+- use sed not perl
+- better polish Summary
+
Revision 1.44 2008/11/15 23:32:38 pawelz
- BR autoconf <= 2.61. Added TODO note.
- AC_CHECK_SIZEOF tests in `most' does not work with autoconf > 2.61.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/most.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list