Compare commits

..

No commits in common. "rawhide" and "f38" have entirely different histories.

3 changed files with 33 additions and 5 deletions

View file

@ -1 +1 @@
SHA512 (wlopm-v1.0.0.tar.gz) = 6765f4abd46013c4b887972633798956cae8b60c3abd039aa74f3f70ae76696ea015a39dac68898950a939fe808d77e06a4b050b18b38b42eab1402d81926abd
SHA512 (wlopm-v0.1.0.tar.gz) = a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab

View file

@ -0,0 +1,27 @@
From 60d041c6965ada8754053e266641b0665e2219aa Mon Sep 17 00:00:00 2001
From: Aleksei Bavshin <alebastr89@gmail.com>
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

View file

@ -1,11 +1,14 @@
Name: wlopm
Version: 1.0.0
Version: 0.1.0
Release: %autorelease
Summary: wlr-output-power-management-v1 client
License: GPL-3.0-only
License: GPLv3
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
@ -26,7 +29,6 @@ Simple client implementing zwlr-output-power-management-v1.
%install
install -d %{buildroot}%{bash_completions_dir}
%make_install PREFIX=%{_prefix}
@ -35,7 +37,6 @@ install -d %{buildroot}%{bash_completions_dir}
%doc README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{bash_completions_dir}/%{name}
%changelog