From 2e4fbb54ab3fcb8e5a8e247756f287e382cef69c9b291e33e883d973b5260195 Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Wed, 25 Sep 2013 06:01:09 +0000 Subject: [PATCH] Patch VERSION.xsl OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=64 --- suse-xsl-stylesheets-1.9.22.tar.bz2 | 4 ++-- suse-xsl-stylesheets.spec | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/suse-xsl-stylesheets-1.9.22.tar.bz2 b/suse-xsl-stylesheets-1.9.22.tar.bz2 index 202bcc7..56ef1b2 100644 --- a/suse-xsl-stylesheets-1.9.22.tar.bz2 +++ b/suse-xsl-stylesheets-1.9.22.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9646c8a95ea17d8ee8c07316512c7fee121f25ddae04e13f143d7f4a4d7c5714 -size 1252942 +oid sha256:c0ce34ac3d52e5f48f21a3f7638628b43bfde081239dfe3c516417c6814548ae +size 1251826 diff --git a/suse-xsl-stylesheets.spec b/suse-xsl-stylesheets.spec index 8ad8b31..c5766be 100644 --- a/suse-xsl-stylesheets.spec +++ b/suse-xsl-stylesheets.spec @@ -134,6 +134,9 @@ the DocBook 4 DTD. #-------------------------------------------------------------------------- %prep %setup -q -n %{name} +# +# Patch the VERSION.xsl file to hold the current version +sed -i "s%.*%%{version}%" xslt_suse2/VERSION.xsl #-------------------------------------------------------------------------- %build