- Remove javadoc ghost symlinking.

This commit is contained in:
Andrew Overholt 2010-01-08 18:49:35 +00:00
parent 2298c7a79c
commit fe250036f6

View File

@ -36,7 +36,7 @@
Name: regexp Name: regexp
Version: 1.5 Version: 1.5
Release: 4.2%{dist} Release: 4.3%{dist}
Epoch: 0 Epoch: 0
Summary: Simple regular expressions API Summary: Simple regular expressions API
License: ASL 2.0 License: ASL 2.0
@ -71,9 +71,6 @@ for visual debugging and testing suite for compatibility.
%package javadoc %package javadoc
Group: Development/Java Group: Development/Java
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Requires(post): %{__rm}
Requires(postun): %{__rm}
Requires(post): /bin/ln
%description javadoc %description javadoc
Javadoc for %{name}. Javadoc for %{name}.
@ -108,15 +105,6 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%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} %if %{gcj_support}
%post %post
if [ -x %{_bindir}/rebuild-gcj-db ] if [ -x %{_bindir}/rebuild-gcj-db ]
@ -145,9 +133,12 @@ fi
%files javadoc %files javadoc
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name} %doc %{_javadocdir}/%{name}
%changelog %changelog
* Fri Jan 08 2010 Andrew Overholt <overholt@redhat.com> 1.5-4.3
- Remove javadoc ghost symlinking.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-4.2 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-4.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild