Hello community,
here is the log from the commit of package suse-xsl-stylesheets for
openSUSE:Factory checked in at 2017-10-17 01:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets"
Tue Oct 17 01:49:33 2017 rev:39 rq:533090 version:2.0.8
Changes:
--------
---
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes
2017-06-23 09:16:49.363508978 +0200
+++
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new/suse-xsl-stylesheets.changes
2017-10-17 01:49:34.810692363 +0200
@@ -0,0 +1,45 @@
+
+-------------------------------------------------------------------
+Thu Sep 28 08:12:14 UTC 2017 - [email protected]
+
+Stable release of the SUSE XSL stylesheets 2.0.8:
+
+Find issues in our GitHub tracker at
+https://github.com/openSUSE/suse-xsl/issues/NUMBER
+
+PDF only:
+* Support footnotes, requested by Stefan Quandt
+ (suse-xsl #313, suse-xsl #314)
+* No colons after type/number in languages other than English
+ (suse-xsl #334)
+
+HTML only:
+* Glossdiv Title: rendered in gray instead of green
+ (suse-xsl #350)
+
+PDF/HTML:
+* No more spaces at the end of titles in formalparas
+ (suse-xsl #288)
+* Intra xref to step doesn't work (suse-xsl #343)
+
+I18N:
+* ja: don't generate the word "book" in intra-xrefs (suse-xsl #323)
+* Correct German quotes (suse-xsl #324, suse-xsl #340)
+* glossseealso: "See Also" -> "See also" (suse-xsl #330)
+
+General:
+* Exclude drupal and db2mediawiki stylesheets as they are now
+ obsolete (suse-xsl #310, suse-xsl #312)
+* Check length of text content in screen (suse-xsl #328)
+* Validate stylesheets through Jing in Travis (suse-xsl #327,
+ suse-xsl #337, suse-xsl #342)
+
+Project/Spec File:
+* Use catalog.d mechanism and remove old XML catalog files, see
+
https://en.opensuse.org/openSUSE:Packaging_XML_Schemas_and_Stylesheets#Add_XML_Catalog_Support
+* Fix susexsl-fetch-source-git script:
+ * Set timeout for wget
+ * Distinguish between detect an archive and extract one
+ * Make extraction more robust
+
+
Old:
----
suse-xsl-stylesheets-2.0.7.2.tar.bz2
New:
----
suse-xsl-stylesheets-2.0.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.RpA08a/_old 2017-10-17 01:49:35.626654133 +0200
+++ /var/tmp/diff_new_pack.RpA08a/_new 2017-10-17 01:49:35.626654133 +0200
@@ -1,7 +1,7 @@
#
# spec file for package suse-xsl-stylesheets
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: suse-xsl-stylesheets
-Version: 2.0.7.2
+Version: 2.0.8
Release: 0
###############################################################
@@ -63,14 +63,17 @@
BuildRequires: fontpackages-devel
BuildRequires: trang
+# docbook_4/docbook_5 are required to be able to transform DocBook documents
+# that use predefined DocBook entities.
Requires: docbook_4
Requires: docbook_5
Requires: docbook-xsl-stylesheets >= 1.77
Requires: docbook5-xsl-stylesheets >= 1.77
Requires: libxslt
Requires: aspell-en
-
-Recommends: daps
+Requires: sgml-skel >= 0.7
+Requires(post): sgml-skel >= 0.7
+Requires(postun): sgml-skel >= 0.7
#------
@@ -144,35 +147,38 @@
%fdupes -s %{buildroot}/%{_datadir}
#----------------------
-
%post
# XML Catalogs
#
-# remove existing entries first - needed for
+# remove old existing entries first - needed for
# zypper in, since it does not call postun
# delete ...
+
if [ "2" = "$1" ]; then
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name} || true
fi
-# ... and (re)add it again
-edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
- --add %{_sysconfdir}/xml/%{susexsl_catalog}
+# ... and (re)add new catalogs
+update-xml-catalog
+
%reconfigure_fonts_post
exit 0
-#----------------------
%postun
+update-xml-catalog
+
if [ "0" = "$1" ]; then
%reconfigure_fonts_post
+
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name} || true
fi
exit 0
+
#----------------------
%posttrans
@@ -212,7 +218,7 @@
%{suse_styles_dir}/opensuse2013-ns/*
# Catalogs
-%config %{_sysconfdir}/xml/*.xml
+%config %{_sysconfdir}/xml/catalog.d/%{name}.xml
# Fonts
%{_ttfontsdir}/*
++++++ suse-xsl-stylesheets-2.0.7.2.tar.bz2 ->
suse-xsl-stylesheets-2.0.8.tar.bz2 ++++++
++++ 240941 lines of diff (skipped)
++++++ suse-xsl-stylesheets.rpmlintrc ++++++
--- /var/tmp/diff_new_pack.RpA08a/_old 2017-10-17 01:49:37.090585543 +0200
+++ /var/tmp/diff_new_pack.RpA08a/_new 2017-10-17 01:49:37.094585355 +0200
@@ -1,2 +1,3 @@
addFilter("explicit-lib-dependency libxslt")
addFilter("explicit-lib-dependency liberation-fonts")
+addFilter("incorrect-fsf-address .*/hyphen/czhyphen.il2")
++++++ susexsl-fetch-source-git ++++++
--- /var/tmp/diff_new_pack.RpA08a/_old 2017-10-17 01:49:37.110584606 +0200
+++ /var/tmp/diff_new_pack.RpA08a/_new 2017-10-17 01:49:37.110584606 +0200
@@ -36,7 +36,7 @@
function download_archive {
echo "Downloading archive:"
- (cd $TMPDIR && wget -nv $ARCHIVE_URL) || exit_on_error "Download of
$ARCHIVE_URL failed"
+ (cd $TMPDIR && wget --connect-timeout=10 -nv $ARCHIVE_URL) || exit_on_error
"Download of $ARCHIVE_URL failed"
}
function copy_archive {
@@ -44,7 +44,7 @@
cp -v $ARCHIVE_URL $TMPDIR || exit_on_error "Copying of $ARCHIVE_URL failed"
}
-function unpack_archive {
+function detect_archive {
case ${ARCHIVE_NAME##*.} in
zip)
UNPACK="unzip"
@@ -63,6 +63,14 @@
esac
}
+function unpack_archive {
+ SRC_DIR=${TMPDIR}/${PNAME}
+ pushd $TMPDIR
+ mkdir $PNAME
+ $UNPACK $ARCHIVE_NAME -C $PNAME --strip-components 1
+ [[ $? ]] || exit_on_error "Unpacking $ARCHIVE_NAME failed"
+ popd
+}
#-----
# MAIN
#-----
@@ -96,53 +104,49 @@
if [[ ${ARCHIVE_URL} == http* ]]; then
download_archive
- unpack_archive
else
- copy_tar
+ copy_archive
fi
#-----------
# Unpack archive
#
+detect_archive
+unpack_archive
-
-SRC_DIR=${TMPDIR}/${PNAME}
-EXCLUDES=${SRC_DIR}/packaging/exclude-files_for_susexsl_package.txt
-
-(cd $TMPDIR && $UNPACK $ARCHIVE_NAME) || exit_on_error "Unpacking
$ARCHIVE_NAME failed"
-
-mv ${TMPDIR}/${NAME}-${ARCHIVE_DIR}/ ${SRC_DIR}/
-
#-----------
# Get the version number
#
-VERSION=$(egrep "^Version:\s*" ${SRC_DIR}/packaging/$SPECFILE | sed
's/^Version:\s*//')
+VERSION=$(egrep "^Version:\s*" ./$SPECFILE | sed 's/^Version:\s*//')
if [[ -z $VERSION ]]; then
exit_on_error "Couldn't get version number from spec-file."
fi
+echo "Detected version=$VERSION"
+
#-----------
# Create the tarball
#
export BZIP2=--best
-tar cf ${PNAME}-${VERSION}.tar -C ${TMPDIR} \
- --exclude-from=$EXCLUDES ${PNAME} || exit_on_error "Failed to create the
tarball."
-bzip2 -9 ${PNAME}-${VERSION}.tar
+tar cf ${PNAME}-${VERSION}.tar -C ${TMPDIR} ${PNAME} || exit_on_error "Failed
to create the tarball."
+bzip2 ${PNAME}-${VERSION}.tar
-echo "Successfully wrote source tarball ${NAME}-${VERSION}.tar.bz2"
+echo "Successfully wrote source tarball ${PNAME}-${VERSION}.tar.bz2"
#
# Copy the spec file if necessary
#
-diff -q $SPECFILE ${SRC_DIR}/packaging/$SPECFILE >/dev/null
-if [[ 0 = $? ]]; then
- echo "Spec file is up-to-date."
-else
- cp ${SRC_DIR}/packaging/$SPECFILE . || exit_on_error "Failed to copy the
specfile."
- echo "Successfully updated the spec file."
+if [[ -e ${SRC_DIR}/packaging/$SPECFILE ]]; then
+ diff -q $SPECFILE ${SRC_DIR}/packaging/$SPECFILE >/dev/null
+ if [[ 0 = $? ]]; then
+ echo "Spec file is up-to-date."
+ else
+ cp ${SRC_DIR}/packaging/$SPECFILE . || exit_on_error "Failed to copy
the specfile."
+ echo "Successfully updated the spec file."
+ fi
fi
-
+
#rm -rf ${TMPDIR}
exit 0