On Sat, Jun 01, 2019 at 09:29:33PM +0200, Georg Sauthoff wrote:
> > $ rpm -qlp dpm-copy-server-mysql-1.12.0-2.fc29.x86_64.rpm
> > /etc/dpm-mysql/dpmcopyd.logrotate
> > /etc/logrotate.d/dpmcopyd
> > /usr/lib/.build-id
> > /usr/lib/.build-id/70/bf043a9b1a0954bb464faa59261f8edb0564d3
> > /usr/lib/systemd/system/dpmcopyd.service
> > /usr/lib64/dpm-mysql/dpmcopyd
> > /usr/lib64/dpm-mysql/dpmcopyd.8
>
> This still looks wrong.
>
> > /usr/sbin/dpmcopyd
> > /usr/share/dpm-mysql
> > /usr/share/dpm-mysql/dpmcopyd.service
> > /usr/share/man/man8/dpmcopyd.8.gz
>
> Strange.
>
> > I don't know why cpio isn't seeing the files. Did you try installing the
This is caused by use of the %ghost directive in the %files
section of the .spec file:
%files -n dpm-copy-server-mysql
%{_libdir}/dpm-mysql/dpmcopyd
%ghost %{_sbindir}/dpmcopyd
%doc %{_libdir}/dpm-mysql/dpmcopyd.8*
%ghost %{_mandir}/man8/dpmcopyd.8*
Apparently %ghost marks those files as belonging to the package but
doesn't include them in the package. Thus, they aren't part of the cpio
archive. Common use-case for this seems to be log-files - such that they
are removed on package removal.
Anyhow, those lines look like a bug to me:
%doc %{_libdir}/dpm-mysql/dpmcopyd.8*
%ghost %{_mandir}/man8/dpmcopyd.8*
And the other question now is: Should `dnf provides` include ghost files
in its output?
I mean, the package really doesn't provide those ghost files ...
Best regards
Georg
--
'Apple denies that, based on their common meaning, the words "app
store" together denote a store for apps.'
http://www.theregister.co.uk/2011/05/20/apple_amazon_trademark_spat/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]