- fix use of macro in changelog (rpmlint)

- build with --disable-rpath (rpmlint)
- build with %%{?_smp_mflags}
This commit is contained in:
Nalin Dahyabhai 2010-01-11 21:50:23 +00:00
parent 317455b5a2
commit d818290f3e

View File

@ -1,7 +1,7 @@
Summary: Library for error values used by GnuPG components
Name: libgpg-error
Version: 1.7
Release: 1%{?dist}
Release: 2%{?dist}
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
@ -36,8 +36,8 @@ contains files necessary to develop applications using libgpg-error.
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpg-error-config.in
%build
%configure --disable-static
make
%configure --disable-static --disable-rpath
make %{?_smp_mflags}
%install
rm -fr $RPM_BUILD_ROOT
@ -98,6 +98,11 @@ rm -fr $RPM_BUILD_ROOT
%{_datadir}/aclocal/gpg-error.m4
%changelog
* Mon Jan 11 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-2
- fix use of macro in changelog (rpmlint)
- build with --disable-rpath (rpmlint)
- build with %%{?_smp_mflags}
* Thu Oct 15 2009 Nalin Dahyabhai <nalin@redhat.com> - 1.7-1
- long-overdue update to 1.7
- add a disttag
@ -132,7 +137,7 @@ rm -fr $RPM_BUILD_ROOT
- disable static libraries (part of #249815)
* Fri Jul 27 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-2
- move libgpg-error shared library to /%{_lib} (#249816)
- move libgpg-error shared library to /%%{_lib} (#249816)
* Thu Jul 19 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-1
- update to 1.5