SPECS: tapioca-xmpp.spec - use sed because perl hides errors

glen glen at pld-linux.org
Mon Jan 22 12:37:44 CET 2007


Author: glen                         Date: Mon Jan 22 11:37:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed because perl hides errors

---- Files affected:
SPECS:
   tapioca-xmpp.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/tapioca-xmpp.spec
diff -u SPECS/tapioca-xmpp.spec:1.3 SPECS/tapioca-xmpp.spec:1.4
--- SPECS/tapioca-xmpp.spec:1.3	Mon Jan 22 12:36:12 2007
+++ SPECS/tapioca-xmpp.spec	Mon Jan 22 12:37:39 2007
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 # TODO: real desc
+######		Unknown group!
 Summary:	Tapioca - VoIP framework
 Summary(pl):	Tapioca - szkielet VoIP
 Name:		tapioca-xmpp
@@ -19,9 +20,10 @@
 BuildRequires:	libjingle-devel >= 0.3
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
 BuildRequires:	tapioca-libs-devel >= 0.3
 Requires:	tapioca >= 0.3
-Buildroot:	%{_tmppath}/%{name}-buildroot 
+Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Tapioca is a framework for Voice over IP (VoIP) and Instant Messaging
@@ -42,7 +44,9 @@
 %setup -q
 %patch0 -p0
 
-perl -pi -e "s|/lib\b|/%{_lib}|g" configure.ac
+%if "%{_lib}" != "lib"
+%{__sed} -i -e 's|/lib|/%{_lib}|g' configure.ac
+%endif
 
 %build
 rm -rf autom4te.cache
@@ -64,7 +68,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
+%defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/dbus-1/services/org.tapioca.Xmpp.service
@@ -76,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/01/22 11:37:39  glen
+- use sed because perl hides errors
+
 Revision 1.3  2007/01/22 11:36:12  qboosh
 - revised BRs
 - removed COPYING from doc (just LGPL)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tapioca-xmpp.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list