rpms/compat-libgfortran-41/devel compat-libgfortran-41.spec, NONE, 1.1 libgfortran41-gthr.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jakub Jelinek (jakub)
fedora-extras-commits at redhat.com
Wed Jan 30 18:36:30 UTC 2008
- Previous message (by thread): rpms/pykickstart/F-8 .cvsignore, 1.73, 1.74 pykickstart.spec, 1.80, 1.81 sources, 1.81, 1.82
- Next message (by thread): rpms/libspectre/devel .cvsignore,1.1,1.2 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jakub
Update of /cvs/pkgs/rpms/compat-libgfortran-41/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14367/devel
Modified Files:
.cvsignore sources
Added Files:
compat-libgfortran-41.spec libgfortran41-gthr.patch
Log Message:
Initial src.rpm
--- NEW FILE compat-libgfortran-41.spec ---
%define DATE 20071221
%define _unpackaged_files_terminate_build 0
Summary: Compatibility Fortran 95 runtime library version 4.1.2
Name: compat-libgfortran-41
Version: 4.1.2
Release: 36
# libgfortran has an exception which allows
# linking it into any kind of programs or shared libraries without
# restrictions.
License: GPLv2+ with exceptions
Group: System Environment/Libraries
Source0: libgfortran-%{version}-%{DATE}.tar.bz2
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran >= 4.1.2, gettext, bison, flex, texinfo
Patch1: libgfortran41-gthr.patch
%description
This package includes a Fortran 95 runtime library for compatibility
with GCC 4.1.x-RH compiled Fortran applications.
%prep
%setup -q -n libgfortran-%{version}-%{DATE}
%patch1 -p0 -b .gthr~
%build
mkdir obj
cd obj
CFLAGS="$RPM_OPT_FLAGS" FCFLAGS="$RPM_OPT_FLAGS" ../libgfortran/configure --prefix=%{_prefix} --disable-multilib
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
cd obj
mkdir -p $RPM_BUILD_ROOT%{_libdir}
install -m 755 .libs/libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/
ln -sf libgfortran.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libgfortran.so.1
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgfortran.so.1*
%changelog
* Fri Dec 21 2007 Jakub Jelinek <jakub at redhat.com> 4.1.2-36
- new compat library
libgfortran41-gthr.patch:
--- NEW FILE libgfortran41-gthr.patch ---
--- gcc/gthr-default.h.jj 2007-12-14 16:24:42.515800719 +0100
+++ gcc/gthr-default.h 2007-11-24 23:05:01.000000000 +0100
@@ -0,0 +1 @@
+#include "gthr-posix.h"
--- gcc/gthr-posix.h.jj 2007-07-04 20:46:26.000000000 +0200
+++ gcc/gthr-posix.h 2007-12-20 16:04:49.000000000 +0100
@@ -62,9 +62,15 @@ typedef pthread_mutex_t __gthread_recurs
# ifndef __gthrw_pragma
# define __gthrw_pragma(pragma)
# endif
-# define __gthrw2(name,name2,type) \
+# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
+# define __gthrw2(name,name2,type) \
+ static __typeof(type) name __attribute__ ((__weakref__(#name2))); \
+ __gthrw_pragma(weak type)
+# else
+# define __gthrw2(name,name2,type) \
extern __typeof(type) name __attribute__ ((__weakref__(#name2))); \
__gthrw_pragma(weak type)
+# endif
# define __gthrw_(name) __gthrw_ ## name
#else
# define __gthrw2(name,name2,type)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/compat-libgfortran-41/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Jan 2008 17:22:51 -0000 1.1
+++ .cvsignore 30 Jan 2008 18:35:49 -0000 1.2
@@ -0,0 +1 @@
+libgfortran-4.1.2-20071221.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/compat-libgfortran-41/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Jan 2008 17:22:51 -0000 1.1
+++ sources 30 Jan 2008 18:35:49 -0000 1.2
@@ -0,0 +1 @@
+f2fec2f63c35d5de7b32d0cd2792a48c libgfortran-4.1.2-20071221.tar.bz2
- Previous message (by thread): rpms/pykickstart/F-8 .cvsignore, 1.73, 1.74 pykickstart.spec, 1.80, 1.81 sources, 1.81, 1.82
- Next message (by thread): rpms/libspectre/devel .cvsignore,1.1,1.2 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list