Add instructions for OpenSUSE/SLES
Signed-off-by: lb1107039128 <liubo1@xfusion.com>
This commit is contained in:
parent
45e3e1bd5c
commit
98467bf138
35
0001-Add-instructions-for-OpenSUSE-SLES.patch
Normal file
35
0001-Add-instructions-for-OpenSUSE-SLES.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From c52e13bd3c47fac67febcf86e6e5f0aedd960885 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gabriele <gsantomaggio@suse.com>
|
||||||
|
Date: Tue, 19 Feb 2019 09:51:27 +0100
|
||||||
|
Subject: [PATCH] Add instructions for OpenSUSE/SLES
|
||||||
|
|
||||||
|
---
|
||||||
|
README.md | 12 ++++++++++++
|
||||||
|
1 file changed, 12 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/README.md b/README.md
|
||||||
|
index 74d6a15..756480b 100644
|
||||||
|
--- a/README.md
|
||||||
|
+++ b/README.md
|
||||||
|
@@ -19,6 +19,18 @@ On Debian/Ubuntu
|
||||||
|
```bash
|
||||||
|
dpkg -i erlang-sd-notify_{version}-1_amd64.deb
|
||||||
|
```
|
||||||
|
+
|
||||||
|
+On openSUSE/SLES distributions
|
||||||
|
+
|
||||||
|
+you can install the package using the openSUSE [repositories](https://build.opensuse.org/repositories/network:messaging:amqp/erlang-sd_notify)
|
||||||
|
+
|
||||||
|
+for example for Leap15:
|
||||||
|
+```bash
|
||||||
|
+sudo zypper addrepo -f https://download.opensuse.org/repositories/network:/messaging:/amqp/openSUSE_Leap_15/network:messaging:amqp.repo
|
||||||
|
+sudo zypper --gpg-auto-import-keys refresh
|
||||||
|
+sudo zypper install erlang-sd_notify
|
||||||
|
+```
|
||||||
|
+
|
||||||
|
|
||||||
|
Build from source using Docker
|
||||||
|
===
|
||||||
|
--
|
||||||
|
2.42.0.windows.2
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
%global upstream systemd
|
%global upstream systemd
|
||||||
Name: erlang-sd_notify
|
Name: erlang-sd_notify
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Erlang interface to systemd notify subsystem
|
Summary: Erlang interface to systemd notify subsystem
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/systemd/erlang-sd_notify
|
URL: https://github.com/systemd/erlang-sd_notify
|
||||||
@ -10,11 +10,14 @@ Source0: https://github.com/systemd/erlang-sd_notify/archive/v%{version}/erlang-
|
|||||||
BuildRequires: erlang-rebar
|
BuildRequires: erlang-rebar
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
|
||||||
|
Patch0001: 0001-Add-instructions-for-OpenSUSE-SLES.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{erlang_compile}
|
%{erlang_compile}
|
||||||
@ -30,5 +33,8 @@ BuildRequires: systemd-devel
|
|||||||
%{erlang_appdir}/
|
%{erlang_appdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 10 2024 liubo <liubo1@xfusion.com> - 1.0-2
|
||||||
|
- Add instructions for OpenSUSE/SLES
|
||||||
|
|
||||||
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 1.0-1
|
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 1.0-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user