diff --git a/sources b/sources index f4bf6f4..d0a8e17 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wlopm-v0.1.0.tar.gz) = a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab +SHA512 (wlopm-v1.0.0.tar.gz) = 6765f4abd46013c4b887972633798956cae8b60c3abd039aa74f3f70ae76696ea015a39dac68898950a939fe808d77e06a4b050b18b38b42eab1402d81926abd diff --git a/wlopm-0.1.0-Install-man-file-with-correct-permissions.patch b/wlopm-0.1.0-Install-man-file-with-correct-permissions.patch deleted file mode 100644 index 5f72088..0000000 --- a/wlopm-0.1.0-Install-man-file-with-correct-permissions.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 60d041c6965ada8754053e266641b0665e2219aa Mon Sep 17 00:00:00 2001 -From: Aleksei Bavshin -Date: Tue, 2 Aug 2022 22:41:48 -0700 -Subject: [PATCH wlopm 1/2] Install man file with correct permissions - ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 2f92f79..13a5e31 100644 ---- a/Makefile -+++ b/Makefile -@@ -21,8 +21,8 @@ $(OBJ): $(GEN) - $(SCANNER) client-header < $< > $@ - - install: wlopm -- install -D wlopm $(DESTDIR)$(BINDIR)/wlopm -- install -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1 -+ install -D wlopm $(DESTDIR)$(BINDIR)/wlopm -+ install -m 644 -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1 - - uninstall: - $(RM) $(DESTDIR)$(BINDIR)/wlopm --- -2.37.1 - diff --git a/wlopm.spec b/wlopm.spec index 58692e8..7424b1a 100644 --- a/wlopm.spec +++ b/wlopm.spec @@ -1,14 +1,11 @@ Name: wlopm -Version: 0.1.0 +Version: 1.0.0 Release: %autorelease Summary: wlr-output-power-management-v1 client -License: GPLv3 +License: GPL-3.0-only URL: https://sr.ht/~leon_plickat/wlopm/ Source0: https://git.sr.ht/~leon_plickat/wlopm/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz -# Fix exec bit on the man file -# https://lists.sr.ht/~leon_plickat/public-inbox/patches/34406 -Patch: wlopm-0.1.0-Install-man-file-with-correct-permissions.patch BuildRequires: gcc BuildRequires: make @@ -29,6 +26,7 @@ Simple client implementing zwlr-output-power-management-v1. %install +install -d %{buildroot}%{bash_completions_dir} %make_install PREFIX=%{_prefix} @@ -37,6 +35,7 @@ Simple client implementing zwlr-output-power-management-v1. %doc README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* +%{bash_completions_dir}/%{name} %changelog