docs-common/packaging bookinfo.xsl, 1.15, 1.16 fedora-doc-common.spec, 1.10, 1.11 spec.xsl, 1.16, 1.17
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Mon Feb 13 17:05:52 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14206/packaging
Modified Files:
bookinfo.xsl fedora-doc-common.spec spec.xsl
Log Message:
Push to 0.3.1:
- Update Makefile to properly remove supporting source files
- Support generation of fdp-info in local build environment
- Include additional scripts
- Revert spec.xsl to distinguish local builds from CVS builds
Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- bookinfo.xsl 12 Feb 2006 21:58:55 -0000 1.15
+++ bookinfo.xsl 13 Feb 2006 17:05:33 -0000 1.16
@@ -4,6 +4,7 @@
<xsl:param name="lang" select="'en'"/>
<xsl:param name="doctype" select="'bookinfo'"/>
<xsl:param name="who" select="''"/>
+ <xsl:param name="fdpdir" select="'../..'"/>
<xsl:output encoding="UTF-8" indent="yes" method="xml"
omit-xml-declaration="no" version="1.0"
@@ -68,11 +69,10 @@
</xsl:element>
<xsl:choose>
<xsl:when test="/rpm-info/license/rights='OPL'">
- <xsl:text disable-output-escaping="yes"><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../docs-common/common/legalnotice-opl-en.xml"/></xsl:text>
+ <xsl:text disable-output-escaping="yes"><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="</xsl:text><xsl:value-of select="$fdpdir"/><xsl:text disable-output-escaping="yes">/docs-common/common/legalnotice-opl-en.xml"/></xsl:text>
</xsl:when>
<xsl:otherwise> <!-- assume FDL for now -->
- <xsl:text disable-output-escaping="yes"><xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude" href="../../docs-common/common/legalnotice-en.xml"/></xsl:text>
+ <xsl:text disable-output-escaping="yes"><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="</xsl:text><xsl:value-of select="$fdpdir"/><xsl:text disable-output-escaping="yes">/docs-common/common/legalnotice-en.xml"/></xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:element>
Index: fedora-doc-common.spec
===================================================================
RCS file: /cvs/docs/docs-common/packaging/fedora-doc-common.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- fedora-doc-common.spec 12 Feb 2006 23:24:07 -0000 1.10
+++ fedora-doc-common.spec 13 Feb 2006 17:05:33 -0000 1.11
@@ -5,7 +5,7 @@
Summary: Fedora Documentation common files
Name: fedora-doc-common
# To be defined in Makefile
-Version: 0.3
+Version: 0.3.1
Release: 1
License: FDL
Url: http://fedora.redhat.com/projects/docs/
@@ -32,21 +32,17 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/bin/
-for i in xmlformat xmldiff copy-figs tidy-bowl fdpsh doctype
+for i in xmlformat xmldiff copy-figs tidy-bowl fdpsh doctype db2rpm-info \
+ move-if-change
do
install -m 755 bin/${i} \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/bin/
done
for i in xmlformat-fdp.conf xmldiff.pl active fdp-functions
do
- install -m 755 bin/${i} \
+ install -m 644 bin/${i} \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/bin/
done
-# Correct exceptions to make rpmlint happy
-for i in active fdp-functions xmlformat-fdp.conf
-do
- chmod 644 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/bin/${i}
-done
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/common/
install -m 644 common/*.{xml,ent} \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/common/
@@ -107,6 +103,12 @@
%{_sysconfdir}/xdg/menus/applications-merged/*
%changelog
+* Mon Feb 13 2006 Paul W. Frields <stickster at gmail.com> - 0.3.1-1
+- Update Makefile to properly remove supporting source files
+- Support generation of fdp-info in local build environment
+- Include additional scripts
+- Revert spec.xsl to distinguish local builds from CVS builds
+
* Sun Feb 12 2006 Paul W. Frields <stickster at gmail.com> - 0.3-1
- Move to XInclude for all legalnotice content
Index: spec.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/spec.xsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- spec.xsl 4 Feb 2006 06:52:27 -0000 1.16
+++ spec.xsl 13 Feb 2006 17:05:33 -0000 1.17
@@ -12,8 +12,8 @@
%define docbase <xsl:value-of select="$docbase"/>
# We may not be using this because of the way that $FDPDIR commutes
# into the sed(1) command below
-#%{!?fdpdir:%define localbuild 1}
-#%{!?fdpdir:%define fdpdir %{_datadir}/fedora/doc}
+%{!?fdpdir:%define localbuild 1}
+%{!?fdpdir:%define fdpdir %{_datadir}/fedora/doc}
%define fdpdir %{_datadir}/fedora/doc
Summary: Fedora Documentation: %{docbase}
@@ -39,9 +39,8 @@
Requires: fedora-doc-common
BuildRequires: xmlto
BuildRequires: kdelibs
-BuildRequires: fedora-doc-common
# Used if builder does not specify common files locally
-#%{?localbuild:%{expand:BuildRequires: fedora-doc-common}}
+%{?localbuild:%{expand:BuildRequires: fedora-doc-common}}
%description
More information about the Fedora-docs-commits
mailing list