svn ver. 1180
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
b85974cf4b
commit
ebb066d53a
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@
|
|||||||
# Note to packagers: Any tree exported with "make export" or "make tarball"
|
# Note to packagers: Any tree exported with "make export" or "make tarball"
|
||||||
# will not require subversion. The downloadable snapshots are already exported.
|
# will not require subversion. The downloadable snapshots are already exported.
|
||||||
-SVNVERSION := 1001
|
-SVNVERSION := 1001
|
||||||
+SVNVERSION := 1158
|
+SVNVERSION := 1180
|
||||||
|
|
||||||
RELEASE := 0.9.2
|
RELEASE := 0.9.2
|
||||||
VERSION := $(RELEASE)-r$(SVNVERSION)
|
VERSION := $(RELEASE)-r$(SVNVERSION)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
%global svnrev 1158
|
%global svnrev 1180
|
||||||
|
|
||||||
Summary: Simple program for reading/writing BIOS chips content
|
Summary: Simple program for reading/writing BIOS chips content
|
||||||
Name: flashrom
|
Name: flashrom
|
||||||
Version: 0.9.2
|
Version: 0.9.2
|
||||||
Release: 3.svn1158%{?dist}
|
Release: 5.svn1180%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://flashrom.org
|
URL: http://flashrom.org
|
||||||
@ -14,12 +14,14 @@ Patch1: flashrom-svn_ver.diff
|
|||||||
Patch2: flashrom-0001-Define-dmidecode-path-at-a-build-stage.patch
|
Patch2: flashrom-0001-Define-dmidecode-path-at-a-build-stage.patch
|
||||||
BuildRequires: pciutils-devel
|
BuildRequires: pciutils-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
%ifnarch ppc ppc64
|
||||||
BuildRequires: dmidecode
|
BuildRequires: dmidecode
|
||||||
Requires: dmidecode
|
Requires: dmidecode
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# see BZ# 283491, 450273, 495226
|
# see rhbz #450273, #495226
|
||||||
ExclusiveArch: %{ix86} x86_64
|
ExclusiveArch: %{ix86} x86_64 ppc ppc64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
|
Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
|
||||||
@ -32,11 +34,19 @@ and write new contents on the chips ("flash the chip").
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch ppc ppc64
|
||||||
|
CFLAGS="%{optflags}" make %{?_smp_mflags} CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_NICREALTEK=no
|
||||||
|
%else
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%ifarch ppc ppc64
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_NICREALTEK=no
|
||||||
|
%else
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -48,6 +58,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/%{name}.*
|
%{_mandir}/man8/%{name}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 21 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-5.svn1180
|
||||||
|
- Patch no.3 merged upstream
|
||||||
|
|
||||||
|
* Fri Sep 17 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-4.svn1158
|
||||||
|
- Enable building on PowerPC (only external flashers enabled so far).
|
||||||
|
See rhbz #283491.
|
||||||
|
|
||||||
* Sun Sep 12 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-3.svn1158
|
* Sun Sep 12 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-3.svn1158
|
||||||
- Clean up spec-file
|
- Clean up spec-file
|
||||||
- Updated to latest svn ver. 1158
|
- Updated to latest svn ver. 1158
|
||||||
|
Loading…
Reference in New Issue
Block a user