include php-imap in FC2 (bug #115535)
Kaj J. Niemi
mail.sw.rh.rhl.devel at spam.fi.basen.net
Tue Mar 2 18:30:41 UTC 2004
> %post/%postun, and there were a few too many RFCs in %doc for my taste.
Ok.
> RPM_OPT_FLAGS doesn't seem to be actually used during the build AFAICT.
True. Make type lnp actually uses RPM_OPT_FLAGS as BASECFLAGS but I don't
think it's being used anywhere in c-client. Diff to yours below.
--- libc-client.spec.rh 2004-03-02 20:19:45.810283163 +0200
+++ libc-client.spec 2004-03-02 20:29:49.626635533 +0200
@@ -5,7 +5,7 @@
Summary: C-client mail access routines for IMAP and POP protocols
Name: libc-client
Version: 2002e
-Release: 1
+Release: 2
Epoch: 0
License: University of Washington Free-Fork License
Group: System Environment/Daemons
@@ -31,6 +31,7 @@
# DO NOT REMOVE THIS PAM HEADER DEPENDANCY OR FACE THE WRATH
BuildPreReq: /usr/include/security/pam_modules.h
Requires: pam >= 0.59
+Conflicts: imap
%description
C-client is a common API for accessing mailboxes. It is used internally by
@@ -40,6 +41,7 @@
%package devel
Summary: Development tools for programs which will use the IMAP library.
Group: Development/Libraries
+Conflicts: imap-devel
%description devel
The c-client-devel package contains the header files and static libraries
@@ -69,8 +71,9 @@
# Set EXTRACFLAGS here instead of in imap-2000-redhat.patch (#20760)
EXTRACFLAGS="$EXTRACFLAGS -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1"
EXTRACFLAGS="$EXTRACFLAGS -I/usr/include/openssl"
+EXTRACFLAGS="$EXTRACFLAGS -fPIC"
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC" lnp \
+make lnp \
EXTRACFLAGS="$EXTRACFLAGS" \
EXTRALDFLAGS="$EXTRALDFLAGS" \
EXTRAAUTHENTICATORS=gss \
@@ -122,6 +125,10 @@
%{_libdir}/lib%{soname}.so
%changelog
+* Tue Mar 02 2004 Kaj J. Niemi <kajtzu at fi.basen.net> 0:2002e-2
+- "lnp" already uses RPM_OPT_FLAGS
+- have us conflict with imap, imap-devel
+
* Tue Mar 2 2004 Joe Orton <jorton at redhat.com> 0:2002e-1
- add post/postun, always use -fPIC
// kaj
More information about the fedora-devel-list
mailing list