- BR: pth-devel, -devel: Requires: pth-devel
This commit is contained in:
Rex Dieter 2006-10-10 18:37:19 +00:00
parent 54cd26b2ad
commit eb9d6296bb
4 changed files with 41 additions and 6 deletions

View File

@ -1,5 +1,5 @@
libassuan-0.6.10.tar.gz
libassuan-0.6.10.tar.gz.sig
libassuan-0.9.0.tar.bz2
libassuan-0.9.0.tar.bz2.sig
libassuan-0.9.2.tar.bz2.sig
libassuan-0.9.2.tar.bz2
libassuan-0.9.3.tar.bz2.sig

24
libassuan-0.9.3-m4.patch Normal file
View File

@ -0,0 +1,24 @@
--- libassuan-0.9.3/src/libassuan.m4.m4patch 2006-10-06 10:28:15.000000000 -0500
+++ libassuan-0.9.3/src/libassuan.m4 2006-10-10 08:33:12.000000000 -0500
@@ -125,8 +125,8 @@
AC_DEFUN([AM_PATH_LIBASSUAN_PTH],
[ _AM_PATH_LIBASSUAN_COMMON($1,pth)
if test $ok = yes; then
- LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
- LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
+ LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --cflags`
+ LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --libs`
ifelse([$2], , :, [$2])
else
LIBASSUAN_PTH_CFLAGS=""
@@ -146,8 +146,8 @@
AC_DEFUN([AM_PATH_LIBASSUAN_PTHREAD],
[ _AM_PATH_LIBASSUAN_COMMON($1,pth)
if test $ok = yes; then
- LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
- LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
+ LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --cflags`
+ LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --libs`
ifelse([$2], , :, [$2])
else
LIBASSUAN_PTHREAD_CFLAGS=""

View File

@ -1,7 +1,7 @@
Name: libassuan
Summary: GnuPG IPC library
Version: 0.9.2
Version: 0.9.3
Release: 1%{?dist}
License: LGPL
@ -11,6 +11,10 @@ URL: http://www.gnupg.org/
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: libassuan-0.9.3-m4.patch
BuildRequires: pth-devel
%description
This is the IPC library used by GnuPG 1.9/2, GPGME and a few other
packages.
@ -18,6 +22,7 @@ packages.
%package devel
Summary: GnuPG IPC library
Group: Development/Libraries
Requires: pth-devel
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
Provides: %{name}-static = %{version}-%{release}
@ -31,6 +36,8 @@ This package contains files needed to develop applications using %{name}.
%prep
%setup -q
%patch1 -p1 -b .m4patch
%build
#ifarch x86_64
@ -67,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/*
%{_includedir}/*
@ -77,6 +84,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-1
- 0.9.3
- BR: pth-devel, -devel: Requires: pth-devel
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.2-1
- 0.9.2

View File

@ -1,2 +1,2 @@
727926633709ba7ce9bc721c3d4c0cbc libassuan-0.9.2.tar.bz2.sig
dfcfa3f26d49a38534c4a9e10e3bd770 libassuan-0.9.2.tar.bz2
a2e3cb948de5159728e73d53529ae7ad libassuan-0.9.3.tar.bz2.sig
60add4aebf1961436da3a470d6ac833c libassuan-0.9.3.tar.bz2