Re: [evolution-patches] rpm spec of gal broke again



Amazing the things one learns even when documentation is poor :)

Thanks Frederic.

New patch attached.

Hugs, Rui

On Tue, 2003-05-13 at 10:38, Frederic Crozat wrote:
> fontLe mar 13/05/2003 à 13:31, Rui Miguel Seabra a écrit :
> > Hello,
> > 
> > The attached patch fixes gal's spec which is broke, again.
> 
> This patch is wrong.. You should use %find_lang %{name}-%{version} and
> add -f %{name}-%{version}.lang to %files so locales are correctly tagged
> by RPM when generating the package.
-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Index: gal.spec.in
===================================================================
RCS file: /cvs/gnome/gal/gal.spec.in,v
retrieving revision 1.5
diff -u -r1.5 gal.spec.in
--- gal.spec.in	14 Apr 2003 22:25:40 -0000	1.5
+++ gal.spec.in	13 May 2003 12:59:10 -0000
@@ -47,6 +47,8 @@
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,7 +56,8 @@
 
 %postun -p /sbin/ldconfig
 
-%files
+
+%files -f %{name}-%{version}.lang
 %defattr(0644, root, root, 0755)
 %doc README AUTHORS COPYING ChangeLog NEWS
 %{_datadir}/gal-2.0/%{version}/glade/*.glade

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]