Fixes for package review (#225846).

This commit is contained in:
Christopher Edward Lumens 2007-06-12 16:28:56 +00:00
parent 0bd17492bc
commit 2af649b6e2
1 changed files with 18 additions and 14 deletions

View File

@ -1,11 +1,12 @@
Summary: Development Libraries and headers for EFI Summary: Development Libraries and headers for EFI
Name: gnu-efi Name: gnu-efi
Version: 3.0c Version: 3.0c
Release: 1.1 Release: 2%{?dist}
Group: Development/System Group: Development/System
License: GPL License: GPL
URL: ftp://ftp.hpl.hp.com/pub/linux-ia64
Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-%{version}.tar.gz Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: ia64 i386 ExclusiveArch: ia64 i386
%description %description
@ -13,34 +14,37 @@ This package contains development headers and libraries for developing
applications that run under EFI (Extensible Firmware Interface). applications that run under EFI (Extensible Firmware Interface).
%prep %prep
%setup %setup -q
%build %build
make # Package cannot build with %{?_smp_mflags}.
make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT/usr mkdir -p %{buildroot}/%{_libdir}
make INSTALLROOT=$RPM_BUILD_ROOT/usr install make INSTALLROOT=%{buildroot}/%{_prefix} install
mkdir -p $RPM_BUILD_ROOT/usr/lib/gnuefi mkdir -p %{buildroot}/%{_libdir}/gnuefi
mv $RPM_BUILD_ROOT/usr/lib/*.lds $RPM_BUILD_ROOT/usr/lib/*.o \ mv %{buildroot}/%{_libdir}/*.lds %{buildroot}/%{_libdir}/*.o %{buildroot}/%{_libdir}/gnuefi
$RPM_BUILD_ROOT/usr/lib/gnuefi
make -C apps clean make -C apps clean
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc README.* ChangeLog apps %doc README.* ChangeLog apps
/usr/include/efi %{_includedir}/efi
/usr/lib/* %{_libdir}/*
%changelog %changelog
* Tue Jun 12 2007 Chris Lumens <clumens@redhat.com> - 3.0c-2
- Fixes for package review (#225846).
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0c-1.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0c-1.1
- rebuild - rebuild