[mingw32-pthreads] Don't install private headers, most notably config.h
by Kalev Lember
commit 7b7cbed7d5e5a0ec8c68a42e280e8bc74d01a734
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Thu May 12 09:53:59 2011 +0300
Don't install private headers, most notably config.h
mingw32-pthreads.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-pthreads.spec b/mingw32-pthreads.spec
index e6dbf82..4b7aaff 100644
--- a/mingw32-pthreads.spec
+++ b/mingw32-pthreads.spec
@@ -9,7 +9,7 @@
Name: mingw32-pthreads
Version: 2.8.0
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: MinGW pthread library
%define crazy_version %(echo %{version}|tr . -)
@@ -93,7 +93,13 @@ mkdir -p $RPM_BUILD_ROOT%{_mingw32_includedir}
install -m 0755 *.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
install -m 0644 *.def $RPM_BUILD_ROOT%{_mingw32_bindir}
install -m 0644 *.a $RPM_BUILD_ROOT%{_mingw32_libdir}
-install -m 0644 *.h $RPM_BUILD_ROOT%{_mingw32_includedir}
+
+install -m 0644 pthread.h $RPM_BUILD_ROOT%{_mingw32_includedir}
+install -m 0644 sched.h $RPM_BUILD_ROOT%{_mingw32_includedir}
+install -m 0644 semaphore.h $RPM_BUILD_ROOT%{_mingw32_includedir}
+
+# Fix up installed pthread.h to not include private config.h
+sed -i '/#include "config.h"/d' $RPM_BUILD_ROOT%{_mingw32_includedir}/pthread.h
# Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616
ln -s libpthreadGC2.a $RPM_BUILD_ROOT%{_mingw32_libdir}/libpthread.a
@@ -117,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu May 12 2011 Kalev Lember <kalev(a)smartlink.ee> - 2.8.0-14
+- Don't install private headers, most notably config.h
+
* Fri Apr 22 2011 Kalev Lember <kalev(a)smartlink.ee> - 2.8.0-13
- Rebuilt for pseudo-reloc version mismatch (#698827)
13 years
[Bug 642208] Review Request: mingw32-win-iconv - iconv implementation using Win32 API
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=642208
Kalev Lember <kalev(a)smartlink.ee> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|nobody(a)fedoraproject.org |kalev(a)smartlink.ee
Flag| |fedora-review+
--- Comment #5 from Kalev Lember <kalev(a)smartlink.ee> 2011-05-11 02:52:29 EDT ---
No feedback to the mail, so I guess lets give it a try.
I'm approving the package based on Amorilia's review. Thanks Amorilia!
Erik, if you want to simplify some things in the spec file, then the BuildRoot
tag, the 'rm -rf $RPM_BUILD_ROOT' at the beginning of %install, the whole
%clean section, and the default %defattrs are no longer needed with current
Fedora releases.
Also, the Obsoletes and Provides currently have %dist macro in them; it's more
common to leave that out, since the 'mingw32-iconv < 1.12-14' comparison would
already match the current 'mingw32-iconv-1.12-13.fc15' package:
Obsoletes: mingw32-iconv < 1.12-14
Provides: mingw32-iconv = 1.12-14
But these are all things one would do during the normal maintenance of a
package and not blocking the review.
APPROVED
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years
[Bug 629209] New: Update mingw32-runtime to 3.18
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Update mingw32-runtime to 3.18
https://bugzilla.redhat.com/show_bug.cgi?id=629209
Summary: Update mingw32-runtime to 3.18
Product: Fedora
Version: 14
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: mingw32-runtime
AssignedTo: rjones(a)redhat.com
ReportedBy: atkac(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: rjones(a)redhat.com, kalev(a)smartlink.ee,
fedora-mingw(a)lists.fedoraproject.org
Classification: Fedora
Target Release: ---
Description of problem:
When I compile TigerVNC vncviewer for Windows on Fedora 14/rawhide, output
vncviewer.exe binary is broken:
...
Backtrace:
=>0 0x00485e4f in vncviewer (+0x85e4f) (0x00a0fe30)
1 0x0040108d __mingw_CRTStartup+0x6c()
[/builddir/build/BUILD/mingwrt-3.15.2-mingw32/crt1.c:217] in vncviewer
(0x00a0fe70)
2 0x0040108d __mingw_CRTStartup+0x6c()
[/builddir/build/BUILD/mingwrt-3.15.2-mingw32/crt1.c:217] in vncviewer
(0x00a0fe90)
3 0x00401128 WinMainCRTStartup+0x17()
[/builddir/build/BUILD/mingwrt-3.15.2-mingw32/crt1.c:271] in vncviewer
(0x00a0fea8)
4 0x7ede70bc call_process_entry+0xb() in kernel32 (0x00a0fee8)
5 0x7efab570 call_thread_func+0xb() in ntdll (0x00a0fef8)
6 0x7efae1f1 call_thread_entry_point+0x70() in ntdll (0x00a0ffc8)
7 0x7ef83feb call_dll_entry_point+0x65a() in ntdll (0x00a0ffe8)
...
When I updated to the latest mingw runtime from upstream
(mingwrt-3.18-mingw32-src) everything works fine.
Version-Release number of selected component (if applicable):
mingw32-runtime-3.15.2-5.fc13
How reproducible:
always
Steps to Reproduce:
1. compile program for Windows via MinGW build chain
2. run it
Actual results:
crash
Expected results:
working binary
Additional info:
It seems current mingw runtime is not compatible with gcc 4.5. As I wrote above
when I update to 3.18 version, problem disappears.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years
[mingw32-binutils] Default to runtime pseudo reloc v2 now that mingw32-runtime 3.18 is in
by Kalev Lember
commit c433fa87b69d64b962ced97145087fc159807157
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Tue May 10 23:03:19 2011 +0300
Default to runtime pseudo reloc v2 now that mingw32-runtime 3.18 is in
mingw32-binutils-2.21-pseudo_reloc_v1.patch | 12 ------------
mingw32-binutils.spec | 7 ++++---
2 files changed, 4 insertions(+), 15 deletions(-)
---
diff --git a/mingw32-binutils.spec b/mingw32-binutils.spec
index eff173e..250d444 100644
--- a/mingw32-binutils.spec
+++ b/mingw32-binutils.spec
@@ -1,13 +1,12 @@
Name: mingw32-binutils
Version: 2.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows binutils
License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+
Group: Development/Libraries
URL: http://www.gnu.org/software/binutils/
Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
-Patch0: mingw32-binutils-2.21-pseudo_reloc_v1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex
@@ -26,7 +25,6 @@ understand Windows executables and DLLs.
%prep
%setup -q -n binutils-%{version}
-%patch0 -p1 -b .pseudo_reloc_v1
%build
@@ -72,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 10 2011 Kalev Lember <kalev(a)smartlink.ee> - 2.21-2
+- Default to runtime pseudo reloc v2 now that mingw32-runtime 3.18 is in
+
* Thu Mar 17 2011 Kalev Lember <kalev(a)smartlink.ee> - 2.21-1
- Update to 2.21
- Added a patch to use runtime pseudo reloc v1 by default as the version of
13 years
[mingw32-gcc] Use the %{_mingw32_target} macro in files section
by Kalev Lember
commit af06f11f0dbdb76d8b0dd63c7a03dc2631092416
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Tue May 10 14:18:00 2011 +0300
Use the %{_mingw32_target} macro in files section
mingw32-gcc.spec | 137 +++++++++++++++++++++++++++---------------------------
1 files changed, 69 insertions(+), 68 deletions(-)
---
diff --git a/mingw32-gcc.spec b/mingw32-gcc.spec
index c8fce12..cf2f977 100644
--- a/mingw32-gcc.spec
+++ b/mingw32-gcc.spec
@@ -159,8 +159,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty*
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/*
mkdir -p $RPM_BUILD_ROOT/lib
-ln -sf ..%{_prefix}/bin/i686-pc-mingw32-cpp \
- $RPM_BUILD_ROOT/lib/i686-pc-mingw32-cpp
+ln -sf ..%{_prefix}/bin/%{_mingw32_target}-cpp \
+ $RPM_BUILD_ROOT/lib/%{_mingw32_target}-cpp
# libtool installs DLL files of runtime libraries into $(libdir)/../bin,
# but we need them in _mingw32_bindir.
@@ -180,98 +180,98 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%{_bindir}/i686-pc-mingw32-gcc
-%{_bindir}/i686-pc-mingw32-gcc-%{version}
-%{_bindir}/i686-pc-mingw32-gccbug
-%{_bindir}/i686-pc-mingw32-gcov
-%{_prefix}/i686-pc-mingw32/lib/libiberty.a
-%dir %{_libdir}/gcc/i686-pc-mingw32
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/crtbegin.o
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/crtend.o
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/crtfastmath.o
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgcc.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgcc_eh.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgcc_s.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgcov.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgomp.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgomp.dll.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgomp.spec
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libssp.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libssp_nonshared.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libssp.dll.a
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}/include
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}/include-fixed
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}/include/ssp
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include-fixed/README
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include-fixed/*.h
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include/*.h
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include/ssp/*.h
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}/install-tools
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/install-tools/*
-%dir %{_libexecdir}/gcc/i686-pc-mingw32/%{version}/install-tools
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/install-tools/*
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/lto-wrapper
+%{_bindir}/%{_mingw32_target}-gcc
+%{_bindir}/%{_mingw32_target}-gcc-%{version}
+%{_bindir}/%{_mingw32_target}-gccbug
+%{_bindir}/%{_mingw32_target}-gcov
+%{_prefix}/%{_mingw32_target}/lib/libiberty.a
+%dir %{_libdir}/gcc/%{_mingw32_target}
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/crtbegin.o
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/crtend.o
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/crtfastmath.o
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc_eh.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc_s.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgcov.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.dll.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.spec
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libssp.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libssp_nonshared.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libssp.dll.a
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}/include
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}/include/ssp
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed/README
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed/*.h
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include/*.h
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include/ssp/*.h
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}/install-tools
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/install-tools/*
+%dir %{_libexecdir}/gcc/%{_mingw32_target}/%{version}/install-tools
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/install-tools/*
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/lto-wrapper
%{_mingw32_bindir}/libgcc_s_sjlj-1.dll
%{_mingw32_bindir}/libgomp-1.dll
%{_mingw32_bindir}/libssp-0.dll
-%{_mandir}/man1/i686-pc-mingw32-gcc.1*
-%{_mandir}/man1/i686-pc-mingw32-gcov.1*
+%{_mandir}/man1/%{_mingw32_target}-gcc.1*
+%{_mandir}/man1/%{_mingw32_target}-gcov.1*
%{_mingw32_datadir}/gcc-%{version}/
%files -n mingw32-cpp
%defattr(-,root,root,-)
-/lib/i686-pc-mingw32-cpp
-%{_bindir}/i686-pc-mingw32-cpp
-%{_mandir}/man1/i686-pc-mingw32-cpp.1*
-%dir %{_libdir}/gcc/i686-pc-mingw32
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/cc1
+/lib/%{_mingw32_target}-cpp
+%{_bindir}/%{_mingw32_target}-cpp
+%{_mandir}/man1/%{_mingw32_target}-cpp.1*
+%dir %{_libdir}/gcc/%{_mingw32_target}
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1
%files c++
%defattr(-,root,root,-)
-%{_bindir}/i686-pc-mingw32-g++
-%{_bindir}/i686-pc-mingw32-c++
-%{_mandir}/man1/i686-pc-mingw32-g++.1*
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include/c++/
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libstdc++.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libstdc++.dll.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libstdc++.dll.a-gdb.py
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libsupc++.a
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/cc1plus
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/collect2
+%{_bindir}/%{_mingw32_target}-g++
+%{_bindir}/%{_mingw32_target}-c++
+%{_mandir}/man1/%{_mingw32_target}-g++.1*
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libstdc++.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libstdc++.dll.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libstdc++.dll.a-gdb.py
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libsupc++.a
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1plus
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/collect2
%{_mingw32_bindir}/libstdc++-6.dll
%files objc
%defattr(-,root,root,-)
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/include/objc/
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libobjc.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libobjc.dll.a
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/cc1obj
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/include/objc/
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libobjc.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libobjc.dll.a
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1obj
%{_mingw32_bindir}/libobjc-2.dll
%files objc++
%defattr(-,root,root,-)
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/cc1objplus
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1objplus
%files gfortran
%defattr(-,root,root,-)
-%{_bindir}/i686-pc-mingw32-gfortran
-%{_mandir}/man1/i686-pc-mingw32-gfortran.1*
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgfortran.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgfortran.dll.a
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/libgfortranbegin.a
-%dir %{_libdir}/gcc/i686-pc-mingw32/%{version}/finclude
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/finclude/omp_lib.f90
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/finclude/omp_lib.h
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/finclude/omp_lib.mod
-%{_libdir}/gcc/i686-pc-mingw32/%{version}/finclude/omp_lib_kinds.mod
-%{_libexecdir}/gcc/i686-pc-mingw32/%{version}/f951
+%{_bindir}/%{_mingw32_target}-gfortran
+%{_mandir}/man1/%{_mingw32_target}-gfortran.1*
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortran.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortran.dll.a
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortranbegin.a
+%dir %{_libdir}/gcc/%{_mingw32_target}/%{version}/finclude
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/finclude/omp_lib.f90
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/finclude/omp_lib.h
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/finclude/omp_lib.mod
+%{_libdir}/gcc/%{_mingw32_target}/%{version}/finclude/omp_lib_kinds.mod
+%{_libexecdir}/gcc/%{_mingw32_target}/%{version}/f951
%{_mingw32_bindir}/libgfortran-3.dll
@@ -279,6 +279,7 @@ rm -rf $RPM_BUILD_ROOT
* Tue May 10 2011 Kalev Lember <kalev(a)smartlink.ee> - 4.5.3-2
- Disable plugin support with a configure option, instead of deleting
the files in the install section
+- Use the %%{_mingw32_target} macro in files section
* Sat Apr 30 2011 Kalev Lember <kalev(a)smartlink.ee> - 4.5.3-1
- Update to 4.5.3
13 years
[mingw32-gcc] Disable plugin support with a configure option
by Kalev Lember
commit f4b98651f44e0e3ad2194b94a6ca4a8b2f927652
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Tue May 10 14:11:00 2011 +0300
Disable plugin support with a configure option
Instead of removing the files in the %install section as was the case
previously, it's cleaner to disable the plugin support in configure invocation.
mingw32-gcc.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/mingw32-gcc.spec b/mingw32-gcc.spec
index 284d1ed..c8fce12 100644
--- a/mingw32-gcc.spec
+++ b/mingw32-gcc.spec
@@ -2,7 +2,7 @@
Name: mingw32-gcc
Version: 4.5.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows cross-compiler (GCC) for C
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
@@ -132,6 +132,7 @@ CC="%{__cc} ${RPM_OPT_FLAGS}" \
--with-gnu-as --with-gnu-ld --verbose \
--without-newlib \
--disable-multilib \
+ --disable-plugin \
--enable-libgomp \
--with-system-zlib \
--disable-nls --without-included-gettext \
@@ -170,10 +171,6 @@ mv $RPM_BUILD_ROOT%{_bindir}/*.dll \
# Don't want the *.la files.
find $RPM_BUILD_ROOT -name '*.la' -delete
-# As of gcc 4.5.0, the plugin/ directory gets created on an i686 host
-# but not on x86_64. Excluding it from the package for now.
-rm -rf $RPM_BUILD_ROOT%{_libdir}/gcc/i686-pc-mingw32/%{version}/plugin/
-
popd
@@ -279,6 +276,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 10 2011 Kalev Lember <kalev(a)smartlink.ee> - 4.5.3-2
+- Disable plugin support with a configure option, instead of deleting
+ the files in the install section
+
* Sat Apr 30 2011 Kalev Lember <kalev(a)smartlink.ee> - 4.5.3-1
- Update to 4.5.3
13 years
[mingw32-w32api] Update to 3.17
by Kalev Lember
commit bc4e5ca025a739bf5bc0164af9dc8c4c1a8efb43
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Tue May 10 19:47:12 2011 +0300
Update to 3.17
.gitignore | 1 +
mingw32-w32api.spec | 13 +++++++++----
sources | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d756cbc..5408f7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
w32api-3.14-mingw32-src.tar.gz
/w32api-3.15-1-mingw32-src.tar.lzma
+/w32api-3.17-2-mingw32-src.tar.lzma
diff --git a/mingw32-w32api.spec b/mingw32-w32api.spec
index 69d5fed..df14e5c 100644
--- a/mingw32-w32api.spec
+++ b/mingw32-w32api.spec
@@ -4,15 +4,17 @@
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}
+%global extra_version 2
+
Name: mingw32-w32api
-Version: 3.15
-Release: 2%{?dist}
+Version: 3.17
+Release: 1%{?dist}
Summary: Win32 header files and stubs
License: Public Domain
Group: Development/Libraries
URL: http://www.mingw.org/
-Source0: http://downloads.sourceforge.net/mingw/w32api-%{version}-1-mingw32-src.ta...
+Source0: http://downloads.sourceforge.net/mingw/w32api-%{version}-%{extra_version}...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -34,7 +36,7 @@ MinGW Windows cross-compiler Win32 header files.
%prep
-%setup -q -n w32api-%{version}-1-mingw32
+%setup -q -n w32api-%{version}-%{extra_version}-mingw32
%build
%{_mingw32_configure}
@@ -58,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 10 2011 Kalev Lember <kalev(a)smartlink.ee> - 3.17-1
+- Update to 3.17
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 3.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 2c1bb07..7cd8ce9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ea8f80d622446a63f3fa6aff64f79bfc w32api-3.15-1-mingw32-src.tar.lzma
+7a14e6c9687c010eed35db95604548a4 w32api-3.17-2-mingw32-src.tar.lzma
13 years
[mingw32-runtime] Build without -fexceptions (#629209)
by Kalev Lember
commit ae21a9a88539936faa7fbb45324a339e1bb2437b
Author: Kalev Lember <kalev(a)smartlink.ee>
Date: Tue May 10 16:53:39 2011 +0300
Build without -fexceptions (#629209)
mingw32-runtime.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec
index 69fb6f5..aaecd6e 100644
--- a/mingw32-runtime.spec
+++ b/mingw32-runtime.spec
@@ -6,7 +6,7 @@
Name: mingw32-runtime
Version: 3.18
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows cross-compiler runtime
License: Public Domain
@@ -36,7 +36,10 @@ MinGW Windows cross-compiler runtime, base libraries.
%build
-MINGW32_CFLAGS="%{_mingw32_cflags} -I%{_mingw32_includedir}"
+# Filter out -fexceptions to work around _gthread_key_create related
+# linking errors described at:
+# https://bugzilla.redhat.com/show_bug.cgi?id=629209
+MINGW32_CFLAGS="`echo %{_mingw32_cflags} | sed 's/-fexceptions //'` -I%{_mingw32_includedir}"
%{_mingw32_configure}
%{_mingw32_make}
@@ -65,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 10 2011 Kalev Lember <kalev(a)smartlink.ee> - 3.18-3
+- Build without -fexceptions (#629209)
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 3.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
13 years