Accepting request 229609 from home:namtrac:bugfix

- Add plymouth-manpages.patch to fix manpage installation (bnc#871419)

OBS-URL: https://build.opensuse.org/request/show/229609
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=137
This commit is contained in:
Stefan Seyfried 2014-04-12 21:25:13 +00:00 committed by Git OBS Bridge
parent 6f41541cc7
commit 42647bb201
3 changed files with 31 additions and 0 deletions

22
plymouth-manpages.patch Normal file
View File

@ -0,0 +1,22 @@
Index: plymouth-0.8.8_git20140207/docs/Makefile.am
===================================================================
--- plymouth-0.8.8_git20140207.orig/docs/Makefile.am
+++ plymouth-0.8.8_git20140207/docs/Makefile.am
@@ -16,12 +16,14 @@ plymouth.1: plymouth1.xml
%.1: %.xml
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-man_MANS = \
+man1_MANS = \
plymouth.1 \
- plymouth.8 \
- plymouthd.8 \
plymouth-set-default-theme.1
+man8_MANS = \
+ plymouth.8 \
+ plymouthd.8
+
EXTRA_DIST = \
plymouth.xml \
plymouth1.xml \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 10 10:55:03 UTC 2014 - idonmez@suse.com
- Add plymouth-manpages.patch to fix manpage installation (bnc#871419)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 20 12:47:03 UTC 2014 - fcrozat@suse.com Thu Feb 20 12:47:03 UTC 2014 - fcrozat@suse.com

View File

@ -43,6 +43,8 @@ Patch9: plymouth-dracut-path.patch
Patch10: 0001-Some-greenish-openSUSE-colors.patch Patch10: 0001-Some-greenish-openSUSE-colors.patch
# PATCH-OPENSUSE -- plymouth-correct-runtime-dir.patch tittiatcoke@gmail.com -- make sure the runtime directory is /run and not /var/run # PATCH-OPENSUSE -- plymouth-correct-runtime-dir.patch tittiatcoke@gmail.com -- make sure the runtime directory is /run and not /var/run
Patch16: plymouth-correct-runtime-dir.patch Patch16: plymouth-correct-runtime-dir.patch
# PATCH-FIX-UPSTREAM plymouth-manpages.patch idoenmez@suse.de -- Fix man page installation
Patch17: plymouth-manpages.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: kernel-headers BuildRequires: kernel-headers
@ -335,6 +337,8 @@ plugin.
%patch9 -p0 %patch9 -p0
%patch10 -p1 %patch10 -p1
%patch16 -p1 %patch16 -p1
%patch17 -p1
# replace builddate with patch0date # replace builddate with patch0date
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c