[gsoap] Made -examples noarch
matt
matt at fedoraproject.org
Tue Aug 10 04:53:23 UTC 2010
commit b52050125b422e605fa49bfc2cbf298d2664e86d
Author: Matthew Farrellee <matt at redhat.com>
Date: Tue Aug 10 00:47:56 2010 -0400
Made -examples noarch
gsoap-2.7-noexec-examples.patch | 168 +++++++++++++++++++++++++++++++++++++++
gsoap.spec | 3 +
2 files changed, 171 insertions(+), 0 deletions(-)
---
diff --git a/gsoap-2.7-noexec-examples.patch b/gsoap-2.7-noexec-examples.patch
new file mode 100644
index 0000000..f6d3bcc
--- /dev/null
+++ b/gsoap-2.7-noexec-examples.patch
@@ -0,0 +1,168 @@
+diff -rup gsoap-2.7/gsoap/samples/autotest/Makefile.am gsoap-2.7mf/gsoap/samples/autotest/Makefile.am
+--- gsoap-2.7/gsoap/samples/autotest/Makefile.am 2010-08-10 00:16:52.593899711 -0400
++++ gsoap-2.7mf/gsoap/samples/autotest/Makefile.am 2010-08-10 00:16:37.576473223 -0400
+@@ -24,7 +24,7 @@ $(SOAP_CPP_SRC) : $(WSDLINPUT)
+
+ autotestdir = $(pkgdatadir)/examples/autotest
+
+-nobase_autotest_PROGRAMS=autotest
++noinst_PROGRAMS=autotest
+
+ nobase_autotest_DATA = LICENSE.txt \
+ README.txt \
+diff -rup gsoap-2.7/gsoap/samples/calc/Makefile.am gsoap-2.7mf/gsoap/samples/calc/Makefile.am
+--- gsoap-2.7/gsoap/samples/calc/Makefile.am 2010-08-10 00:16:52.595863451 -0400
++++ gsoap-2.7mf/gsoap/samples/calc/Makefile.am 2010-08-10 00:16:26.352594723 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ calcdir = $(pkgdatadir)/examples/calc
+-nobase_calc_PROGRAMS = calcclient calcserver
++noinst_PROGRAMS = calcclient calcserver
+ nobase_calc_DATA = calcclient.c \
+ calc.h \
+ calcserver.c \
+diff -rup gsoap-2.7/gsoap/samples/calc++/Makefile.am gsoap-2.7mf/gsoap/samples/calc++/Makefile.am
+--- gsoap-2.7/gsoap/samples/calc++/Makefile.am 2010-08-10 00:16:52.594869887 -0400
++++ gsoap-2.7mf/gsoap/samples/calc++/Makefile.am 2010-08-10 00:16:30.512469870 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ calcdir = $(pkgdatadir)/examples/calc++
+-nobase_calc_PROGRAMS = calcclient calcserver
++noinst_PROGRAMS = calcclient calcserver
+ nobase_calc_DATA = calcclient.cpp \
+ calc.h \
+ calcserver.cpp \
+diff -rup gsoap-2.7/gsoap/samples/databinding/Makefile.am gsoap-2.7mf/gsoap/samples/databinding/Makefile.am
+--- gsoap-2.7/gsoap/samples/databinding/Makefile.am 2010-08-10 00:16:52.595863451 -0400
++++ gsoap-2.7mf/gsoap/samples/databinding/Makefile.am 2010-08-10 00:16:17.442471981 -0400
+@@ -23,7 +23,7 @@ $(SOAP_CPP_SRC) : $(WSDLINPUT)
+ #LIBS=
+
+ addresdir = $(pkgdatadir)/examples/databinding
+-nobase_addres_PROGRAMS=address
++noinst_PROGRAMS=address
+ nobase_addres_DATA = address.cpp \
+ addresstypemap.dat \
+ Doxyfile \
+diff -rup gsoap-2.7/gsoap/samples/dime/Makefile.am gsoap-2.7mf/gsoap/samples/dime/Makefile.am
+--- gsoap-2.7/gsoap/samples/dime/Makefile.am 2010-08-10 00:16:52.595863451 -0400
++++ gsoap-2.7mf/gsoap/samples/dime/Makefile.am 2010-08-10 00:16:11.063469450 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ dimedir = $(pkgdatadir)/examples/dime
+-nobase_dime_PROGRAMS = dimeclient dimeserver
++noinst_PROGRAMS = dimeclient dimeserver
+ nobase_dime_DATA = dimeclient.cpp \
+ dime.h \
+ dimeserver.cpp \
+diff -rup gsoap-2.7/gsoap/samples/dom/Makefile.am gsoap-2.7mf/gsoap/samples/dom/Makefile.am
+--- gsoap-2.7/gsoap/samples/dom/Makefile.am 2010-08-10 00:16:52.596844632 -0400
++++ gsoap-2.7mf/gsoap/samples/dom/Makefile.am 2010-08-10 00:16:06.303472914 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ domdir = $(pkgdatadir)/examples/dom
+-nobase_dom_PROGRAMS = dom2calc
++noinst_PROGRAMS = dom2calc
+ nobase_dom_DATA = dom2calc.cpp \
+ dom2calc.h \
+ Makefile.am \
+diff -rup gsoap-2.7/gsoap/samples/factory/Makefile.am gsoap-2.7mf/gsoap/samples/factory/Makefile.am
+--- gsoap-2.7/gsoap/samples/factory/Makefile.am 2010-08-10 00:16:52.597469697 -0400
++++ gsoap-2.7mf/gsoap/samples/factory/Makefile.am 2010-08-10 00:16:02.023596708 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ factorydir = $(pkgdatadir)/examples/factory
+-nobase_factory_PROGRAMS = factory
++noinst_PROGRAMS = factory
+ nobase_factory_DATA = factory.cpp \
+ factory.h \
+ Makefile.am \
+diff -rup gsoap-2.7/gsoap/samples/factorytest/Makefile.am gsoap-2.7mf/gsoap/samples/factorytest/Makefile.am
+--- gsoap-2.7/gsoap/samples/factorytest/Makefile.am 2010-08-10 00:16:52.597469697 -0400
++++ gsoap-2.7mf/gsoap/samples/factorytest/Makefile.am 2010-08-10 00:15:57.939472791 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ factorytestdir = $(pkgdatadir)/examples/factorytest
+-nobase_factorytest_PROGRAMS = factorytest
++noinst_PROGRAMS = factorytest
+ nobase_factorytest_DATA = factorytest.cpp \
+ factorytest.h \
+ Makefile.am \
+diff -rup gsoap-2.7/gsoap/samples/gmt/Makefile.am gsoap-2.7mf/gsoap/samples/gmt/Makefile.am
+--- gsoap-2.7/gsoap/samples/gmt/Makefile.am 2010-08-10 00:16:52.597469697 -0400
++++ gsoap-2.7mf/gsoap/samples/gmt/Makefile.am 2010-08-10 00:15:50.611469343 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ gmtdir = $(pkgdatadir)/examples/gmt
+-nobase_gmt_PROGRAMS = gmtclient gmtserver
++noinst_PROGRAMS = gmtclient gmtserver
+ nobase_gmt_DATA = gmtclient.cpp \
+ gmt.h \
+ gmtserver.cpp \
+diff -rup gsoap-2.7/gsoap/samples/googleapi/Makefile.am gsoap-2.7mf/gsoap/samples/googleapi/Makefile.am
+--- gsoap-2.7/gsoap/samples/googleapi/Makefile.am 2010-08-10 00:16:52.598469560 -0400
++++ gsoap-2.7mf/gsoap/samples/googleapi/Makefile.am 2010-08-10 00:15:45.225472520 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ googleapidir = $(pkgdatadir)/examples/googleapi
+-googleapi_PROGRAMS = googleapi
++noinst_PROGRAMS = googleapi
+ googleapi_DATA = googleapi.c \
+ googleapi.h \
+ Makefile.am \
+diff -rup gsoap-2.7/gsoap/samples/hello/Makefile.am gsoap-2.7mf/gsoap/samples/hello/Makefile.am
+--- gsoap-2.7/gsoap/samples/hello/Makefile.am 2010-08-10 00:16:52.598469560 -0400
++++ gsoap-2.7mf/gsoap/samples/hello/Makefile.am 2010-08-10 00:15:19.988595900 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ hellodir = $(pkgdatadir)/examples/hello
+-nobase_hello_PROGRAMS = helloclient helloserver
++noinst_PROGRAMS = helloclient helloserver
+ nobase_hello_DATA = helloclient.cpp \
+ hello.h \
+ helloserver.cpp \
+diff -rup gsoap-2.7/gsoap/samples/httpcookies/Makefile.am gsoap-2.7mf/gsoap/samples/httpcookies/Makefile.am
+--- gsoap-2.7/gsoap/samples/httpcookies/Makefile.am 2010-08-10 00:16:52.599475471 -0400
++++ gsoap-2.7mf/gsoap/samples/httpcookies/Makefile.am 2010-08-10 00:15:07.973594254 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ httpcookiesdir = $(pkgdatadir)/examples/httpcookies
+-nobase_httpcookies_PROGRAMS = ck.cgi ckclient
++noinst_PROGRAMS = ck.cgi ckclient
+ nobase_httpcookies_DATA = ckclient.cpp \
+ ck.h \
+ ckserver.cpp \
+diff -rup gsoap-2.7/gsoap/samples/oneway/Makefile.am gsoap-2.7mf/gsoap/samples/oneway/Makefile.am
+--- gsoap-2.7/gsoap/samples/oneway/Makefile.am 2010-08-10 00:16:52.600469555 -0400
++++ gsoap-2.7mf/gsoap/samples/oneway/Makefile.am 2010-08-10 00:15:02.235470573 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ onewaydir = $(pkgdatadir)/examples/oneway
+-nobase_oneway_PROGRAMS = event handler
++noinst_PROGRAMS = event handler
+ nobase_oneway_DATA = event.c \
+ event.h \
+ handler.c \
+diff -rup gsoap-2.7/gsoap/samples/oneway++/Makefile.am gsoap-2.7mf/gsoap/samples/oneway++/Makefile.am
+--- gsoap-2.7/gsoap/samples/oneway++/Makefile.am 2010-08-10 00:16:52.599475471 -0400
++++ gsoap-2.7mf/gsoap/samples/oneway++/Makefile.am 2010-08-10 00:14:53.738594668 -0400
+@@ -4,7 +4,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ onewaydir = $(pkgdatadir)/examples/oneway++
+-nobase_oneway_PROGRAMS = event handler
++noinst_PROGRAMS = event handler
+ nobase_oneway_DATA = event.cpp \
+ event.h \
+ handler.cpp \
diff --git a/gsoap.spec b/gsoap.spec
index a64116a..ab2721d 100644
--- a/gsoap.spec
+++ b/gsoap.spec
@@ -9,6 +9,7 @@ Source0: http://downloads.sourceforge.net/gsoap2/gsoap_2.7.17.zip
Patch0: use_libtool-2.7.17.patch
Patch3: gsoap-2.7-iostream.patch
Patch4: gsoap-2.7-examples.patch
+Patch5: gsoap-2.7-noexec-examples.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: flex
@@ -44,6 +45,7 @@ gSOAP generated stubs
Summary: gSOAP examples binaries and sources
Group: Development/System
Requires: %name = %version-%release
+BuildArch: noarch
%description examples
gSOAP examples binaries and sources
@@ -65,6 +67,7 @@ gSOAP documentation in html
%patch3 -p1
%patch4 -p1
+%patch5 -p1
# a number of ~ files are distribute, but we do not want them
find . -name "*~" -exec rm {} \;
More information about the scm-commits
mailing list