Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ASF_MapReady/etc/asf_mapready.spec" incorrectly lists /usr/local/bin and /usr/local/share in %files section #479

Open
mo-markcrossland opened this issue Jul 4, 2017 · 0 comments

Comments

@mo-markcrossland
Copy link

mo-markcrossland commented Jul 4, 2017

The spec file that eventually produces an RPM for asf_mapready specifies the following in the %files section:

%files
%defattr(666,root,root,777)
%attr(-,root,root) /usr/local/bin
/usr/local/share

Unfortunately, this results in failure to install on OSs such as RHEL7 where /usr/local/share is owned by a system package, with the following error:

yum install asf_mapready
...
...
Transaction check error:
  file /usr/local/share from install of asf_mapready-3.1.24-1.i386 conflicts with file from package filesystem-3.2-21.el7.x86_64

The spec file needs to be cleaned so that it either lists all of the files that it installs or uses a more sensible %files section that names all the files placed into /usr/local/bin individually, then all files placed into /usr/local/share/asf_tools/doc, and then /usr/local/share/asf_tools/mapready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant