rpms/fpc/devel .cvsignore, 1.8, 1.9 fpc.spec, 1.17, 1.18 sources, 1.9, 1.10
Joost van der Sluis (joost)
fedora-extras-commits at redhat.com
Tue Oct 16 21:36:02 UTC 2007
Author: joost
Update of /cvs/pkgs/rpms/fpc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5225
Modified Files:
.cvsignore fpc.spec sources
Log Message:
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-5
- Disabled debuginfo for ppc64 only
- Enabled smart-linking on ppc64
- Added a patch for building documentation without fpc already installed
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 16 Oct 2007 13:48:53 -0000 1.8
+++ .cvsignore 16 Oct 2007 21:35:29 -0000 1.9
@@ -2,3 +2,4 @@
fpc-2.2.0-samplecfg_32and64bit.patch
fpc-2.2.0.compiler.bin.tar.gz
fpc-2.2.0-build-id.patch
+fpc-2.2.0-fpcdocs.patch
Index: fpc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/devel/fpc.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- fpc.spec 16 Oct 2007 18:41:35 -0000 1.17
+++ fpc.spec 16 Oct 2007 21:35:29 -0000 1.18
@@ -16,6 +16,7 @@
%endif
Patch0: %{name}-%{version}-samplecfg_32and64bit.patch
Patch1: %{name}-%{version}-build-id.patch
+Patch2: %{name}-%{version}-fpcdocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: gpm, glibc, ncurses, binutils
@@ -51,20 +52,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 '-k--build-id -gl'
%else
%ifarch x86_64
%define ppcname ppcx64
-%define smart _smart
+%define fpcopt '-k--build-id -gl'
%else
%ifarch ppc64
%define ppcname ppcppc64
-%define smart _all
+%define fpcopt '-k--build-id'
%else
%define ppcname ppc386
-%define smart _smart
+%define fpcopt '-k--build-id -gl'
%endif
%endif
%endif
@@ -77,6 +80,7 @@
%endif
%patch0
%patch1
+%patch2
%build
# The source-files:
@@ -95,14 +99,14 @@
NEWPP=`pwd`/compiler/%{ppcname}
NEWFPDOC=`pwd`/utils/fpdoc/fpdoc
DATA2INC=`pwd`/utils/data2inc
-make compiler_cycle FPC=${STARTPP} OPT='-k--build-id'
-make rtl_clean rtl%{smart} FPC=${NEWPP} OPT='-k--build-id'
-make packages_base%{smart} FPC=${NEWPP} OPT='-k--build-id'
-make packages_fcl%{smart} FPC=${NEWPP} OPT='-k--build-id'
-make fv%{smart} FPC=${NEWPP} OPT='-k--build-id'
-make packages_extra%{smart} FPC=${NEWPP} OPT='-k--build-id'
-make ide_all FPC=${NEWPP} OPT='-k--build-id'
-make utils_all FPC=${NEWPP} DATA2INC=${DATA2INC} OPT='-k--build-id'
+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}
cd ..
make -C fpcdocs pdf FPC=${NEWPP} FPDOC=${NEWFPDOC}
@@ -180,6 +184,11 @@
%changelog
* Mon Oct 16 2007 Joost van der Sluis <joost at cnoc.nl> 2.2.0-5
+- 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
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fpc/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 16 Oct 2007 13:48:53 -0000 1.9
+++ sources 16 Oct 2007 21:35:29 -0000 1.10
@@ -2,3 +2,4 @@
01fb41d3a6b0536939f63d684d916e5f fpc-2.2.0-samplecfg_32and64bit.patch
d78b19b59457bb98dacb6e3267fe3714 fpc-2.2.0.compiler.bin.tar.gz
02d1e509ba590b7de0817f69658f047f fpc-2.2.0-build-id.patch
+3a5fbdcee3f36dbfaf57915456fa70e5 fpc-2.2.0-fpcdocs.patch
More information about the fedora-extras-commits
mailing list