done, if you have time to take a look at the udev repo it worked awesome locally but doesn't build i
done, if you have time to take a look at the udev repo it worked awesome locally but doesn't build in github, I'm kind of at a loss to the why?
rpm -ql $PACKAGEADD etc /tmp/ublue-os-udev-rules/etcName: ublue-os-game-devices-udev
Version: 0.1
Release: 1%{?dist}
Summary: Additional udev files for game controller support
License: MIT
URL: https://gitlab.com/jntesteves/game-devices-udev
BuildArch: noarch
Supplements: systemd-udev
Source0: game-devices-udev.tar.gz
%description
Adds various udev rules for improving game controller support
%prep
%setup -q -c -T
%install
mkdir -p -m0755 %{buildroot}%{_datadir}/ublue-os/game-devices-udev
tar xzf %{SOURCE0} -C %{buildroot}%{_datadir}/ublue-os/game-devices-udev --strip-components=1
mkdir -p -m0755 %{buildroot}%{_exec_prefix}/lib/udev/rules.d
cp %{buildroot}%{_datadir}/ublue-os/game-devices-udev/*.rules %{buildroot}%{_exec_prefix}/lib/udev/rules.d
%files
%dir %attr(0755,root,root) %{_datadir}/ublue-os/game-devices-udev/
%attr(0644,root,root) %{_datadir}/ublue-os/game-devices-udev/*.rules
%attr(0644,root,root) %{_datadir}/ublue-os/game-devices-udev/README.md
%attr(0644,root,root) %{_datadir}/ublue-os/game-devices-udev/LICENSE
%attr(0644,root,root) %{_datadir}/ublue-os/game-devices-udev/game-controller-udev.svg
%attr(0644,root,root) %{_exec_prefix}/lib/udev/rules.d/*.rules
%changelog
* Sat Feb 25 2023 Joshua Stone <joshua.gage.stone@gmail.com> - 0.1
- Add udev game-devices-udevrpm -ql $PACKAGEADD etc /tmp/ublue-os-udev-rules/etcError: File not found: /tmp/ublue-os/rpmbuild/BUILDROOT/ublue-os-udev-rules-0.1-1.fc37.x86_64/usr/share/ublue-os/ublue-os-udev-rules/etc/udev/rules.d/LICENSE
RPM build errors:
File not found: /tmp/ublue-os/rpmbuild/BUILDROOT/ublue-os-udev-rules-0.1-1.fc37.x86_64/usr/share/ublue-os/ublue-os-udev-rules/etc/udev/rules.d/LICENSEFROM registry.fedoraproject.org/fedora:latest AS builder
RUN dnf install --disablerepo='*' --enablerepo='fedora,updates' --setopt install_weak_deps=0 --nodocs --assumeyes rpm-build
ADD https://gitlab.com/jntesteves/game-devices-udev/-/archive/main/game-devices-udev-main.tar.gz /tmp/ublue-os-game-devices-udev/rpmbuild/SOURCES/game-devices-udev.tar.gz
ADD ublue-os-game-devices-udev.spec /tmp/ublue-os-game-devices-udev/ublue-os-game-devices-udev.spec
RUN rpmbuild -ba \
--define '_topdir /tmp/ublue-os-game-devices-udev/rpmbuild' \
--define '%_tmppath %{_topdir}/tmp' \
/tmp/ublue-os-game-devices-udev/ublue-os-game-devices-udev.spec
FROM scratch
COPY --from=builder /tmp/ublue-os-game-devices-udev/rpmbuild/RPMS/noarch/ublue-os-game-devices-udev-*.rpm /ublue-os-game-devices-udev.rpm