![]() | 1 | initial version |
Install rpmrebuild
package and run rpmrebuild -e -p /path/google-earth-stable_current_x86_64.rpm
.
This will open .spec
file of the package. Find line %dir %attr(0755, root, root) "/usr/bin"
, delete it and save the file.
rpmrebuild will now build a new "valid" package, it should be located in ~/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm
(it will print the path).
Simply install it using sudo dnf install ~/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm
(And of course, fill a bug as @skytux suggest. This is a really bad package.)