public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Deepak Bhole <dbhole@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Added missing requirements.
Date: Wed, 15 Jul 2026 09:36:05 GMT	[thread overview]
Message-ID: <178410816522.1.15965569475267637051.rpms-bsh-29faa072da0a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bsh
Branch : epel10
Commit : 29faa072da0a70522d9997b4f8fb51b3f2e632cd
Author : Deepak Bhole <dbhole@fedoraproject.org>
Date   : 2006-08-05T00:06:54+00:00
Stats  : +15/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bsh/c/29faa072da0a70522d9997b4f8fb51b3f2e632cd?branch=epel10

Log:
Added missing requirements.

---
diff --git a/bsh.spec b/bsh.spec
index da1aab5..b682644 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -36,7 +36,7 @@
 
 Name:           bsh
 Version:        1.3.0
-Release:        8jpp_3fc
+Release:        9jpp.1
 Epoch:		0
 Summary:        Lightweight Scripting for Java
 License:        LGPL
@@ -89,6 +89,8 @@ 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}.
@@ -209,6 +211,15 @@ 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
+
 %post
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -250,6 +261,9 @@ fi
 %{_datadir}/%{name}/*
 
 %changelog
+* Fri Aug 04 2006 Deepak Bhole <dbhole@redhat.com> 0:1.3.0-9jpp.1
+- Added missing requirements
+
 * Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 0:1.3.0-8jpp_3fc
 - Rebuilt
 

                 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=178410816522.1.15965569475267637051.rpms-bsh-29faa072da0a@fedoraproject.org \
    --to=dbhole@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