public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Fix pom filenames (Resolves rhbz#655791)
Date: Wed, 15 Jul 2026 09:36:13 GMT	[thread overview]
Message-ID: <178410817320.1.5945706710873236697.rpms-bsh-536318dd8808@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bsh
            Branch : epel10
            Commit : 536318dd8808e3631dbec225ebc9a91cc16592af
            Author : Stanislav Ochotnicky <sochotnicky@redhat.com>
            Date   : 2010-11-25T14:50:10+01:00
            Stats  : +48/-9 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/bsh/c/536318dd8808e3631dbec225ebc9a91cc16592af?branch=epel10

            Log:
            Fix pom filenames (Resolves rhbz#655791)

few more fixes to enable build of documentation (xsl patches)

---
diff --git a/bsh-xsl-fixes.patch b/bsh-xsl-fixes.patch
new file mode 100644
index 0000000..f44ccbd
--- /dev/null
+++ b/bsh-xsl-fixes.patch
@@ -0,0 +1,34 @@
+diff --git a/docs/faq/faq.xsl b/docs/faq/faq.xsl
+index 44615de..341b435 100644
+--- a/docs/faq/faq.xsl
++++ b/docs/faq/faq.xsl
+@@ -18,7 +18,7 @@
+ <!--xsl:param name="imagedir"/-->
+ 
+ <!-- Output directives -->
+-<xsl:output method="xhtml" indent="yes"/>
++<xsl:output method="html" indent="yes"/>
+ 
+ <!-- 
+ 	Root
+diff --git a/docs/manual/xsl/manual.xsl b/docs/manual/xsl/manual.xsl
+index 3b8208c..d733260 100644
+--- a/docs/manual/xsl/manual.xsl
++++ b/docs/manual/xsl/manual.xsl
+@@ -1,6 +1,6 @@
+ <xsl:stylesheet	
+ 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+-    xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
++        xmlns:redirect="http://xml.apache.org/xalan/redirect"
+     extension-element-prefixes="redirect"
+ >
+ 
+@@ -29,7 +29,7 @@
+ <xsl:param name="pagesdir"/>
+ 
+ <!-- Output directives -->
+-<xsl:output method="xhtml" indent="no"/>
++<xsl:output method="html" indent="no"/>
+ 
+ <!-- 
+ 	Root

diff --git a/bsh.spec b/bsh.spec
index 7d84efc..ab5c029 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -30,7 +30,7 @@
 
 Name:           bsh
 Version:        1.3.0
-Release:        15.2%{?dist}
+Release:        16%{?dist}
 Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        SPL or LGPLv2+
@@ -43,12 +43,13 @@ Source2:        bsh-bsf-1.3.0.pom
 Source3:        %{name}-desktop.desktop
 
 Patch0:         %{name}-build.patch
-#Patch1:         %{name}-readline.patch
+Patch1:         %{name}-xsl-fixes.patch
+BuildRequires:  java >= 1:1.6.0
 BuildRequires:  ant, bsf, ant-trax, ImageMagick, desktop-file-utils
 BuildRequires:  servlet
+Requires:       java >= 1:1.6.0
 Requires:       bsf
 Requires:       jpackage-utils >= 0:1.7.2
-#BuildRequires:  libreadline-java
 URL:            http://www.beanshell.org/
 Group:          Development/Libraries
 BuildArch:      noarch
@@ -98,7 +99,7 @@ Requires:       /usr/bin/env
 Demonstrations and samples for %{name}.
 
 %package desktop
-Summary:        Desktop integraton for %{name} 
+Summary:        Desktop integraton for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{epoch}:%{version}-%{release}
 
@@ -108,7 +109,7 @@ Contains a menu entry for %{name}.
 %prep
 %setup -q -n BeanShell
 %patch0 -p1
-#%patch1 -p1
+%patch1 -p1
 for j in $(find . -name "*.jar"); do
     mv $j $j.no
 done
@@ -128,8 +129,8 @@ ln -sf $(build-classpath servlet)
 popd
 ant  -Dant.build.javac.source=1.4 dist
 %ifnarch ppc64 s390x
-(cd docs/faq && ant  -Dant.build.javac.source=1.4)
-(cd docs/manual && ant  -Dant.build.javac.source=1.4)
+(cd docs/faq && ant  -Dant.build.javac.source=1.5)
+(cd docs/manual && ant  -Dant.build.javac.source=1.5)
 %endif
 
 %install
@@ -158,9 +159,9 @@ install -m 644 dist/%{name}-util-%{version}.jar \
 # poms
 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
 install -pm 644 %{SOURCE1} \
-    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.pom
+    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
 install -pm 644 %{SOURCE2} \
-    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-bsf.pom
+    $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-bsf.pom
 
 # manual
 find docs -name ".cvswrappers" -exec rm -f {} \;
@@ -321,6 +322,10 @@ fi
 %{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 
 %changelog
+* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.3.0-16
+- Fix pom filenames (Resolves rhbz#655791)
+- Fix xsl errors when building docs
+
 * Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.0-15.2
 - Drop gcj_support.
 - Fix rpmlint warnings.

                 reply	other threads:[~2026-07-15  9:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178410817320.1.5945706710873236697.rpms-bsh-536318dd8808@fedoraproject.org \
    --to=sochotnicky@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox