[iasl] Update build and install rules for new source layout.

Richard W.M. Jones rjones at fedoraproject.org
Thu Oct 11 16:22:18 UTC 2012


commit 43c743dc0f21e64691c09f3833529e8e8333ed90
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Oct 11 17:17:56 2012 +0100

    Update build and install rules for new source layout.

 iasl.spec |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/iasl.spec b/iasl.spec
index cf99bd7..ee36f84 100644
--- a/iasl.spec
+++ b/iasl.spec
@@ -1,6 +1,6 @@
 Name:           iasl
 Version:        20120913
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Intel ASL compiler/decompiler
 
 Group:          Development/Languages
@@ -29,17 +29,13 @@ cp -p %{SOURCE1} README.Fedora
 cp -p %{SOURCE2} iasl.1
 
 %build
-export CC=gcc
-export CFLAGS="$RPM_OPT_FLAGS"
-export LDFLAGS="$CFLAGS"
-cd compiler
 # does not compile with %{?_smp_mflags}
 make
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -p -D compiler/iasl $RPM_BUILD_ROOT%{_bindir}/iasl
+install -p -D generate/unix/bin64/iasl $RPM_BUILD_ROOT%{_bindir}/iasl
 install -m 0644 -p -D iasl.1 $RPM_BUILD_ROOT%{_mandir}/man1/iasl.1
 
 
@@ -49,18 +45,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc changes.txt README README.Fedora
+%doc changes.txt README.Fedora
 %{_bindir}/iasl
 %{_mandir}/man1/iasl.1.gz
 
 
 %changelog
-* Thu Oct 11 2012 Richard W.M. Jones <rjones at redhat.com> - 20120913-1
+* Thu Oct 11 2012 Richard W.M. Jones <rjones at redhat.com> - 20120913-2
 - Update to latest upstream version (20120913).
 - Fix project homepage.
 - Remove the old patches, since they don't affect the new version.
 - Add a configuration patch.
 - Fix .gitignore file.
+- Update build and install rules for new source layout.
 
 * Wed Oct 10 2012 Richard W.M. Jones <rjones at redhat.com> - 20100528-6
 - Fix errors found using gcc -Wall (RHBZ#856856).


More information about the scm-commits mailing list