rpms/mingw32-filesystem/EL-5 mingw32-scripts.sh, NONE, 1.1 mingw32-filesystem.spec, 1.4, 1.5 mingw32-macros.mingw32, 1.3, 1.4 mingw32-configure.sh, 1.2, NONE
Levente Farkas
lfarkas at fedoraproject.org
Fri Nov 21 18:14:16 UTC 2008
- Previous message (by thread): rpms/yaboot/F-10 yaboot-1.3.14-bigger-max-token.patch, NONE, 1.1 yaboot-1.3.14-fix-bootonce-nvram.patch, NONE, 1.1
- Next message (by thread): rpms/binutils/devel binutils-2.19.50.0.1-ia64-lib64.patch, NONE, 1.1 binutils-2.19.50.0.1-libtool-lib64.patch, NONE, 1.1 binutils-2.19.50.0.1-linkonce-r-discard.patch, NONE, 1.1 binutils-2.19.50.0.1-output-format.sed, NONE, 1.1 binutils-2.19.50.0.1-ppc64-pie.patch, NONE, 1.1 binutils-2.19.50.0.1-set-long-long.patch, NONE, 1.1 binutils-2.19.50.0.1-symbolic-envvar-revert.patch, NONE, 1.1 binutils-2.19.50.0.1-upstream-ld-tests.patch, NONE, 1.1 binutils-2.19.50.0.1-version.patch, NONE, 1.1 .cvsignore, 1.41, 1.42 binutils.spec, 1.145, 1.146 sources, 1.41, 1.42 binutils-2.18.50.0.6-ia64-lib64.patch, 1.1, NONE binutils-2.18.50.0.6-ltconfig-multilib.patch, 1.1, NONE binutils-2.18.50.0.6-ppc64-pie.patch, 1.1, NONE binutils-2.18.50.0.6-version.patch, 1.1, NONE binutils-2.18.50.0.8-place-orphan.patch, 1.1, NONE binutils-2.18.50.0.8-symbolic-envvar-revert.patch, 1.1, NONE binutils-2.18.50.0.9-largefile.patch, 1.1, NONE binutils-2.18.50.0.9-linkonce-r-discard.patch, 1.1, NONE binutils-2.18.50.0.9-output-format.sed, 1.1, NONE binutils-2.18.50.0.9-set-long-long.patch, 1.1, NONE binutils-2.18.50.0.9-upstream.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lfarkas
Update of /cvs/pkgs/rpms/mingw32-filesystem/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18031
Modified Files:
mingw32-filesystem.spec mingw32-macros.mingw32
Added Files:
mingw32-scripts.sh
Removed Files:
mingw32-configure.sh
Log Message:
update spec file and mingw32-macros and all scripts use mingw32-macros
--- NEW FILE mingw32-scripts.sh ---
#!/bin/sh -
# mingw32-configure
# Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones.
# Copyright (C) 2008 Levente Farkas
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# This is a useful command-line script through which one can use the
# macros from mingw32-macros.mingw32 cross-compilation.
rpm --eval "%{_"`basename $0|tr "-" "_"`"}" "$@"|sh
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/EL-5/mingw32-filesystem.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mingw32-filesystem.spec 19 Nov 2008 18:02:22 -0000 1.4
+++ mingw32-filesystem.spec 21 Nov 2008 18:13:45 -0000 1.5
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 37
+Version: 38
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@@ -17,7 +17,7 @@
#Source3: mingw32.csh
Source4: mingw32-find-requires.sh
Source5: mingw32-find-provides.sh
-Source6: mingw32-configure.sh
+Source6: mingw32-scripts.sh
Requires: setup
Requires: rpm
@@ -72,8 +72,10 @@
mkdir -p $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
+install -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_libexecdir}/mingw32-scripts
mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/mingw32-configure
+(cd $RPM_BUILD_ROOT%{_bindir}; for i in mingw32-env mingw32-configure mingw32-make ; do ln -s %{_libexecdir}/mingw32-scripts $i ; done)
#mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
#install -m 644 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
@@ -130,12 +132,17 @@
%config(noreplace) %{_sysconfdir}/rpm/macros.mingw32
#%config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh
#%config(noreplace) %{_sysconfdir}/profile.d/mingw32.csh
-%{_bindir}/mingw32-configure
+%{_bindir}/*
+%{_libexecdir}/mingw32-scripts
%{_prefix}/i686-pc-mingw32/
-/usr/lib/rpm/mingw32-*
+%{_libdir}/rpm/mingw32-*
%changelog
+* Fri Nov 21 2008 Levente Farkas <lfarkas at lfarkas.org> 38-1
+- all script use macros.mingw32
+- a few tab->space conversion
+
* Wed Nov 19 2008 Richard Jones <rjones at redhat.com> - 37-1
- Revert part of the 36-1 patch. --build option to configure was wrong.
Index: mingw32-macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/EL-5/mingw32-macros.mingw32,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mingw32-macros.mingw32 19 Nov 2008 18:02:22 -0000 1.3
+++ mingw32-macros.mingw32 21 Nov 2008 18:13:45 -0000 1.4
@@ -23,16 +23,16 @@
%_mingw32_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
-%_mingw32_cc i686-pc-mingw32-gcc
-%_mingw32_cpp i686-pc-mingw32-gcc -E
-%_mingw32_ar i686-pc-mingw32-ar
-%_mingw32_as i686-pc-mingw32-as
-%_mingw32_dlltool i686-pc-mingw32-dlltool
-%_mingw32_ranlib i686-pc-mingw32-ranlib
-%_mingw32_strip i686-pc-mingw32-strip
-%_mingw32_objdump i686-pc-mingw32-objdump
+%_mingw32_cc i686-pc-mingw32-gcc
+%_mingw32_cpp i686-pc-mingw32-gcc -E
+%_mingw32_ar i686-pc-mingw32-ar
+%_mingw32_as i686-pc-mingw32-as
+%_mingw32_dlltool i686-pc-mingw32-dlltool
+%_mingw32_ranlib i686-pc-mingw32-ranlib
+%_mingw32_strip i686-pc-mingw32-strip
+%_mingw32_objdump i686-pc-mingw32-objdump
%_mingw32_nm i686-pc-mingw32-nm
-%_mingw32_windres i686-pc-mingw32-windres
+%_mingw32_windres i686-pc-mingw32-windres
%_mingw32_cxx i686-pc-mingw32-g++
%_mingw32_cache mingw32-config.cache
@@ -41,13 +41,15 @@
%_mingw32_findrequires /usr/lib/rpm/mingw32-find-requires.sh
%_mingw32_env HOST_CC=gcc; export HOST_CC; \
+ AS="%{_mingw32_as}"; export AS; \
+ AR="%{_mingw32_ar}"; export AR; \
NM="%{_mingw32_nm}"; export NM; \
OBJDUMP="%{_mingw32_objdump}"; export OBJDUMP; \
PKG_CONFIG_PATH="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_PATH; \
- CC="${MINGW_CC:-%_mingw32_cc}"; export CC; \
- CXX="${MINGW_CXX:-%_mingw32_cxx}"; export CXX; \
- CFLAGS="${MINGW_CFLAGS:-%_mingw32_cflags}"; export CFLAGS; \
- CXXFLAGS="${MINGW_CXXFLAGS:-%_mingw32_cflags}"; export CXXFLAGS; \
+ CC="${MINGW32_CC:-%_mingw32_cc}"; export CC; \
+ CXX="${MINGW32_CXX:-%_mingw32_cxx}"; export CXX; \
+ CFLAGS="${MINGW32_CFLAGS:-%_mingw32_cflags}"; export CFLAGS; \
+ CXXFLAGS="${MINGW32_CXXFLAGS:-%_mingw32_cflags}"; export CXXFLAGS; \
for i in `ls %{_mingw32_bindir}|grep -- "-config\$"` ; do \
CONFIG_NAME=`echo $i|tr "a-z-" "A-Z_"`; \
declare -x $CONFIG_NAME="%{_mingw32_bindir}/$i" ; export $CONFIG_NAME; \
--- mingw32-configure.sh DELETED ---
- Previous message (by thread): rpms/yaboot/F-10 yaboot-1.3.14-bigger-max-token.patch, NONE, 1.1 yaboot-1.3.14-fix-bootonce-nvram.patch, NONE, 1.1
- Next message (by thread): rpms/binutils/devel binutils-2.19.50.0.1-ia64-lib64.patch, NONE, 1.1 binutils-2.19.50.0.1-libtool-lib64.patch, NONE, 1.1 binutils-2.19.50.0.1-linkonce-r-discard.patch, NONE, 1.1 binutils-2.19.50.0.1-output-format.sed, NONE, 1.1 binutils-2.19.50.0.1-ppc64-pie.patch, NONE, 1.1 binutils-2.19.50.0.1-set-long-long.patch, NONE, 1.1 binutils-2.19.50.0.1-symbolic-envvar-revert.patch, NONE, 1.1 binutils-2.19.50.0.1-upstream-ld-tests.patch, NONE, 1.1 binutils-2.19.50.0.1-version.patch, NONE, 1.1 .cvsignore, 1.41, 1.42 binutils.spec, 1.145, 1.146 sources, 1.41, 1.42 binutils-2.18.50.0.6-ia64-lib64.patch, 1.1, NONE binutils-2.18.50.0.6-ltconfig-multilib.patch, 1.1, NONE binutils-2.18.50.0.6-ppc64-pie.patch, 1.1, NONE binutils-2.18.50.0.6-version.patch, 1.1, NONE binutils-2.18.50.0.8-place-orphan.patch, 1.1, NONE binutils-2.18.50.0.8-symbolic-envvar-revert.patch, 1.1, NONE binutils-2.18.50.0.9-largefile.patch, 1.1, NONE binutils-2.18.50.0.9-linkonce-r-discard.patch, 1.1, NONE binutils-2.18.50.0.9-output-format.sed, 1.1, NONE binutils-2.18.50.0.9-set-long-long.patch, 1.1, NONE binutils-2.18.50.0.9-upstream.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list