Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148783 Details for
Bug 226795
Review Request: sdcc - Small Device C Compiler
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Misc spec changes
sdcc.spec.diff (text/x-patch), 2.29 KB, created by
Ralf Corsepius
on 2007-02-26 08:21:34 UTC
(
hide
)
Description:
Misc spec changes
Filename:
MIME Type:
Creator:
Ralf Corsepius
Created:
2007-02-26 08:21:34 UTC
Size:
2.29 KB
patch
obsolete
>--- sdcc.spec.orig 2007-02-26 00:02:37.000000000 +0100 >+++ sdcc.spec 2007-02-26 09:16:24.000000000 +0100 >@@ -1,12 +1,13 @@ > Name: sdcc > Version: 2.6.0 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Small Device C Compiler > > Group: Applications/Engineering > License: GPL > URL: http://sdcc.sourceforge.net > Source0: http://heanet.dl.sourceforge.net/sourceforge/sdcc/%{name}-src-%{version}.tar.gz >+Patch0: sdcc-2.6.0-configure.diff > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > BuildRequires: flex >@@ -36,24 +37,47 @@ > > %prep > %setup -q -n sdcc >+%patch -p1 >+ >+# Extract %%__os_install_post into os_install_post~ >+cat << \EOF > os_install_post~ >+%__os_install_post >+EOF >+ >+# Generate customized brp-*scripts >+cat os_install_post~ | while read a x y; do >+case $a in >+# Prevent brp-strip* from trying to handle foreign binaries >+*/brp-strip*) >+ b=$(basename $a) >+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b >+ chmod a+x $b >+ ;; >+esac >+done >+ >+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \ >+< os_install_post~ > os_install_post > > > %build > %configure --enable-doc --enable-libgc >-make %{?_smp_mflags} >+make %{?_smp_mflags} Q= > > > %install > rm -rf $RPM_BUILD_ROOT >-make install DESTDIR=$RPM_BUILD_ROOT >+make install DESTDIR=$RPM_BUILD_ROOT Q= > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp > mv $RPM_BUILD_ROOT/%{_bindir}/*.el $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp > find $RPM_BUILD_ROOT -type f -name \*.c -exec chmod a-x '{}' \; > mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/sdcc > mv $RPM_BUILD_ROOT/%{_bindir}/* $RPM_BUILD_ROOT/%{_libexecdir}/sdcc >-cd $RPM_BUILD_ROOT/%{_bindir} >+pushd $RPM_BUILD_ROOT/%{_bindir} > for x in ../libexec/sdcc/*; do ln -s $x sdcc-$(basename $x); done >+popd > >+%define __os_install_post . ./os_install_post > > %clean > rm -rf $RPM_BUILD_ROOT >@@ -69,6 +93,12 @@ > > > %changelog >+* Mon Feb 26 2007 Ralf Corsépius <rc040203@freenet.de> - 2.6.0-4 >+- Add sdcc-2.6.0-configure.diff. >+- Pass Q= to make to make building verbose. >+- Add __os_install_post post-hacks to prevent brp-strip from processing >+ foreign binaries. >+ > * Mon Feb 26 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.6.0-3 > - Broken symlinks fixed. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 226795
:
148782
| 148783