Accepting request 348345 from Documentation:Tools

Removed the superfluous but harmless SVN updater script that the factory-auto bot complained about.

OBS-URL: https://build.opensuse.org/request/show/348345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-xsl-stylesheets?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2015-12-17 14:51:51 +00:00 committed by Git OBS Bridge
commit fbb4e0d3be
5 changed files with 48 additions and 96 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35042c283c0a183fc84f1583b864347d00a3518f6a882135acf7352dc8b10d78
size 2711441

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b2b8ef9a7a4f4af9a76937375652d9b0cf106ba5416962618a766a719eb6503
size 1804182

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Thu Dec 3 15:45:32 UTC 2015 - toms@opensuse.org
Stable release DAPS 2.0.4:
Find issues in our GitHub tracker at
https://github.com/openSUSE/suse-xsl/issues/NUMBER
* Schema
- Allow constant and see (inside `<indexterm>`); make db.all.blocks
zero or more (*) for question (fbebfb6)
- Remove XLinks from DB5 elements (suse-xsl #99)
- Disallow db.all.blocks in lists (suse-xsl #100)
- Remove `<menuchoice>` from guiinlines (Novdoc) (a049b85)
- Allow `<menuchoice>` in titles (Novdoc) (975b8d6)
* Stylesheets (PDF)
- "unbolded" admonition titles (suse-xsl #46)
- Odd space in footer where `<productname>` used to be,
`<productname>` not displayed on book title page (suse-xsl #50)
- Fix style of `<sect5>` titles (suse-xsl #52, bsc#955663)
- FOP don't like empty `<fo:table-cell>`s (suse-xsl #97)
- Make `<remark>` handling a little more elegant
- Attribute sets: fix logic for replacing bold/italic in CJK
languages
* Stylesheets (XHTML)
- Make Callouts "uncopyable" (suse-xsl #55)
- Don't link inline images (suse-xsl #65)
- Publication date is incorrectly capitalized (suse-xsl #70)
- Create better plain-text output via DAPS (suse-xsl #101)
- debug.filename-id: Use `xml:id` for metadata
- Various fixes for JS code for tracker
* Common Stylesheet Changes
- Style for `<package>` (issue #49)
- xrefs to variablelists in another book is broken (suse-xsl #73)
- Trim spaces/newlines at beginning/end of verbatim elements
(suse-xsl #53)
- Fix bugtracker for db4 (suse-xsl #102)
-------------------------------------------------------------------
Tue Aug 11 15:11:52 UTC 2015 - toms@opensuse.org

View File

@ -17,7 +17,7 @@
Name: suse-xsl-stylesheets
Version: 2.0.3
Version: 2.0.4
Release: 0
###############################################################
@ -51,9 +51,8 @@ License: GPL-2.0 or GPL-3.0
Group: Productivity/Publishing/XML
Url: http://sourceforge.net/p/daps/suse-xslt
Source0: %{name}-%{version}.tar.bz2
Source1: susexsl-fetch-source-svn
Source2: susexsl-fetch-source-git
Source3: %{name}.rpmlintrc
Source1: susexsl-fetch-source-git
Source2: %{name}.rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch

View File

@ -1,89 +0,0 @@
#!/bin/bash
#
# Create suse-xsl-stylesheet source tarball from SVN
#
# Copyright (C) 2011,2012 Frank Sundermeyer <fsundermeyer@opensuse.org>
#
# Author:
# Frank Sundermeyer <fsundermeyer@opensuse.org>
#set -x
NAME=suse-xsl-stylesheets
VERSION=
SPECFILE=${NAME}.spec
SRC_DIR=suse
NOVDOC_DIR=schema
SVNPATH=svn://svn.code.sf.net/p/daps/svn/trunk/daps
TMPDIR=$(mktemp -q -d --tmpdir susexsl_XXXXXXXX)
EXCLUDES=${TMPDIR}/${NAME}/${SRC_DIR}/packaging/exclude-files_for_susexsl_package.txt
#----------
# Functions
#----------
# exit on error
#
function exit_on_error {
echo -e "$1"
#rm -rf $TMPDIR
exit 1
}
#-----
# MAIN
#-----
#
# This script needs to be called from the suse-xsl-stylesheet osc checkout
# directory, so lets check whethter we are in the correct directory
#
if [[ ! -s ${NAME}.spec && ! -d .osc ]]; then
echo "Looks like you are not in the ${NAME} checkout directory."
read -p "Continue anyway (y/n) [n]: " CONT
if [[ n = $CONT || N = $CONT ]]; then
exit_on_error "Aborted by user."
fi
fi
#
# Export daps from SVN
#
svn export -q $SVNPATH ${TMPDIR}/${NAME} || exit_on_error "SVN export failed"
#
# Get the version number
#
VERSION=$(egrep "^Version:\s*" ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE | sed 's/^Version:\s*//')
if [[ -z $VERSION ]]; then
exit_on_error "Couldn't get version number from spec-file."
fi
#
# Create the tarball
#
export BZIP2=--best
tar cfh ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \
--exclude-from=$EXCLUDES --transform=s:suse/:suse-xsl-stylesheets/: \
${SRC_DIR} || exit_on_error "Failed to create the tarball."
# suse/aspell is excluded from tarball, because we only need one file, which we
# manually add here
tar rf ${NAME}-${VERSION}.tar -C ${TMPDIR}/${NAME} \
--transform=s:suse:suse-xsl-stylesheets: \
${SRC_DIR}/aspell/suse_aspell.rws || exit_on_error "Failed to add aspell dictionary to the tarball."
bzip2 -9f ${NAME}-${VERSION}.tar
echo "Successfully created ${NAME}-${VERSION}.tar.bz2"
#
# Copy the spec file if necessary
#
diff -q $SPECFILE ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE >/dev/null
if [[ 0 = $? ]]; then
echo "spec file is up-to-date"
else
cp ${TMPDIR}/${NAME}/${SRC_DIR}/packaging/$SPECFILE . || exit_on_error "Failed to copy the specfile."
echo "Successfully updated the spec file."
fi
rm -rf ${TMPDIR}
exit 0