From 5c04c996d58e518563bc2ce43f267edcd318827e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= Date: Mon, 8 Feb 2021 02:19:24 +0100 Subject: [PATCH] This makes some more sense now --- .copr/Makefile | 3 ++- ly.spec | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.copr/Makefile b/.copr/Makefile index 09f5599..4902cbb 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -1,2 +1,3 @@ srpm: - rpmbuild -bs ly.spec + make github + rpmbuild -vv -bs ly.spec --define "_srcrpmdir $(outdir)" diff --git a/ly.spec b/ly.spec index c893e3f..fae665b 100644 --- a/ly.spec +++ b/ly.spec @@ -4,7 +4,6 @@ Release: 1 Summary: A TUI display manager License: WTFPL URL: https://github.com/nullgemm/ly -Source: https://github.com/dhalucario/ly/archive/v0.5.2.tar.gz BuildRequires: libxcb-devel BuildRequires: pam-devel BuildRequires: make @@ -15,8 +14,10 @@ Requires: pam Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. %prep -cd src -make github +tar -czvf v0.5.2.tar.gz %{buildroot} +mv v0.5.2.tar.gz %{_sourcedir} +cd %{_sourcedir} +ls -la %build cd src