- turn off common lisp bindings the right way
- drop finger output - recode the changelog into UTF-8 if it isn't UTF-8 (rpmlint)
This commit is contained in:
		
							parent
							
								
									5656325365
								
							
						
					
					
						commit
						1c669d3455
					
				| @ -1,14 +1,14 @@ | |||||||
| 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: 2%{?dist} | Release: 3%{?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 | ||||||
| Group: System Environment/Libraries | Group: System Environment/Libraries | ||||||
| License: LGPLv2+ | License: LGPLv2+ | ||||||
| BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||||||
| BuildRequires: gawk, gettext, libtool | BuildRequires: gawk, gettext, autoconf, automake, libtool | ||||||
| Requires(post): /sbin/ldconfig | Requires(post): /sbin/ldconfig | ||||||
| Requires(postun): /sbin/ldconfig | Requires(postun): /sbin/ldconfig | ||||||
| 
 | 
 | ||||||
| @ -34,20 +34,26 @@ contains files necessary to develop applications using libgpg-error. | |||||||
| # set it to a value which we know will be suppressed. | # set it to a value which we know will be suppressed. | ||||||
| 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 | ||||||
| # Recode the changelog into UTF-8 to meet packaging guidelines. | # Recode the changelog into UTF-8 to meet packaging guidelines. | ||||||
| iconv ChangeLog -f UTF-8 -t UTF-8 ChangeLog > /dev/null || \ | iconv -f UTF-8 -t UTF-8 ChangeLog > /dev/null || \ | ||||||
| ( mv ChangeLog ChangeLog.iso-8859-15 && \ | ( mv ChangeLog ChangeLog.iso-8859-15 && \ | ||||||
|   iconv -f ISO-8859-15 -t UTF-8 ChangeLog.iso-8859-15 > ChangeLog && |   iconv -f ISO-8859-15 -t UTF-8 ChangeLog.iso-8859-15 > ChangeLog && | ||||||
|   touch -r ChangeLog.iso-8859-15 ChangeLog ) |   touch -r ChangeLog.iso-8859-15 ChangeLog ) | ||||||
|  | # We need a version of libtool that won't decide to add an rpath of /usr/lib64 | ||||||
|  | # even when we ask it not to. | ||||||
|  | libtoolize -f -c | ||||||
|  | aclocal | ||||||
|  | automake | ||||||
|  | autoheader | ||||||
|  | autoconf | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| %configure --disable-static --disable-rpath | %configure --disable-static --disable-rpath --disable-languages | ||||||
| make %{?_smp_mflags} LIBTOOL=libtool | make %{?_smp_mflags} | ||||||
| 
 | 
 | ||||||
| %install | %install | ||||||
| rm -fr $RPM_BUILD_ROOT | rm -fr $RPM_BUILD_ROOT | ||||||
| make install DESTDIR=$RPM_BUILD_ROOT | make install DESTDIR=$RPM_BUILD_ROOT | ||||||
| rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la | ||||||
| rm -rf $RPM_BUILD_ROOT/%{_datadir}/common-lisp |  | ||||||
| 
 | 
 | ||||||
| %find_lang %{name} | %find_lang %{name} | ||||||
| 
 | 
 | ||||||
| @ -102,6 +108,11 @@ rm -fr $RPM_BUILD_ROOT | |||||||
| %{_datadir}/aclocal/gpg-error.m4 | %{_datadir}/aclocal/gpg-error.m4 | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Thu Feb 25 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-3 | ||||||
|  | - turn off common lisp bindings the right way | ||||||
|  | - drop finger output | ||||||
|  | - recode the changelog into UTF-8 if it isn't UTF-8 (rpmlint) | ||||||
|  | 
 | ||||||
| * Mon Jan 11 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-2 | * Mon Jan 11 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-2 | ||||||
| - fix use of macro in changelog (rpmlint) | - fix use of macro in changelog (rpmlint) | ||||||
| - build with --disable-rpath (rpmlint) | - build with --disable-rpath (rpmlint) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user