[system-setup-keyboard] Fix man page permissions
Peter Hutterer
whot at fedoraproject.org
Sun Jan 16 21:54:10 UTC 2011
commit 4085ba6dac668a513ca7b4edbb616f04a0b59c73
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Jan 17 07:52:38 2011 +1000
Fix man page permissions
0001-Fix-man-page-permissions.patch | 26 ++++++++++++++++++++++++++
system-setup-keyboard.spec | 8 +++++++-
2 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/0001-Fix-man-page-permissions.patch b/0001-Fix-man-page-permissions.patch
new file mode 100644
index 0000000..d1cf473
--- /dev/null
+++ b/0001-Fix-man-page-permissions.patch
@@ -0,0 +1,26 @@
+From 928e66af2e0c670d76e4686c5594e6f228e23cf9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta at iki.fi>
+Date: Thu, 13 Jan 2011 21:25:23 +0200
+Subject: [PATCH] Fix man page permissions.
+
+Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
+---
+ Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 7d37857..692478f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@ install: all install-man
+ install -D -m 644 system-setup-keyboard.service $(DESTDIR)/lib/systemd/system/system-setup-keyboard.service
+
+ install-man: system-setup-keyboard.$(MAN_SECTION)
+- install -D -m 755 $< $(DESTDIR)/usr/share/man/man1/$<
++ install -D -m 644 $< $(DESTDIR)/usr/share/man/man1/$<
+ gzip -f $(DESTDIR)/usr/share/man/man1/$<
+
+ system-setup-keyboard.$(MAN_SECTION): system-setup-keyboard.man
+--
+1.7.3.4
+
diff --git a/system-setup-keyboard.spec b/system-setup-keyboard.spec
index 841bced..1c40539 100644
--- a/system-setup-keyboard.spec
+++ b/system-setup-keyboard.spec
@@ -1,6 +1,6 @@
Name: system-setup-keyboard
Version: 0.8.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: xorg.conf keyboard layout callout
Group: Applications/System
@@ -9,6 +9,8 @@ URL: http://git.fedorahosted.org/git/system-setup-keyboard.git/
Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch01: 0001-Fix-man-page-permissions.patch
+
BuildRequires: glib2-devel
BuildRequires: system-config-keyboard
@@ -26,6 +28,7 @@ snippet.
%prep
%setup -q
+%patch01 -p1
%build
make CFLAGS="%{optflags}" %{?_smp_mflags}
@@ -76,6 +79,9 @@ fi
%doc COPYING
%changelog
+* Mon Jan 17 2011 Peter Hutterer <peter.hutterer at redhat.com> 0.8.6-2
+- Fix man page permissions
+
* Sat Aug 28 2010 Adel Gadllah <adel.gadllah at gmail.com> 0.8.6-1
- 0.8.6 release - systemd support
More information about the scm-commits
mailing list