rpms/libetpan/devel libetpan-multiarch.patch, NONE, 1.1 libetpan.spec, 1.21, 1.22

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Sat Jan 5 00:14:48 UTC 2008


Author: awjb

Update of /cvs/pkgs/rpms/libetpan/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6946/devel

Modified Files:
	libetpan.spec 
Added Files:
	libetpan-multiarch.patch 
Log Message:
- fix #342021 multiarch


libetpan-multiarch.patch:

--- NEW FILE libetpan-multiarch.patch ---
--- libetpan-config.in.orig	2008-01-05 01:06:58.000000000 +0100
+++ libetpan-config.in	2008-01-05 01:07:34.000000000 +0100
@@ -47,8 +47,7 @@
       echo $includedir
       ;;
     --libs)
-      libdir=-L at libdir@
-      echo $libdir -letpan at LIBSUFFIX@ @LDFLAGS@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@
+      echo -letpan at LIBSUFFIX@ @LDFLAGS@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@
       ;;
     *)
       echo "${usage}" 1>&2


Index: libetpan.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libetpan/devel/libetpan.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- libetpan.spec	6 Dec 2007 08:30:45 -0000	1.21
+++ libetpan.spec	5 Jan 2008 00:14:12 -0000	1.22
@@ -1,12 +1,13 @@
 Name:           libetpan
 Version:        0.52
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary: Portable, efficient middleware for different kinds of mail access
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://www.etpan.org/
 Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:         libetpan-multiarch.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  db4-devel
@@ -32,10 +33,11 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure --disable-static --with-gnutls=no
-make # %{?_smp_mflags} not parallel clean
+make %{?_smp_mflags}
 
 
 %install
@@ -45,6 +47,8 @@
 rm -rf $RPM_BUILD_ROOT%{_libdir}/libetpan.la
 chmod 755 $RPM_BUILD_ROOT%{_libdir}/libetpan.so.11.0.0
 
+touch -r ChangeLog $RPM_BUILD_ROOT%{_bindir}/libetpan-config
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -64,6 +68,10 @@
 %{_libdir}/*.so
 
 %changelog
+* Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.52-4
+- fix #342021 multiarch
+
 * Thu Dec 06 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 0.52-3
 - bump




More information about the fedora-extras-commits mailing list