Test blog.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/blog?expand=0&rev=44
This commit is contained in:
parent
345a922659
commit
451e24d974
23
blog.patch
Normal file
23
blog.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff --git Makefile Makefile
|
||||||
|
index 1e542f5..3b3a05e 100644
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -15,7 +15,7 @@ BOOT_FIFO = /dev/blog
|
||||||
|
DEBUG =
|
||||||
|
DESTDIR =
|
||||||
|
MAJOR := 2
|
||||||
|
-MINOR := 22
|
||||||
|
+MINOR := 23
|
||||||
|
VERSION := $(MAJOR).$(MINOR)
|
||||||
|
DATE = $(shell date +'%d%b%y' | tr '[:lower:]' '[:upper:]')
|
||||||
|
COPTS =
|
||||||
|
@@ -146,6 +146,9 @@ install: $(TODO)
|
||||||
|
for target in default sysinit basic local-fs-pre rescue shutdown emergency initrd-switch-root; do \
|
||||||
|
$(MKDIR) $(DESTDIR)$(SYSDUNITS)/$${target}.target.wants ; \
|
||||||
|
done
|
||||||
|
+ for service in systemd-ask-password-blog ; do \
|
||||||
|
+ $(MKDIR) $(DESTDIR)$(SYSDUNITS)/$${target}.service.wants ; \
|
||||||
|
+ done
|
||||||
|
for unit in blog-quit.service ; do \
|
||||||
|
$(LINK) ../$${unit} $(DESTDIR)$(SYSDUNITS)/default.target.wants/$${unit} ; \
|
||||||
|
$(LINK) ../$${unit} $(DESTDIR)$(SYSDUNITS)/rescue.target.wants/$${unit} ; \
|
@ -26,6 +26,7 @@ Group: System/Base
|
|||||||
URL: https://github.com/bitstreamout/showconsole
|
URL: https://github.com/bitstreamout/showconsole
|
||||||
Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz
|
Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz
|
||||||
Source1: blog-rpmlintrc
|
Source1: blog-rpmlintrc
|
||||||
|
Patch0: blog.patch
|
||||||
BuildRequires: suse-module-tools
|
BuildRequires: suse-module-tools
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -78,6 +79,7 @@ the LSB startproc command.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n showconsole-%version
|
%setup -q -n showconsole-%version
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CC="%__cc" \
|
make %{?_smp_mflags} CC="%__cc" \
|
||||||
|
Loading…
Reference in New Issue
Block a user