On Tue, Feb 04, 2025 at 02:54:30PM +0000, Sérgio Basto via devel wrote:
> Hi,
> In this case: "packages which install to hardcoded $DESTDIR/usr/sbin,
> but then use %{_sbindir} in %files, will need to be adjusted."
>
> I did this [1] after the make install, is that correct ?
>
> [1]
> %if "%{_sbindir}" == "%{_bindir}"
> mkdir -p %{buildroot}%{_bindir}
> mv %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}
> %endif
This happened for udpcast, and lzap ended up patching the upstream
Makefile which seems better to me:
https://src.fedoraproject.org/rpms/udpcast/pull-request/4
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue