[gsoap] Made -doc noarch
matt
matt at fedoraproject.org
Tue Aug 10 04:53:18 UTC 2010
commit 17578698f60e3e974f9d237b59a4b2271927e384
Author: Matthew Farrellee <matt at redhat.com>
Date: Tue Aug 10 00:47:17 2010 -0400
Made -doc noarch
gsoap.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gsoap.spec b/gsoap.spec
index 9bdcf46..a64116a 100644
--- a/gsoap.spec
+++ b/gsoap.spec
@@ -52,6 +52,7 @@ gSOAP examples binaries and sources
Summary: gSOAP documentation
Group: Development/System
Requires: %name = %version-%release
+BuildArch: noarch
%description doc
gSOAP documentation in html
@@ -64,12 +65,17 @@ gSOAP documentation in html
%patch3 -p1
%patch4 -p1
+
# a number of ~ files are distribute, but we do not want them
find . -name "*~" -exec rm {} \;
# we want all txt files to have unix end-of-line encoding
dos2unix README.txt LICENSE.txt NOTES.txt
+# remove .DS_Stores
+rm -rf gsoap/doc/.DS_Store
+rm -rf gsoap/doc/wsse/html/.DS_Store
+
%build
# patches change autoconf and automake files, so we must reconfigure
@@ -94,6 +100,8 @@ make
#chmod a-x soapcpp2/samples/ssl/root.sh
#chmod a-x soapcpp2/samples/ssl/cacerts.pem
+find . -name "*.xml" -exec chmod a-x {} \;
+
%install
rm -rf %{buildroot}
More information about the scm-commits
mailing list