rpms/fpc/F-7 .cvsignore, 1.8, 1.9 fpc.spec, 1.12, 1.13 sources, 1.9, 1.10
Joost van der Sluis (joost)
fedora-extras-commits at redhat.com
Thu Oct 18 12:11:23 UTC 2007
- Previous message (by thread): rpms/xgrav/F-7 xgrav.desktop, NONE, 1.1 xgrav.png, NONE, 1.1 xgrav.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/kdelibs4/devel kdelibs4.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: joost
Update of /cvs/pkgs/rpms/fpc/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8692
Modified Files:
.cvsignore fpc.spec sources
Log Message:
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-10
- Do not use BuildId on F7
- Strip the debuginfo from grab_vcsa and ppudump, since debugedit chokes on it
- Only strip debugdata on x86_64
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-9
- Strip the debuginfo from mkxmlrpc, since debugedit chokes on it
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-8
- Strip the debuginfo from h2pas, since debugedit chokes on it
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-7
- Include the startcompiler on all targets, for the srpm-building
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-6
- Disabled debuginfo for ppc64 only
- Enabled smart-linking on ppc64
- Added a patch for building documentation without fpc already installed
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-5
- Disabled debuginfo
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-4
- Enabled BuildId, added it to fpc.cfg
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/F-7/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 16 Oct 2007 15:01:44 -0000 1.8
+++ .cvsignore 18 Oct 2007 12:10:50 -0000 1.9
@@ -1,2 +1,4 @@
fpcbuild-2.2.0.tar.gz
fpc-2.2.0-samplecfg_32and64bit.patch
+fpc-2.2.0.compiler.bin.tar.gz
+fpc-2.2.0-fpcdocs.patch
Index: fpc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/F-7/fpc.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- fpc.spec 16 Oct 2007 14:42:59 -0000 1.12
+++ fpc.spec 18 Oct 2007 12:10:50 -0000 1.13
@@ -4,17 +4,18 @@
Name: fpc
Version: 2.2.0
-Release: 3%{?dist}
+Release: 10%{?dist}
Summary: Free Pascal Compiler
Group: Development/Languages
License: GPL and modified LGPL
URL: http://www.freepascal.org/
Source0: ftp://ftp.freepascal.org/pub/fpc/dist/source-%{version}/%{name}build-%{version}.tar.gz
-%if %{defined useprebuiltcompiler}
+# This is only needed when useprebuiltcompiler is defined.
+# But it's not in an 'if defined' block, since the file has to be included in the srpm
Source1: http://www.cnoc.nl/fpc/%{name}-%{version}.compiler.bin.tar.gz
-%endif
Patch0: %{name}-%{version}-samplecfg_32and64bit.patch
+Patch1: %{name}-%{version}-fpcdocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: gpm, glibc, ncurses, binutils
@@ -50,20 +51,22 @@
The fpc-src package contains the sources of Freepascal, for documentation or
automatical-code generation purposes.
+%define smart _smart
+
%ifarch ppc
%define ppcname ppcppc
-%define smart _smart
+%define fpcopt '-gl'
%else
%ifarch x86_64
%define ppcname ppcx64
-%define smart _smart
+%define fpcopt '-gl'
%else
%ifarch ppc64
%define ppcname ppcppc64
-%define smart _all
+%define fpcopt '
%else
%define ppcname ppc386
-%define smart _smart
+%define fpcopt '-gl'
%endif
%endif
%endif
@@ -75,6 +78,7 @@
%setup -n fpcbuild-%{version} -q
%endif
%patch0
+%patch1
%build
# The source-files:
@@ -93,14 +97,23 @@
NEWPP=`pwd`/compiler/%{ppcname}
NEWFPDOC=`pwd`/utils/fpdoc/fpdoc
DATA2INC=`pwd`/utils/data2inc
-make compiler_cycle FPC=${STARTPP} OPT='-gl'
-make rtl_clean rtl%{smart} FPC=${NEWPP} OPT='-gl'
-make packages_base%{smart} FPC=${NEWPP} OPT='-gl'
-make packages_fcl%{smart} FPC=${NEWPP} OPT='-gl'
-make fv%{smart} FPC=${NEWPP} OPT='-gl'
-make packages_extra%{smart} FPC=${NEWPP} OPT='-gl'
-make ide_all FPC=${NEWPP} OPT='-gl'
-make utils_all FPC=${NEWPP} DATA2INC=${DATA2INC} OPT='-gl'
+make compiler_cycle FPC=${STARTPP} OPT=%{fpcopt}
+make rtl_clean rtl%{smart} FPC=${NEWPP} OPT=%{fpcopt}
+make packages_base%{smart} FPC=${NEWPP} OPT=%{fpcopt}
+make packages_fcl%{smart} FPC=${NEWPP} OPT=%{fpcopt}
+make fv%{smart} FPC=${NEWPP} OPT=%{fpcopt}
+make packages_extra%{smart} FPC=${NEWPP} OPT=%{fpcopt}
+make ide_all FPC=${NEWPP} OPT=%{fpcopt}
+make utils_all FPC=${NEWPP} DATA2INC=${DATA2INC} OPT=%{fpcopt}
+
+%ifarch x86_64
+# Debugedit crashes on this file, if it has debug-info.
+# As a temporary solution, strip the debug-info.
+%__strip utils/h2pas/h2pas
+%__strip utils/grab_vcsa
+%__strip compiler/utils/ppudump
+%__strip packages/fcl-net/mkxmlrpc
+%endif
cd ..
make -C fpcdocs pdf FPC=${NEWPP} FPDOC=${NEWFPDOC}
@@ -177,6 +190,31 @@
%{_datadir}/fpcsrc
%changelog
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-10
+- Do not use BuildId on F7
+- Strip the debuginfo from grab_vcsa and ppudump, since debugedit chokes on it
+- Only strip debugdata on x86_64
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-9
+- Strip the debuginfo from mkxmlrpc, since debugedit chokes on it
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-8
+- Strip the debuginfo from h2pas, since debugedit chokes on it
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-7
+- Include the startcompiler on all targets, for the srpm-building
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-6
+- Disabled debuginfo for ppc64 only
+- Enabled smart-linking on ppc64
+- Added a patch for building documentation without fpc already installed
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-5
+- Disabled debuginfo
+
+* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-4
+- Enabled BuildId, added it to fpc.cfg
+
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-3
- Disabled smart-linking on ppc64
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/F-7/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 16 Oct 2007 15:01:44 -0000 1.9
+++ sources 18 Oct 2007 12:10:50 -0000 1.10
@@ -1,2 +1,4 @@
0869cfd07d012b702ff08c0a4196624b fpcbuild-2.2.0.tar.gz
01fb41d3a6b0536939f63d684d916e5f fpc-2.2.0-samplecfg_32and64bit.patch
+d78b19b59457bb98dacb6e3267fe3714 fpc-2.2.0.compiler.bin.tar.gz
+3a5fbdcee3f36dbfaf57915456fa70e5 fpc-2.2.0-fpcdocs.patch
- Previous message (by thread): rpms/xgrav/F-7 xgrav.desktop, NONE, 1.1 xgrav.png, NONE, 1.1 xgrav.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/kdelibs4/devel kdelibs4.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list