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: Update spec file as per fedora review process
Date: Wed, 15 Jul 2026 09:36:06 GMT	[thread overview]
Message-ID: <178410816672.1.13461868378480829930.rpms-bsh-1192965652a0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bsh
Branch : epel10
Commit : 1192965652a03e1c5dfdceb6f64d210735b3d956
Author : Permaine Cheung <pcheung@fedoraproject.org>
Date   : 2007-04-26T16:20:20+00:00
Stats  : +5/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bsh/c/1192965652a03e1c5dfdceb6f64d210735b3d956?branch=epel10

Log:
Update spec file as per fedora review process

---
diff --git a/bsh.spec b/bsh.spec
index 3b2bb75..d3afeef 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2005, JPackage Project
+# Copyright (c) 2000-2007, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -44,7 +44,7 @@ Source0:        %{name}-%{version}-src.tar.bz2
 #tar cjf bsh-1.3.0-src.tar.bz2 BeanShell
 Patch0:         %{name}-build.patch
 #Patch1:         %{name}-readline.patch
-BuildRequires:  ant, bsf, perl, ant-trax
+BuildRequires:  ant, bsf, ant-trax
 Requires:       bsf
 Requires:       jpackage-utils >= 0:1.6
 #BuildRequires:  libreadline-java
@@ -90,8 +90,6 @@ Documentation for %{name}.
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Java
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 Javadoc for %{name}.
@@ -149,6 +147,8 @@ find docs -name "*.log" -exec rm -f {} \;
 # javadoc
 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
 # demo
 for i in `find tests -name \*.bsh`; do
   perl -p -i -e 's,^\n?#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!/usr/bin/env %{_bindir}/%{name},' $i
@@ -231,15 +231,6 @@ cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
-    rm -f %{_javadocdir}/%{name}
-fi
-
 %if %{gcj_support}
 %post
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -275,6 +266,7 @@ fi
 %files javadoc
 %defattr(-,root,root)
 %{_javadocdir}/%{name}-%{version}
+%{_javadocdir}/%{name}
 
 %files demo
 %defattr(-,root,root)

                 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=178410816672.1.13461868378480829930.rpms-bsh-1192965652a0@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