diff --git a/0001-Add-instructions-for-OpenSUSE-SLES.patch b/0001-Add-instructions-for-OpenSUSE-SLES.patch new file mode 100644 index 0000000..0a95f49 --- /dev/null +++ b/0001-Add-instructions-for-OpenSUSE-SLES.patch @@ -0,0 +1,35 @@ +From c52e13bd3c47fac67febcf86e6e5f0aedd960885 Mon Sep 17 00:00:00 2001 +From: Gabriele +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 + diff --git a/erlang-sd_notify.spec b/erlang-sd_notify.spec index 1b2392c..f5ac2a0 100644 --- a/erlang-sd_notify.spec +++ b/erlang-sd_notify.spec @@ -2,7 +2,7 @@ %global upstream systemd Name: erlang-sd_notify Version: 1.0 -Release: 1 +Release: 2 Summary: Erlang interface to systemd notify subsystem License: MIT 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: gcc BuildRequires: systemd-devel + +Patch0001: 0001-Add-instructions-for-OpenSUSE-SLES.patch + %description %{summary}. %prep -%autosetup +%autosetup -p1 %build %{erlang_compile} @@ -30,5 +33,8 @@ BuildRequires: systemd-devel %{erlang_appdir}/ %changelog +* Wed Jan 10 2024 liubo - 1.0-2 +- Add instructions for OpenSUSE/SLES + * Sat Aug 29 2020 yaokai - 1.0-1 - package init