rpms/docbook-style-xsl/devel docbook-style-xsl.spec,1.41,1.42
Ondrej Vasik (ovasik)
fedora-extras-commits at redhat.com
Thu Nov 29 09:38:50 UTC 2007
- Previous message (by thread): rpms/libwvstreams/F-8 wvstreams-4.4-no_sarestorer.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 libwvstreams.spec, 1.27, 1.28 sources, 1.7, 1.8
- Next message (by thread): rpms/transmission/devel .cvsignore, 1.9, 1.10 sources, 1.9, 1.10 transmission.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ovasik
Update of /cvs/extras/rpms/docbook-style-xsl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31705
Modified Files:
docbook-style-xsl.spec
Log Message:
Silence latest rpmlint about non-UTF-8 htmls + no longer release in dir name(only name+version #389231
Index: docbook-style-xsl.spec
===================================================================
RCS file: /cvs/extras/rpms/docbook-style-xsl/devel/docbook-style-xsl.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- docbook-style-xsl.spec 6 Nov 2007 13:59:25 -0000 1.41
+++ docbook-style-xsl.spec 29 Nov 2007 09:38:16 -0000 1.42
@@ -1,6 +1,6 @@
Name: docbook-style-xsl
Version: 1.73.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook XML
@@ -44,6 +44,15 @@
%patch2 -p1 -b .marginleft
%patch3 -p1 -b .newmethods
cp -p %{SOURCE1} Makefile
+
+# fix of non UTF-8 files rpmlint warnings
+for fhtml in $(find ./doc -name '*.html' -type f)
+do
+ iconv -f ISO-8859-1 -t UTF-8 "$fhtml" -o "$fhtml".tmp
+ mv -f "$fhtml".tmp "$fhtml"
+ sed -i 's/charset=ISO-8859-1/charset=UTF-8/' "$fhtml"
+done
+
for f in $(find -name "*'*")
do
mv -v "$f" $(echo "$f" | tr -d "'")
@@ -56,8 +65,8 @@
%install
DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
-make install BINDIR=$DESTDIR%{_bindir} DESTDIR=$DESTDIR%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}
-ln -s xsl-stylesheets-%{version}-%{release} \
+make install BINDIR=$DESTDIR%{_bindir} DESTDIR=$DESTDIR%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}
+ln -s xsl-stylesheets-%{version} \
$DESTDIR%{_datadir}/sgml/docbook/xsl-stylesheets
# Don't ship the extensions (bug #177256).
@@ -74,7 +83,7 @@
%doc README
%doc TODO
%doc doc
-%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}
+%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}
%{_datadir}/sgml/docbook/xsl-stylesheets
@@ -82,25 +91,30 @@
CATALOG=%{_sysconfdir}/xml/catalog
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/%{version}" \
- "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG
+ "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/%{version}" \
- "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG
+ "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
- "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG
+ "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
- "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG
+ "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%postun
CATALOG=%{_sysconfdir}/xml/catalog
%{_bindir}/xmlcatalog --noout --del \
- "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG
+ "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%changelog
+* Tue Nov 27 2007 Ondrej Vasik <ovasik at redhat.com> 1.73.2-5
+- convert all html files in doc to UTF-8 in prep
+ (latest rpmlint gives warnings)
+- no longer using release in style-xsl dir(#389231)
+
* Tue Nov 06 2007 Ondrej Vasik <ovasik at redhat.com> 1.73.2-4
- Merge review(#225704)
- spec file modified to follow guidelines
- Previous message (by thread): rpms/libwvstreams/F-8 wvstreams-4.4-no_sarestorer.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 libwvstreams.spec, 1.27, 1.28 sources, 1.7, 1.8
- Next message (by thread): rpms/transmission/devel .cvsignore, 1.9, 1.10 sources, 1.9, 1.10 transmission.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list