public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bsh] epel10: Added missing requirements.
@ 2026-07-15  9:36 Deepak Bhole
  0 siblings, 0 replies; only message in thread
From: Deepak Bhole @ 2026-07-15  9:36 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-15  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15  9:36 [rpms/bsh] epel10: Added missing requirements Deepak Bhole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox