public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Permaine Cheung <pcheung@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: - Merge with upstream
Date: Wed, 15 Jul 2026 09:36:06 GMT	[thread overview]
Message-ID: <178410816621.1.2034027495677799197.rpms-bsh-303ff4b9d49f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bsh
            Branch : epel10
            Commit : 303ff4b9d49f60ecee9c7e78e997fba3b9a9e2ce
            Author : Permaine Cheung <pcheung@fedoraproject.org>
            Date   : 2007-03-16T15:51:11+00:00
            Stats  : +44/-21 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/bsh/c/303ff4b9d49f60ecee9c7e78e997fba3b9a9e2ce?branch=epel10

            Log:
            - Merge with upstream
- Removed unapplied patch and moved buildroot removal from prep to install,
    and other rpmlint cleanup

---
diff --git a/.cvsignore b/.cvsignore
index f0dbdfd..3128130 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,4 +1 @@
 bsh-1.3.0-src.tar.bz2
-BeanShell
-noarch
-*.src.rpm

diff --git a/bsh.spec b/bsh.spec
index 7edf05d..3b2bb75 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -32,32 +32,33 @@
 
 %define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
 
-%define section		free
-
 Name:           bsh
 Version:        1.3.0
-Release:        9jpp.2
-Epoch:		0
+Release:        10jpp.1%{?dist}
+Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        LGPL
 Source0:        %{name}-%{version}-src.tar.bz2
-Patch0:		%{name}-build.patch
-Patch1:		%{name}-readline.patch
+#cvs -d:pserver:anonymous@beanshell.cvs.sourceforge.net:/cvsroot/beanshell login
+#cvs -z3 -d:pserver:anonymous@beanshell.cvs.sourceforge.net:/cvsroot/beanshell export -r rel_1_3_0_final BeanShell
+#tar cjf bsh-1.3.0-src.tar.bz2 BeanShell
+Patch0:         %{name}-build.patch
+#Patch1:         %{name}-readline.patch
 BuildRequires:  ant, bsf, perl, ant-trax
-Requires:	bsf
-Requires:	jpackage-utils >= 0:1.6
+Requires:       bsf
+Requires:       jpackage-utils >= 0:1.6
 #BuildRequires:  libreadline-java
 Url:            http://www.beanshell.org/
 Group:          Development/Java
 %if ! %{gcj_support}
 Buildarch:      noarch
 %endif
-Buildroot:      %{_tmppath}/%{name}-%{version}-buildroot
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if %{gcj_support}
-BuildRequires:		java-gcj-compat-devel
-Requires(post):		java-gcj-compat
-Requires(postun):	java-gcj-compat
+BuildRequires:          java-gcj-compat-devel
+Requires(post):         java-gcj-compat
+Requires(postun):       java-gcj-compat
 %endif
 
 %description
@@ -98,15 +99,14 @@ Javadoc for %{name}.
 %package demo
 Summary:        Demo for %{name}
 Group:          Development/Java
-AutoReqProv:	no
+AutoReqProv:    no
 Requires:       %{name} = %{epoch}:%{version}-%{release}
-Requires:	/usr/bin/env
+Requires:       /usr/bin/env
 
 %description demo
 Demonstrations and samples for %{name}.
 
 %prep
-rm -rf $RPM_BUILD_ROOT
 %setup -q -n BeanShell
 %patch0 -p1
 #%patch1 -p1
@@ -114,6 +114,10 @@ find . -name "*.jar" -exec rm -f {} \;
 # remove all CVS files
 for dir in `find . -type d -name CVS`; do rm -rf $dir; done
 for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
+# fix rpmlint spurious-executable-perm warnings
+for i in backbutton forwardbutton homebutton remoteconsole upbutton; do
+    chmod 644 docs/images/$i.gif
+done
 
 %build
 mkdir -p lib
@@ -129,6 +133,7 @@ ant -Dexclude-servlet='bsh/servlet/*' bshdoc
 (cd docs/manual && ant)
 
 %install
+rm -rf $RPM_BUILD_ROOT
 # jars
 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
 install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@@ -151,6 +156,21 @@ for i in `find tests -name \*.bsh`; do
     chmod 755 $i
   fi
 done
+chmod 755 tests/Template
+cat > one << EOF
+#!/bin/sh
+
+EOF
+cat tests/Interactive/reload/one >> one
+cat one > tests/Interactive/reload/one
+rm one
+cat > two << EOF
+#!/bin/sh
+
+EOF
+cat tests/Interactive/reload/two >> two
+cat two > tests/Interactive/reload/two
+rm two
 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -pr tests $RPM_BUILD_ROOT%{_datadir}/%{name}
 # scripts
@@ -220,16 +240,16 @@ if [ "$1" = "0" ]; then
     rm -f %{_javadocdir}/%{name}
 fi
 
-%post
 %if %{gcj_support}
+%post
 if [ -x %{_bindir}/rebuild-gcj-db ]
 then
   %{_bindir}/rebuild-gcj-db
 fi
 %endif
 
-%postun
 %if %{gcj_support}
+%postun
 if [ -x %{_bindir}/rebuild-gcj-db ]
 then
   %{_bindir}/rebuild-gcj-db
@@ -258,9 +278,15 @@ fi
 
 %files demo
 %defattr(-,root,root)
+%doc tests/README.txt tests/Interactive/README
 %{_datadir}/%{name}/*
 
 %changelog
+* Fri Mar 16 2007 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-10jpp.1
+- Merge with upstream
+- Removed unapplied patch and moved buildroot removal from prep to install,
+  and other rpmlint cleanup
+
 * Mon Mar 12 2007 Karsten Hopp <karsten@redhat.com> 1.3.0-9jpp.2
 - add buildrequirement ant-trax for documentation
 

diff --git a/sources b/sources
index b878beb..7e89f6a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8ecaff8eb679e4f1447dbb98cc9e897a  bsh-1.3.0-src.tar.bz2
+3d8c14c2a223aa577108efa8bd17bdd3  bsh-1.3.0-src.tar.bz2

                 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=178410816621.1.2034027495677799197.rpms-bsh-303ff4b9d49f@fedoraproject.org \
    --to=pcheung@fedoraproject.org \
    --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