- Remove javadoc ghost symlinking.
This commit is contained in:
parent
2298c7a79c
commit
fe250036f6
19
regexp.spec
19
regexp.spec
@ -36,7 +36,7 @@
|
||||
|
||||
Name: regexp
|
||||
Version: 1.5
|
||||
Release: 4.2%{dist}
|
||||
Release: 4.3%{dist}
|
||||
Epoch: 0
|
||||
Summary: Simple regular expressions API
|
||||
License: ASL 2.0
|
||||
@ -71,9 +71,6 @@ for visual debugging and testing suite for compatibility.
|
||||
%package javadoc
|
||||
Group: Development/Java
|
||||
Summary: Javadoc for %{name}
|
||||
Requires(post): %{__rm}
|
||||
Requires(postun): %{__rm}
|
||||
Requires(post): /bin/ln
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
@ -108,15 +105,6 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
||||
%clean
|
||||
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}
|
||||
%post
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
@ -145,9 +133,12 @@ fi
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%ghost %doc %{_javadocdir}/%{name}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user