rpms/ghdl/F-10 ieee-mathreal.patch,NONE,1.1 ghdl.spec,1.42,1.43

Thomas M. Sailer sailer at fedoraproject.org
Sat Apr 18 11:21:58 UTC 2009


Author: sailer

Update of /cvs/extras/rpms/ghdl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16330

Modified Files:
	ghdl.spec 
Added Files:
	ieee-mathreal.patch 
Log Message:
backport ieee.math_real change from devel


ieee-mathreal.patch:

--- NEW FILE ieee-mathreal.patch ---
--- vhdl/libraries/ieee/math_real.vhdl.orig	2009-04-01 19:21:58.000000000 +0200
+++ vhdl/libraries/ieee/math_real.vhdl	2009-04-02 12:21:52.000000000 +0200
@@ -102,16 +102,21 @@
     	-- returns integer FLOOR(X + 0.5) if X > 0;
     	-- return integer CEIL(X - 0.5) if X < 0
 
-    -- IAC: we are missing the function TRUNC
-    -- IAC: we are missing the function MOD
-    -- IAC: functions FMAX and FMIN should be renamed REALMAX and REALMIN
-    
-    function FMAX (X, Y : real ) return real;
-    attribute foreign of fmax : function is "VHPIDIRECT fmax"; 
+    function TRUNC (X : real ) return real;
+    attribute foreign of trunc : function is "VHPIDIRECT trunc"; 
+    	-- returns integer FLOOR(X) if X > 0;
+    	-- return integer CEIL(X) if X < 0
+
+    function "MOD" (X, Y : real ) return real;
+    attribute foreign of "mod" : function is "VHPIDIRECT fmod"; 
+    	-- returns the floating point modulus of X/Y
+
+    function REALMAX (X, Y : real ) return real;
+    attribute foreign of realmax : function is "VHPIDIRECT fmax"; 
     	-- returns the algebraically larger of X and Y
 
-    function FMIN (X, Y : real ) return real;
-    attribute foreign of fmin : function is "VHPIDIRECT fmin"; 
+    function REALMIN (X, Y : real ) return real;
+    attribute foreign of realmin : function is "VHPIDIRECT fmin"; 
     	-- returns the algebraically smaller of X and Y
 
     procedure UNIFORM (variable Seed1,Seed2:inout integer; variable X:out real);
@@ -203,25 +208,17 @@
     	-- returns tan X; X in radians
     	-- X /= ((2k+1) * PI/2), where k is an integer
 
-    -- IAC: function should be called ARCSIN
-    
-    function  ASIN (X : real ) return real; 
+    function  ARCSIN (X : real ) return real; 
     	-- returns  -PI/2 < asin X < PI/2; | X | <= 1
 
-    -- IAC: function should be called ARCCOS
-    
-    function  ACOS (X : real ) return real;
+    function  ARCCOS (X : real ) return real;
     	-- returns  0 < acos X < PI; | X | <= 1
 
-    
-    -- IAC: function should be called ARCTAN
-    
-    function  ATAN (X : real) return real;
-    attribute foreign of atan : function is "VHPIDIRECT atan"; 
+    function  ARCTAN (X : real) return real;
+    attribute foreign of arctan : function is "VHPIDIRECT atan"; 
     	-- returns  -PI/2 < atan X < PI/2
 
-    -- IAC: function ATAN2 should not exist
-    function  ATAN2 (X : real; Y : real) return real;
+    function  ARCTAN (X : real; Y : real) return real;
     	-- returns  atan (X/Y); -PI < atan2(X,Y) < PI; Y /= 0.0
 
     function SINH (X : real) return real;
@@ -236,20 +233,35 @@
     attribute foreign of tanh : function is "VHPIDIRECT tanh"; 
     	-- hyperbolic tangent; -- returns (e**X - e**(-X))/(e**X + e**(-X))
 
-    -- IAC: function should be called ARCSINH
-    
-    function ASINH (X : real) return real;
-    attribute foreign of asinh : function is "VHPIDIRECT asinh"; 
+    function ARCSINH (X : real) return real;
+    attribute foreign of arcsinh : function is "VHPIDIRECT asinh"; 
     	-- returns ln( X + sqrt( X**2 + 1))
 
-    -- IAC: function should be called ARCCOSH
-
-    function ACOSH (X : real) return real;
+    function ARCCOSH (X : real) return real;
     	-- returns ln( X + sqrt( X**2 - 1));   X >= 1
 
-    -- IAC: function should be called ARCTANH
-    
-    function ATANH (X : real) return real;
+    function ARCTANH (X : real) return real;
     	-- returns (ln( (1 + X)/(1 - X)))/2 ; | X | < 1
 
+
+    -- Compatibility; will be removed in the future!
+    impure function FMAX (X, Y : real ) return real;
+
+    impure function FMIN (X, Y : real ) return real;
+
+    impure function ASIN (X : real ) return real; 
+
+    impure function ACOS (X : real ) return real;
+
+    impure function ATAN (X : real) return real;
+
+    impure function ATAN2 (X : real; Y : real) return real;
+
+    impure function ASINH (X : real) return real;
+
+    impure function ACOSH (X : real) return real;
+
+    impure function ATANH (X : real) return real;
+
+
 end  MATH_REAL;
--- vhdl/libraries/ieee/math_real-body.vhdl.orig	2009-04-01 19:22:04.000000000 +0200
+++ vhdl/libraries/ieee/math_real-body.vhdl	2009-04-02 12:27:15.000000000 +0200
@@ -72,16 +72,41 @@
     begin
         assert false severity failure;
     end ROUND;
-    
-    function FMAX (X, Y : real ) return real is
+
+    function TRUNC (X : real ) return real is
     begin
         assert false severity failure;
-    end FMAX;
+    end TRUNC;
 
-    function FMIN (X, Y : real ) return real is
+    function c_mod (x : real; y : real) return real;
+    attribute foreign of c_mod : function is "VHPIDIRECT fmod"; 
+
+    function c_mod (x : real; y: real) return real is
     begin
         assert false severity failure;
-    end FMIN;
+    end c_mod; 
+
+    function "MOD" (X, Y : real ) return real is
+    begin
+        if y = 0.0 then 
+            assert false 
+                report "MOD(X, 0.0) is undefined" 
+                severity ERROR;
+            return 0.0; 
+        else
+            return c_mod(x,y);
+        end if;     
+    end "MOD";
+
+    function REALMAX (X, Y : real ) return real is
+    begin
+        assert false severity failure;
+    end REALMAX;
+
+    function REALMIN (X, Y : real ) return real is
+    begin
+        assert false severity failure;
+    end REALMIN;
 
     --
     -- Pseudo-random number generators
@@ -297,18 +322,18 @@
         assert false severity failure;
     end c_asin; 
 
-    function ASIN (x : real ) return real is
+    function ARCSIN (x : real ) return real is
         -- returns  -PI/2 < asin X < PI/2; | X | <= 1
     begin   
         if abs x > 1.0 then 
             assert false
-                report "Out of range parameter passed to ASIN" 
+                report "Out of range parameter passed to ARCSIN" 
                 severity ERROR;
             return x;
         else
             return c_asin(x);
         end if; 
-    end ASIN; 
+    end ARCSIN; 
    
     function c_acos (x : real ) return real;
     attribute foreign of c_acos : function is "VHPIDIRECT acos"; 
@@ -318,24 +343,24 @@
         assert false severity failure;
     end c_acos; 
 
-    function ACOS (x : REAL) return REAL is
+    function ARCCOS (x : REAL) return REAL is
     	-- returns  0 < acos X < PI; | X | <= 1
     begin  
       if abs x > 1.0 then 
          assert false 
-            report "Out of range parameter passed to ACOS" 
+            report "Out of range parameter passed to ARCCOS" 
 			severity ERROR; 
          return x;
       else
          return c_acos(x);
       end if;
-    end ACOS; 
+    end ARCCOS; 
    
-   function ATAN (x : REAL) return REAL is
+    function ARCTAN (x : REAL) return REAL is
     	-- returns  -PI/2 < atan X < PI/2
-   begin
+    begin
         assert false severity failure;
-   end ATAN; 
+    end ARCTAN; 
 
     function c_atan2 (x : real; y : real) return real;
     attribute foreign of c_atan2 : function is "VHPIDIRECT atan2"; 
@@ -345,7 +370,7 @@
         assert false severity failure;
     end c_atan2; 
 
-    function ATAN2 (x : REAL; y : REAL) return REAL is 
+    function ARCTAN (x : REAL; y : REAL) return REAL is 
         -- returns  atan (X/Y); -PI < atan2(X,Y) < PI; Y /= 0.0
     begin   
         if y = 0.0 and x = 0.0 then 
@@ -356,7 +381,7 @@
         else
             return c_atan2(x,y);
         end if;     
-    end ATAN2; 
+    end ARCTAN; 
 
 
     function SINH (X : real) return real is
@@ -377,11 +402,11 @@
         assert false severity failure;
     end TANH;
     
-    function ASINH (X : real) return real is
+    function ARCSINH (X : real) return real is
     	-- returns ln( X + sqrt( X**2 + 1))
     begin
         assert false severity failure;
-    end ASINH;
+    end ARCSINH;
 
     function c_acosh (x : real ) return real;
     attribute foreign of c_acosh : function is "VHPIDIRECT acosh"; 
@@ -391,16 +416,16 @@
         assert false severity failure;
     end c_acosh;
 
-    function ACOSH (X : real) return real is
+    function ARCCOSH (X : real) return real is
     	-- returns ln( X + sqrt( X**2 - 1));   X >= 1
     begin
       	if abs x >= 1.0 then 
-         	assert false report "Out of range parameter passed to ACOSH" 
+         	assert false report "Out of range parameter passed to ARCCOSH" 
 			severity ERROR; 
          	return x;
       	end if; 
         return c_acosh(x);
-    end ACOSH;
+    end ARCCOSH;
 
     function c_atanh (x : real ) return real;
     attribute foreign of c_atanh : function is "VHPIDIRECT atanh"; 
@@ -410,15 +435,107 @@
         assert false severity failure;
     end c_atanh;
 
-    function ATANH (X : real) return real is
+    function ARCTANH (X : real) return real is
     	-- returns (ln( (1 + X)/(1 - X)))/2 ; | X | < 1
     begin
       	if abs x < 1.0 then 
-        	assert false report "Out of range parameter passed to ATANH" 
+        	assert false report "Out of range parameter passed to ARCTANH" 
 			severity ERROR; 
         	return x;
       	end if; 
         return c_atanh(x);
-    end ATANH; 
+    end ARCTANH; 
+
+    -- Compatibility; will be removed in the future!
+    shared variable fmax_compat_warn : boolean := false;
+    shared variable fmin_compat_warn : boolean := false;
+    shared variable asin_compat_warn : boolean := false;
+    shared variable acos_compat_warn : boolean := false;
+    shared variable atan_compat_warn : boolean := false;
+    shared variable atan2_compat_warn : boolean := false;
+    shared variable asinh_compat_warn : boolean := false;
+    shared variable acosh_compat_warn : boolean := false;
+    shared variable atanh_compat_warn : boolean := false;
+
+    impure function FMAX (X, Y : real ) return real is
+    begin
+      assert fmax_compat_warn
+        report "MATH_REAL.FMAX is not a standards compliant function and will be removed in the future; use REALMAX instead"
+        severity note;
+      fmax_compat_warn := true;
+      return REALMAX(X, Y);
+    end FMAX;
+
+    impure function FMIN (X, Y : real ) return real is
+    begin
+      assert fmin_compat_warn
+        report "MATH_REAL.FMIN is not a standards compliant function and will be removed in the future; use REALMIN instead"
+        severity note;
+      fmin_compat_warn := true;
+      return REALMIN(X, Y);
+    end FMIN;
+
+    impure function ASIN (X : real ) return real is
+    begin
+      assert asin_compat_warn
+        report "MATH_REAL.ASIN is not a standards compliant function and will be removed in the future; use ARCSIN instead"
+        severity note;
+      asin_compat_warn := true;
+      return ARCSIN(X);
+    end ASIN; 
+
+    impure function ACOS (X : real ) return real is
+    begin
+      assert acos_compat_warn
+        report "MATH_REAL.ACOS is not a standards compliant function and will be removed in the future; use ARCCOS instead"
+        severity note;
+      acos_compat_warn := true;
+      return ARCCOS(X);
+    end ACOS;
+
+    impure function ATAN (X : real) return real is
+    begin
+      assert atan_compat_warn
+        report "MATH_REAL.ATAN is not a standards compliant function and will be removed in the future; use ARCTAN instead"
+        severity note;
+      atan_compat_warn := true;
+      return ARCTAN(X);
+    end ATAN;
+
+    impure function ATAN2 (X : real; Y : real) return real is
+    begin
+      assert atan2_compat_warn
+        report "MATH_REAL.ATAN2 is not a standards compliant function and will be removed in the future; use ARCTAN instead"
+        severity note;
+      atan2_compat_warn := true;
+      return ARCTAN(X, Y);
+    end ATAN2;
+
+    impure function ASINH (X : real) return real is
+    begin
+      assert asinh_compat_warn
+        report "MATH_REAL.ASINH is not a standards compliant function and will be removed in the future; use ARCSINH instead"
+        severity note;
+      asinh_compat_warn := true;
+      return ARCSINH(X);
+    end ASINH;
+
+    impure function ACOSH (X : real) return real is
+    begin
+      assert acosh_compat_warn
+        report "MATH_REAL.ACOSH is not a standards compliant function and will be removed in the future; use ARCCOSH instead"
+        severity note;
+      acosh_compat_warn := true;
+      return ACOSH(X);
+    end ACOSH;
+
+    impure function ATANH (X : real) return real is
+    begin
+      assert atanh_compat_warn
+        report "MATH_REAL.ATANH is not a standards compliant function and will be removed in the future; use ARCTANH instead"
+        severity note;
+      atanh_compat_warn := true;
+      return ARCTANH(X);
+    end ATANH;
 
 end  MATH_REAL;
--- vhdl/libraries/ieee/math_complex-body.vhdl.orig	2009-04-02 12:08:47.000000000 +0200
+++ vhdl/libraries/ieee/math_complex-body.vhdl	2009-04-02 12:09:18.000000000 +0200
@@ -119,7 +119,7 @@
     function COMPLEX_TO_POLAR(Z: in complex ) return complex_polar is
     	-- converts complex to complex_polar
     begin
-    		return COMPLEX_POLAR'(sqrt(z.re**2 + z.im**2),atan2(z.re,z.im));
+    		return COMPLEX_POLAR'(sqrt(z.re**2 + z.im**2),ARCTAN(z.re,z.im));
     end COMPLEX_TO_POLAR;
 
     function POLAR_TO_COMPLEX(Z: in complex_polar ) return complex is


Index: ghdl.spec
===================================================================
RCS file: /cvs/extras/rpms/ghdl/F-10/ghdl.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- ghdl.spec	9 Oct 2008 09:50:58 -0000	1.42
+++ ghdl.spec	18 Apr 2009 11:21:26 -0000	1.43
@@ -5,7 +5,7 @@
 Summary: A VHDL simulator, using the GCC technology
 Name: ghdl
 Version: %{ghdlver}
-Release: 0.%{ghdlsvnver}svn.1%{?dist}
+Release: 0.%{ghdlsvnver}svn.2%{?dist}
 License: GPLv2+
 Group: Development/Languages
 URL: http://ghdl.free.fr/
@@ -16,10 +16,15 @@
 Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{gccver}/gcc-core-%{gccver}.tar.bz2
 Source100: http://ghdl.free.fr/ghdl-%{ghdlver}.tar.bz2
 Patch100: ghdl-svn%{ghdlsvnver}.patch
-Patch102: gcc41-makeinfo.patch
 Patch103: ghdl-noruntime.patch
 Patch104: ghdl-svn89-libgnat43.patch
 Patch105: ghdl-grtadac.patch
+# The following patch has been sent to upstream mailing list:
+# From: Thomas Sailer <t.sailer at alumni.ethz.ch>                  
+# To: ghdl-discuss at gna.org                                       
+# Date: Thu, 02 Apr 2009 15:36:00 +0200                          
+# https://gna.org/bugs/index.php?13389                           
+Patch107: ieee-mathreal.patch                                    
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -117,6 +122,7 @@
 pushd ghdl-%{ghdlver}
 %patch100 -p1
 %patch103 -p0 -b .noruntime
+%patch107 -p0 -b .ieeemathreal
 %{__mv} vhdl ../gcc/
 popd
 #patch102 -p1 -b .makeinfo
@@ -130,23 +136,23 @@
 
 # Flag settings cribbed from gcc package
 OPT_FLAGS=$(echo %{optflags} | %{__sed} \
-	-e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g' \
-	-e 's/-m64//g;s/-m32//g;s/-m31//g' \
+        -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g' \
+        -e 's/-m64//g;s/-m32//g;s/-m31//g' \
 %ifarch sparc sparc64
-	-e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g' \
+        -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g' \
 %endif
-	-e 's/[[:blank:]]\+/ /g')
+        -e 's/[[:blank:]]\+/ /g')
 
 # These compiler flags in rawhide seem to break the build, so get rid of them
 OPT_FLAGS=$(echo $OPT_FLAGS | %{__sed} \
 %ifarch i386 i486 i586 i686
-	-e 's/-mtune=generic/-mtune=pentium4/g' \
+        -e 's/-mtune=generic/-mtune=pentium4/g' \
 %endif
 %ifarch x86_64
-	-e 's/-mtune=generic/-mtune=nocona/g' \
+        -e 's/-mtune=generic/-mtune=nocona/g' \
 %endif
-	-e 's/-fstack-protector//g ' \
-	-e 's/--param=ssp-buffer-size=[0-9]*//g')
+        -e 's/-fstack-protector//g ' \
+        -e 's/--param=ssp-buffer-size=[0-9]*//g')
 
 # gcc -m32 fails, so we disable multilibbing.
 # so far multilib isn't very valuable, as the VHDL libraries aren't multilibbed
@@ -156,45 +162,45 @@
 export TCFLAGS="$OPT_FLAGS"
 #configure --enable-languages=vhdl
 ../configure \
-	--program-prefix=%{?_program_prefix} \
-	--prefix=%{_prefix} \
-	--exec-prefix=%{_exec_prefix} \
-	--bindir=%{_bindir} \
-	--sbindir=%{_sbindir} \
-	--sysconfdir=%{_sysconfdir} \
-	--datadir=%{_datadir} \
-	--includedir=%{_includedir} \
-	--libdir=%{_libdir} \
-	--libexecdir=%{_libexecdir} \
-	--localstatedir=%{_localstatedir} \
-	--sharedstatedir=%{_sharedstatedir} \
-	--mandir=%{_mandir} \
-	--infodir=%{_infodir} \
-	--with-bugurl=http://bugzilla.redhat.com/bugzilla \
-	--enable-languages=vhdl \
-	%{!?_without_mock:--disable-multilib} \
-	--enable-shared \
-	--enable-threads=posix \
-	--enable-checking=release \
-	--with-system-zlib \
-	--enable-__cxa_atexit \
-	--disable-libunwind-exceptions \
-	--disable-libgcj \
+        --program-prefix=%{?_program_prefix} \
+        --prefix=%{_prefix} \
+        --exec-prefix=%{_exec_prefix} \
+        --bindir=%{_bindir} \
+        --sbindir=%{_sbindir} \
+        --sysconfdir=%{_sysconfdir} \
+        --datadir=%{_datadir} \
+        --includedir=%{_includedir} \
+        --libdir=%{_libdir} \
+        --libexecdir=%{_libexecdir} \
+        --localstatedir=%{_localstatedir} \
+        --sharedstatedir=%{_sharedstatedir} \
+        --mandir=%{_mandir} \
+        --infodir=%{_infodir} \
+        --with-bugurl=http://bugzilla.redhat.com/bugzilla \
+        --enable-languages=vhdl \
+        %{!?_without_mock:--disable-multilib} \
+        --enable-shared \
+        --enable-threads=posix \
+        --enable-checking=release \
+        --with-system-zlib \
+        --enable-__cxa_atexit \
+        --disable-libunwind-exceptions \
+        --disable-libgcj \
 %ifarch sparc
-	--host=%{gcc_target_platform} \
-	--build=%{gcc_target_platform} \
-	--target=%{gcc_target_platform} \
-	--with-cpu=v7
+        --host=%{gcc_target_platform} \
+        --build=%{gcc_target_platform} \
+        --target=%{gcc_target_platform} \
+        --with-cpu=v7
 %endif
 %ifarch ppc
-	--host=%{gcc_target_platform} \
-	--build=%{gcc_target_platform} \
-	--target=%{gcc_target_platform} \
-	--with-cpu=default32
+        --host=%{gcc_target_platform} \
+        --build=%{gcc_target_platform} \
+        --target=%{gcc_target_platform} \
+        --with-cpu=default32
 %endif
 %ifnarch sparc ppc
-	--host=%{gcc_target_platform} \
-	--build=%{gcc_target_platform}
+        --host=%{gcc_target_platform} \
+        --build=%{gcc_target_platform}
 %endif
 
 # Parallel make doesn't work, so not using %{?_smp_mflags}
@@ -249,29 +255,29 @@
 # Remove files not to be packaged
 pushd %{buildroot}
 %{__rm} -f \
-	.%{_bindir}/{cpp,gcc,gccbug,gcov} \
-	.%{_bindir}/%{gcc_target_platform}-gcc{,-%{gccver}} \
-	.%{_includedir}/mf-runtime.h \
-	.%{_libdir}/lib* \
-	.%{_infodir}/dir \
-	.%{_infodir}/{cpp,cppinternals,gcc,gccinstall,gccint}.info* \
-	.%{_datadir}/locale/*/LC_MESSAGES/{gcc,cpplib}.mo \
-	.%{_mandir}/man1/{cpp,gcc,gcov}.1* \
-	.%{_mandir}/man7/{fsf-funding,gfdl,gpl}.7* \
-	.%{_exec_prefix}/lib/libgcc_s.* \
-	.%{_exec_prefix}/lib/libmudflap.* \
-	.%{_exec_prefix}/lib/libmudflapth.* \
-	.%{_libdir}/32/libiberty.a
+        .%{_bindir}/{cpp,gcc,gccbug,gcov} \
+        .%{_bindir}/%{gcc_target_platform}-gcc{,-%{gccver}} \
+        .%{_includedir}/mf-runtime.h \
+        .%{_libdir}/lib* \
+        .%{_infodir}/dir \
+        .%{_infodir}/{cpp,cppinternals,gcc,gccinstall,gccint}.info* \
+        .%{_datadir}/locale/*/LC_MESSAGES/{gcc,cpplib}.mo \
+        .%{_mandir}/man1/{cpp,gcc,gcov}.1* \
+        .%{_mandir}/man7/{fsf-funding,gfdl,gpl}.7* \
+        .%{_exec_prefix}/lib/libgcc_s.* \
+        .%{_exec_prefix}/lib/libmudflap.* \
+        .%{_exec_prefix}/lib/libmudflapth.* \
+        .%{_libdir}/32/libiberty.a
 # Remove crt/libgcc, as ghdl invokes the native gcc to perform the linking
 %{__rm} -f \
-	.%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/crt* \
-	.%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/libgc* \
-	.%{_libexecdir}/gcc/%{gcc_target_platform}/%{gccver}/{cc1,collect2}
+        .%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/crt* \
+        .%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/libgc* \
+        .%{_libexecdir}/gcc/%{gcc_target_platform}/%{gccver}/{cc1,collect2}
 
 # Remove directory hierarchies not to be packaged
 %{__rm} -rf \
-	.%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/{include,install-tools} \
-	.%{_libexecdir}/gcc/%{gcc_target_platform}/%{gccver}/install-tools
+        .%{_libdir}/gcc/%{gcc_target_platform}/%{gccver}/{include,install-tools} \
+        .%{_libexecdir}/gcc/%{gcc_target_platform}/%{gccver}/install-tools
 
 popd
 
@@ -280,11 +286,11 @@
 
 %post
 [ -f %{_infodir}/ghdl.info.gz ] && \
-	/sbin/install-info %{_infodir}/ghdl.info.gz %{_infodir}/dir || :
+        /sbin/install-info %{_infodir}/ghdl.info.gz %{_infodir}/dir || :
 
 %preun
 [ -f %{_infodir}/ghdl.info.gz ] && [ $1 = 0 ] && \
-	/sbin/install-info --delete %{_infodir}/ghdl.info.gz %{_infodir}/dir || :
+        /sbin/install-info --delete %{_infodir}/ghdl.info.gz %{_infodir}/dir || :
 
 %files
 %defattr(-,root,root,-)
@@ -297,12 +303,16 @@
 %{_mandir}/man1/*
 
 %files grt
+%defattr(-,root,root,-)
 # Need to own directory %{_libdir}/gcc even though we only want the
 # %{gcc_target_platform}/%{gccver} subdirectory
 %{_libdir}/gcc/
 
 
 %changelog
+* Sat Apr 18 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 0.27-0.110svn.2
+- make ieee.math_real more standards compliant
+
 * Thu Oct  9 2008 Thomas Sailer <t.sailer at alumni.ethz.ch> - 0.27-0.110svn.1
 - rebuild
 




More information about the fedora-extras-commits mailing list