From afb9d50dea24ef47918f10ca5c9a2b2a249a64c8 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 12 Dec 2007 16:41:07 +0000 Subject: [PATCH] - libassuan-1.0.4 - License: LGPLv2+ - disable useless -debuginfo (static libs only) --- .cvsignore | 8 ++------ libassuan.spec | 24 ++++++++++++++++-------- sources | 4 ++-- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.cvsignore b/.cvsignore index 3a17f3b..7ce4c33 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,8 +1,4 @@ -libassuan-0.6.10.tar.gz -libassuan-0.6.10.tar.gz.sig -libassuan-1.0.1.tar.bz2.sig -libassuan-1.0.1.tar.bz2 -libassuan-1.0.2.tar.bz2 -libassuan-1.0.2.tar.bz2.sig libassuan-1.0.3.tar.bz2 libassuan-1.0.3.tar.bz2.sig +libassuan-1.0.4.tar.bz2 +libassuan-1.0.4.tar.bz2.sig diff --git a/libassuan.spec b/libassuan.spec index 9092f6f..248d0cc 100644 --- a/libassuan.spec +++ b/libassuan.spec @@ -1,16 +1,19 @@ Name: libassuan Summary: GnuPG IPC library -Version: 1.0.3 -Release: 2%{?dist} +Version: 1.0.4 +Release: 1%{?dist} -License: LGPLv2 +License: LGPLv2+ Source0: ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig URL: http://www.gnupg.org/ Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# -debuginfo useless for (only) static libs +%define debug_package %{nil} + BuildRequires: gawk BuildRequires: pth-devel @@ -39,7 +42,7 @@ This package contains files needed to develop applications using %{name}. %build #ifarch x86_64 -export CFLAGS="$RPM_OPT_FLAGS -fPIC" +export CFLAGS="%{optflags} -fPIC" #endif %configure @@ -47,12 +50,12 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=%{buildroot} ## Unpackaged files -rm -f $RPM_BUILD_ROOT%{_infodir}/dir +rm -f %{buildroot}%{_infodir}/dir %check @@ -69,7 +72,7 @@ fi %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files devel @@ -83,6 +86,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Dec 12 2007 Rex Dieter - 1.0.4-1 +- libassuan-1.0.4 +- License: LGPLv2+ +- disable useless -debuginfo (static libs only) + * Sun Aug 26 2007 Rex Dieter - 1.0.3-2 - BR: gawk (to reenable pth support) diff --git a/sources b/sources index 911b259..e893b87 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -255d31915f649416938327059a99d33f libassuan-1.0.3.tar.bz2 -77b177895345c800b80dbd005a99da94 libassuan-1.0.3.tar.bz2.sig +ffb95bf2bac23e173f5a83a270f7524a libassuan-1.0.4.tar.bz2 +8e8a6fdff1e9df01f4b396b79064d057 libassuan-1.0.4.tar.bz2.sig