Re: RPM Spec scriptlets

2022-02-07 Thread Paweł Marciniak
> On Mon, Feb 7, 2022 at 9:57 PM Paweł Marciniak wrote: > At first glance, this happens because you apply the scriptlets to the > wrong package. "%pre -n python3-%{github_name}" This is the missing part, thank you Fabio. > and you should probably also use the macros provided by > systemd-rpm-mac

Re: RPM Spec scriptlets

2022-02-07 Thread Fabio Valentini
On Mon, Feb 7, 2022 at 9:57 PM Paweł Marciniak wrote: > > Can someone tell me why none of the scriptlets (%pre, post etc) in the spec > file > https://download.copr.fedorainfracloud.org/results/sunwire/rpmtest/fedora-35-x86_64/03364007-python-input-remapper/python-input-remapper.spec > work?