rpms/dev86/devel dev86-x86_64.patch,NONE,1.1 dev86.spec,1.19,1.20
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Dec 27 17:01:19 UTC 2006
Author: jnovy
Update of /cvs/dist/rpms/dev86/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11932
Modified Files:
dev86.spec
Added Files:
dev86-x86_64.patch
Log Message:
- bcc now searches in correct path for bcc-cpp on x86_64 (#219697)
dev86-x86_64.patch:
bcc.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
--- NEW FILE dev86-x86_64.patch ---
--- dev86-0.16.17/bcc/bcc.c.fix 2005-01-03 23:41:55.000000000 +0100
+++ dev86-0.16.17/bcc/bcc.c 2006-12-27 16:32:57.000000000 +0100
@@ -226,12 +226,12 @@
} else {
/* Relative paths to normal PREFIX directory */
- default_include = build_libpath("-I", "/lib/bcc/include", "");
- default_libdir = build_libpath("-L", "/lib/bcc", libdir_suffix);
- optim_rules = build_libpath("-d", "/lib/bcc", libdir_suffix);
+ default_include = build_libpath("-I", "/lib64/bcc/include", "");
+ default_libdir = build_libpath("-L", "/lib64/bcc", libdir_suffix);
+ optim_rules = build_libpath("-d", "/lib64/bcc", libdir_suffix);
- build_prefix("/lib/bcc", libdir_suffix, "");
- build_prefix("/lib/bcc", "", "");
+ build_prefix("/lib64/bcc", libdir_suffix, "");
+ build_prefix("/lib64/bcc", "", "");
}
build_prefix("/bin", "", "");
Index: dev86.spec
===================================================================
RCS file: /cvs/dist/rpms/dev86/devel/dev86.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- dev86.spec 6 Dec 2006 12:34:30 -0000 1.19
+++ dev86.spec 27 Dec 2006 17:01:16 -0000 1.20
@@ -1,12 +1,15 @@
Summary: A real mode 80x86 assembler and linker
Name: dev86
Version: 0.16.17
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL
Group: Development/Languages
URL: http://homepage.ntlworld.com/robert.debath/
Source: http://homepage.ntlworld.com/robert.debath/dev86/Dev86src-%{version}.tar.gz
Patch0: dev86-noelks.patch
+%ifarch x86_64
+Patch1: dev86-x86_64.patch
+%endif
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: bin86
ExclusiveArch: i386 x86_64
@@ -25,9 +28,8 @@
%prep
%setup -q
%patch0 -p1 -b .noelks
-
%ifarch x86_64
-perl -pi -e 's/lib/lib64/g' Makefile
+%patch1 -p1 -b .x86_64
%endif
%build
@@ -39,17 +41,23 @@
%install
rm -rf ${RPM_BUILD_ROOT}
-make DIST=${RPM_BUILD_ROOT} MANDIR=%{_mandir} install install-man
+make DIST=${RPM_BUILD_ROOT} \
+ MANDIR=%{_mandir} \
+ LIBDIR=%{_libdir}/bcc \
+ INCLDIR=%{_libdir}/bcc \
+ LOCALPREFIX=%{_prefix} \
+ install install-man
# preserve READMEs
for i in bootblocks copt dis88 unproto bin86 ; do cp $i/README README.$i ; done
cp bin86/README-0.4 README-0.4.bin86
cp bin86/ChangeLog ChangeLog.bin86
-cd ${RPM_BUILD_ROOT}%{_bindir}
+pushd ${RPM_BUILD_ROOT}%{_bindir}
rm -f nm86 size86
ln -s objdump86 nm86
ln -s objdump86 size86
+popd
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -70,6 +78,9 @@
%{_mandir}/man1/*
%changelog
+* Wed Dec 27 2006 Jindrich Novy <jnovy at redhat.com> - 0.16.17-4
+- bcc now searches in correct path for bcc-cpp on x86_64 (#219697)
+
* Tue Dec 5 2006 Jindrich Novy <jnovy at redhat.com> - 0.16.17-3
- make the dev86 spec less tragic -> use macros, don't conflict
on multiarches, add URL, fix BuildRoot, fix rpmlint warnings
More information about the fedora-cvs-commits
mailing list