On 2024-02-03 01:27, Dan Horák wrote:
On Fri, 2 Feb 2024 23:55:43 -0800
luya@fedoraproject.org wrote:


On 2024-02-01 11:26 p.m., Neal Gompa <ngompa13@gmail.com> wrote:
On Fri, Feb 2, 2024 at 2:04 AM Mamoru TASAKA <mtasaka@fedoraproject.org> wrote:
Luya Tshimbalanga wrote on 2024/02/02 10:25:
Hello team,

It appears a change within %{_kde4_datadir} macro caused failures on Rawhide affecting default Fedora backgrounds starting from 21.
Could someone from KDE SIG address that issue? Thanks.


Here is an extract of failure[1]  on for f35-backgrounds built on Rawhide:

''''

RPM build errors:
error: File must begin with "/": %{_kde4_datadir}/wallpapers/F35/
      File must begin with "/": %{_kde4_datadir}/wallpapers/F35/
Child return code was: 1
'''

Reference:
[1]https://koji.fedoraproject.org/koji/taskinfo?taskID=112257075

I am not KDE sig member, but the above failure is most likely due to
the following change:

https://src.fedoraproject.org/rpms/kde-filesystem/c/3cc17949d085bef5476638f2fbade0f19dbcea32

/usr/lib/rpm/macros.d/macros.kde4 (which provides %{_kde4_datadir} macro definition)
was moved from kde-filesystem.rpm to kde4-filesystem.rpm .

Yes, just add "BuildRequires: kde4-filesystem".

Thank you all for the solution. I notice I lack access to commit changes on  f21-backgrounds so proven packagers are welcome to do so. Thanks
update to f21-backgrounds pushed into git, no build started

Is the Requires: kde-filesystem in the "kde" subpackage still correct?


Yes, "Requires: kde-filesystem" is still correct after running a built test.


    
-- 
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer