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