Fixes for package review (#225846).
This commit is contained in:
parent
0bd17492bc
commit
2af649b6e2
30
gnu-efi.spec
30
gnu-efi.spec
@ -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
|
||||||
|
# Package cannot build with %{?_smp_mflags}.
|
||||||
make
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user