rpms/xsd/devel xsd.spec,1.1,1.2

Antti Andreimann anttix at fedoraproject.org
Tue Jul 7 15:21:26 UTC 2009


Author: anttix

Update of /cvs/pkgs/rpms/xsd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4482

Modified Files:
	xsd.spec 
Log Message:
Cleaned up doc sub-package



Index: xsd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xsd/devel/xsd.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- xsd.spec	7 Jul 2009 11:03:46 -0000	1.1
+++ xsd.spec	7 Jul 2009 15:20:56 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           xsd
 Version:        3.2.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        W3C XML schema to C++ data binding compiler
 
 Group:          Development/Tools
@@ -52,6 +52,8 @@ MAKEFLAGS="verbose=1" CXXFLAGS=$RPM_OPT_
 
 %install
 rm -rf $RPM_BUILD_ROOT
+rm -rf apidocdir
+
 MAKEFLAGS="install_prefix=$RPM_BUILD_ROOT%{_prefix}" ./build.sh install
 
 # Split API documentation to -doc subpackage.
@@ -77,6 +79,14 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/li
 # Remove Microsoft Visual C++ compiler helper files.
 rm -rf $RPM_BUILD_ROOT%{_includedir}/xsd/cxx/compilers
 
+# Remove redundant PostScript files that rpmlint grunts about not being UTF8
+# See: https://bugzilla.redhat.com/show_bug.cgi?id=502024#c27
+# for Boris Kolpackov's explanation about those
+find apidocdir -name "*.ps" | xargs rm -f
+# Remove other unwanted crap
+find apidocdir -name "*.doxygen" \
+            -o -name "makefile" \
+            -o -name "*.html2ps" | xargs rm -f
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 07 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-4
+- Removed redundant PostScript files from the doc package
+
 * Mon Jul 06 2009 Antti Andreimann <Antti.Andreimann at mail.ee> 3.2.0-3
 - Added ACE homepage to SPEC file comments
 - Added verbose=1 to MAKEFLAGS so compiler flags could be




More information about the fedora-extras-commits mailing list