Add workaround for symlink->directory rpm bug
This commit is contained in:
parent
9473de659c
commit
d7102c2bf6
@ -3,7 +3,7 @@
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 3.2.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Provides new interfaces, implementations and utilities for Java Collections
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/%{base_name}/
|
||||
@ -73,6 +73,12 @@ 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.txt NOTICE.txt
|
||||
|
||||
@ -83,6 +89,9 @@ ant tf.javadoc -Dtf.build.docs=target/site/apidocs/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 23 2016 Michael Simacek <msimacek@redhat.com> - 3.2.2-3
|
||||
- Add workaround for symlink->directory rpm bug
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user