Compare commits

...

8 Commits
master ... f10

Author SHA1 Message Date
Fedora Release Engineering aa065894d5 dist-git conversion 2010-07-29 18:01:53 +00:00
Bill Nottingham 7c045db198 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:46:18 +00:00
Adam Tkac c4d2816a1a - improve fix for perl requires/provides (#514983) 2009-08-03 13:50:41 +00:00
Adam Tkac 6aaad679e0 - fix perl requires/provides (#514983) 2009-08-03 07:49:43 +00:00
Adam Tkac 63e161d252 - own ccache-swig.1 manual page 2009-07-28 16:49:41 +00:00
Adam Tkac 1be529017a - update to 1.3.39 (#513744) 2009-07-28 16:16:43 +00:00
Oliver Falk 78d57ce90e Update arch patch to include alpha 2009-02-24 11:14:12 +00:00
Jesse Keating 9918b0877f Initialize branch F-10 for swig 2008-11-07 04:48:08 +00:00
6 changed files with 43 additions and 29 deletions

View File

@ -1 +0,0 @@
swig-1.3.35.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
swig-1.3.39.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: swig
# $Id: Makefile,v 1.1 2004/09/09 12:47:02 cvsdist Exp $
NAME := swig
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1 +1 @@
9c2ca2332ebcdab55aa98518111d7cc9 swig-1.3.35.tar.gz
ac201d1b87f8659584534f9540d7ad24 swig-1.3.39.tar.gz

View File

@ -1,7 +1,7 @@
diff -up swig-1.3.35/Source/Preprocessor/cpp.c.arch swig-1.3.35/Source/Preprocessor/cpp.c
--- swig-1.3.35/Source/Preprocessor/cpp.c.arch 2008-05-16 10:10:38.000000000 +0200
+++ swig-1.3.35/Source/Preprocessor/cpp.c 2008-05-16 10:15:40.000000000 +0200
@@ -187,6 +187,14 @@ void Preprocessor_init(void) {
diff -up swig-1.3.33/Source/Preprocessor/cpp.c.arch swig-1.3.33/Source/Preprocessor/cpp.c
--- swig-1.3.33/Source/Preprocessor/cpp.c.arch 2007-10-08 14:02:56.000000000 +0200
+++ swig-1.3.33/Source/Preprocessor/cpp.c 2009-02-16 09:36:16.000000000 +0100
@@ -187,6 +187,16 @@ void Preprocessor_init(void) {
id_scan = NewScanner();;
@ -9,6 +9,8 @@ diff -up swig-1.3.35/Source/Preprocessor/cpp.c.arch swig-1.3.35/Source/Preproces
+ Preprocessor_define("__x86_64__", 0);
+#elif defined(__powerpc64__)
+ Preprocessor_define("__powerpc64__", 0);
+#elif defined(__alpha__)
+ Preprocessor_define("__alpha__", 0);
+#else
+ Preprocessor_define("__i386__", 0);
+#endif

View File

@ -3,8 +3,8 @@
Summary: Connects C/C++/Objective C to some high-level programming languages.
Name: swig
Version: 1.3.35
Release: 2%{?dist}
Version: 1.3.39
Release: 3%{?dist}
License: BSD
Group: Development/Tools
URL: http://swig.sourceforge.net/
@ -40,6 +40,29 @@ tool for building user interfaces.
%patch1 -p1 -b .pylib
%patch2 -p1 -b .arch
cat << \EOF > %{name}-prov
#!/bin/bash
%{__perl_provides} | sed \
-e '/perl(Particle)/d' \
-e '/perl(example::Vector)/d'
EOF
%define __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
chmod +x %{__perl_provides}
cat << \EOF > %{name}-req
#!/bin/bash
%{__perl_requires} | sed \
-e '/perl(ExtUtils::MakeMaker)/d' \
-e '/perl(argv)/d' \
-e '/perl(example)/d' \
-e '/perl(it)/d' \
-e '/perl(the)/d'
EOF
%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__perl_requires}
%build
./autogen.sh
%configure
@ -63,8 +86,18 @@ rm -rf $RPM_BUILD_ROOT
%doc Doc/*
%{_bindir}/*
%{_datadir}/swig
%{_mandir}/man1/ccache-swig.1*
%changelog
* Mon Aug 03 2009 Adam Tkac <atkac redhat com> 1.3.39-3
- improve fix for perl requires/provides (#514983)
* Mon Aug 03 2009 Adam Tkac <atkac redhat com> 1.3.39-2
- fix perl requires/provides (#514983)
* Tue Jul 28 2009 Adam Tkac <atkac redhat com> 1.3.39-1
- update to 1.3.39 (#513744)
* Fri May 16 2008 Adam Tkac <atkac redhat com> 1.3.35-2
- readded swig-arch.patch, will be kept downstream