The package rpms/hyprlock.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/hyprlock.git/commit/?id=b0c6bfe84180....
Change: +ExcludeArch: %{ix86}
Thanks.
Full change: ============
commit b0c6bfe84180ee3db807b90190123263cddbc850 Author: Pavel Solovev daron439@gmail.com Date: Sat Jun 1 14:58:22 2024 +0100
import rhbz#2266231
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..103ce88 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/hyprlock-0.3.0.tar.gz diff --git a/cmake.patch b/cmake.patch new file mode 100644 index 0000000..92c21d6 --- /dev/null +++ b/cmake.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 07e2338..720810b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -83,9 +83,4 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst + # Installation + install(TARGETS hyprlock) + +-install(CODE " +- if (NOT EXISTS "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d/hyprlock") +- install(FILES "${CMAKE_SOURCE_DIR}/pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d") +- endif() +-") +- ++install(FILES "${CMAKE_SOURCE_DIR}/pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d") diff --git a/hyprlock.spec b/hyprlock.spec new file mode 100644 index 0000000..64d5a32 --- /dev/null +++ b/hyprlock.spec @@ -0,0 +1,51 @@ +Name: hyprlock +Version: 0.3.0 +Release: %autorelease +Summary: Hyprland's GPU-accelerated screen locking utility +License: BSD-3-Clause +URL: https://github.com/hyprwm/hyprlock +Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +# fix cmake, install command is not scriptable +# https://github.com/hyprwm/hyprlock/issues/214 +Patch: cmake.patch + +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} + +BuildRequires: cmake +BuildRequires: gcc-c++ + +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(hyprlang) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(opengl) +BuildRequires: pkgconfig(pam) +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(xkbcommon) + +%description +%{summary}. + +%prep +%autosetup -p1 + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%config(noreplace) %{_sysconfdir}/pam.d/%{name} + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..04a09da --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hyprlock-0.3.0.tar.gz) = 3c2262e19f62259efdd2fec0c05f473d60b71809e75b253529e56b31337eee6ca176ead36101a023d777d8989613df765d002358c45aadba6db6593fbca7dd2c
arch-excludes@lists.fedoraproject.org