Remove workaround for symlink->directory rpm bug

This commit is contained in:
Mikolaj Izdebski 2018-07-12 11:15:18 +02:00
parent 9f58bf4110
commit 36ea41f8fa

View File

@ -3,7 +3,7 @@
Name: apache-%{short_name}
Version: 3.2.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Provides new interfaces, implementations and utilities for Java Collections
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/
@ -75,12 +75,6 @@ ant tf.javadoc -Dtf.build.docs=target/site/apidocs/
%install
%mvn_install
# Workaround for RPM bug #646523 - can't change symlink to directory
%pretrans javadoc -p <lua>
dir = "%{_javadocdir}/%{name}"
dummy = posix.readlink(dir) and os.remove(dir)
%files -f .mfiles
%doc PROPOSAL.html README.txt
%license LICENSE.txt NOTICE.txt
@ -92,6 +86,9 @@ dummy = posix.readlink(dir) and os.remove(dir)
%changelog
* Thu Jul 12 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.2-9
- Remove workaround for symlink->directory rpm bug
* Tue Apr 24 2018 Mat Booth <mat.booth@redhat.com> - 3.2.2-8
- Allow testframework to still be built even with tests disabled, which is
needed by other packages