public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alexander Kurtakov <akurtakov@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Drop gcj support. Fix rpmlint warnings.
Date: Wed, 15 Jul 2026 09:36:12 GMT	[thread overview]
Message-ID: <178410817219.1.13586468309530131180.rpms-bsh-065175bd11f1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bsh
Branch : epel10
Commit : 065175bd11f19f805a81c1ed225c2966d3b1d19b
Author : Alexander Kurtakov <akurtakov@fedoraproject.org>
Date   : 2010-01-09T13:50:46+00:00
Stats  : +13/-43 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bsh/c/065175bd11f19f805a81c1ed225c2966d3b1d19b?branch=epel10

Log:
Drop gcj support. Fix rpmlint warnings.

---
diff --git a/bsh.spec b/bsh.spec
index 12c9608..7d84efc 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -28,11 +28,9 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support 1
-
 Name:           bsh
 Version:        1.3.0
-Release:        15.1%{?dist}
+Release:        15.2%{?dist}
 Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        SPL or LGPLv2+
@@ -51,19 +49,11 @@ BuildRequires:  servlet
 Requires:       bsf
 Requires:       jpackage-utils >= 0:1.7.2
 #BuildRequires:  libreadline-java
-Url:            http://www.beanshell.org/
-Group:          Development/Java
-%if ! %{gcj_support}
-Buildarch:      noarch
-%endif
+URL:            http://www.beanshell.org/
+Group:          Development/Libraries
+BuildArch:      noarch
 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
-%endif
-
 %description
 BeanShell is a small, free, embeddable, Java source interpreter with
 object scripting language features, written in Java. BeanShell executes
@@ -85,21 +75,21 @@ scripts and return them as results.
 
 %package manual
 Summary:        Manual for %{name}
-Group:          Development/Java
+Group:          Documentation
 
 %description manual
 Documentation for %{name}.
 
 %package javadoc
 Summary:        Javadoc for %{name}
-Group:          Development/Java
+Group:          Documentation
 
 %description javadoc
 Javadoc for %{name}.
 
 %package demo
 Summary:        Demo for %{name}
-Group:          Development/Java
+Group:          Development/Libraries
 AutoReqProv:    no
 Requires:       %{name} = %{epoch}:%{version}-%{release}
 Requires:       /usr/bin/env
@@ -108,8 +98,8 @@ Requires:       /usr/bin/env
 Demonstrations and samples for %{name}.
 
 %package desktop
-Summary:        %{name} integration for the desktop
-Group:          Development/Java
+Summary:        Desktop integraton for %{name} 
+Group:          Development/Libraries
 Requires:       %{name} = %{epoch}:%{version}-%{release}
 
 %description desktop
@@ -277,12 +267,6 @@ cat > $RPM_BUILD_ROOT%{_bindir}/%{name}doc << EOF
 EOF
 cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm \
-   --exclude %{_datadir}/%{name}/webapps/bshservlet.war \
-   --exclude %{_datadir}/%{name}/webapps/bshservlet-wbsh.war
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -294,13 +278,6 @@ fi
 
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-exit 0
 
 %postun desktop
 touch --no-create %{_datadir}/icons/hicolor
@@ -310,13 +287,6 @@ fi
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-exit 0
 
 %files
 %defattr(-,root,root)
@@ -329,10 +299,6 @@ exit 0
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}
 
-%if %{gcj_support}
-%attr(-,root,root) %{_libdir}/gcj/%{name}
-%endif
-
 %ifnarch ppc64 s390x
 %files manual
 %defattr(-,root,root)
@@ -355,6 +321,10 @@ exit 0
 %{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 
 %changelog
+* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.0-15.2
+- Drop gcj_support.
+- Fix rpmlint warnings.
+
 * Mon Sep 21 2009 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-15.1
 - Do not build manual and faq for ppc64 or s390x as the style task is disabled
 

                 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=178410817219.1.13586468309530131180.rpms-bsh-065175bd11f1@fedoraproject.org \
    --to=akurtakov@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