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

Re: Build Result: libotr on development



On Mon, 2005-06-27 at 00:03 +0200, Paul Wouters wrote:

> http://extras64.linux.duke.edu/failed/development/gaim-otr/2.0.2-2.fc5/i386/gaim-otr-2.0.2-2.fc5.failure.log
> 
> It shows it is building the prep stage, while one of the
> build-requires (libotr) is missing.

Two ideas which may or may not affect this (see attached patch):

libotr is currently kind of a self-obsoleting package.  It provides a
versioned libotr-toolkit, but obsoletes _all_ versions of
libotr-toolkit, including itself.

Also, libotr-devel is missing a dependency on libgcrypt-devel.  See
"grep -r '#include' /usr/include/libotr".  This shouldn't affect the
build of gaim-otr which already BuildRequires libgcrypt-devel, but is
the right thing to do anyway.

While at it, I think the docs could be reorganized slightly better
between the main package and -devel.
Index: libotr.spec
===================================================================
RCS file: /cvs/extras/rpms/libotr/devel/libotr.spec,v
retrieving revision 1.5
diff -u -r1.5 libotr.spec
--- libotr.spec	26 Jun 2005 21:52:50 -0000	1.5
+++ libotr.spec	27 Jun 2005 08:10:29 -0000
@@ -8,7 +8,7 @@
 Url: http://www.cypherpunks.ca/otr/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Provides: libotr-toolkit = %{version}
-Obsoletes: libotr-toolkit
+Obsoletes: libotr-toolkit < %{version}
 BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel 
 
 %description
@@ -20,7 +20,7 @@
 %package devel
 Summary: Development library and include files for libotr
 Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}, libgcrypt-devel >= 1.2.0
 
 %description devel
 
@@ -50,13 +50,14 @@
 
 %files 
 %defattr(-,root,root)
-%doc README COPYING COPYING.LIB Protocol
+%doc AUTHORS README COPYING COPYING.LIB NEWS
 %{_libdir}/libotr.so.*
 %{_bindir}/*
 %{_mandir}/man1/*
 
 %files devel
 %defattr(-,root,root,-)
+%doc ChangeLog Protocol
 %{_libdir}/libotr.so
 %{_libdir}/libotr.a
 %dir %{_includedir}/libotr

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