This commit is contained in:
Jakub Jelinek 2005-02-16 13:38:21 +00:00
parent d0b84a15dd
commit c9b1616cae

View File

@ -1,7 +1,7 @@
%define gpl 0 %define gpl 0
Summary: A collection of utilities and DSOs to handle compiled objects. Summary: A collection of utilities and DSOs to handle compiled objects.
Name: elfutils Name: elfutils
Version: 0.99 Version: 0.101
Release: 2 Release: 2
%if %{gpl} %if %{gpl}
License: GPL License: GPL
@ -11,6 +11,8 @@ License: OSL
Group: Development/Tools Group: Development/Tools
#URL: file://home/devel/drepper/ #URL: file://home/devel/drepper/
Source: elfutils-%{version}.tar.gz Source: elfutils-%{version}.tar.gz
Patch1: elfutils-%{version}-bswap.patch
Patch2: elfutils-%{version}-portability.patch
Obsoletes: libelf libelf-devel Obsoletes: libelf libelf-devel
Requires: elfutils-libelf = %{version}-%{release} Requires: elfutils-libelf = %{version}-%{release}
%if %{gpl} %if %{gpl}
@ -85,17 +87,18 @@ different sections of an ELF file.
%prep %prep
%setup -q %setup -q
%patch1 -p0
%patch2 -p1
%build %build
mkdir build-%{_target_platform} mkdir build-%{_target_platform}
cd build-%{_target_platform} cd build-%{_target_platform}
../configure \ cat > configure <<\EOF
--prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \ #!/bin/sh
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ exec ../configure "$@"
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \ EOF
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \ chmod +x configure
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \ %configure --enable-shared
--infodir=%{_infodir} --program-prefix=%{_programprefix} --enable-shared
cd .. cd ..
%install %install
@ -190,6 +193,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.so %{_libdir}/libelf.so
%changelog %changelog
* Wed Feb 16 2005 Jakub Jelinek <jakub@redhat.com> 0.101-2
- update to 0.101.
- use %%configure macro to get CFLAGS etc. right
* Sat Feb 5 2005 Jeff Johnson <jbj@redhat.com> 0.99-2 * Sat Feb 5 2005 Jeff Johnson <jbj@redhat.com> 0.99-2
- upgrade to 0.99. - upgrade to 0.99.