erlang-sd_notify/erlang-sd_notify.spec
lb1107039128 98467bf138 Add instructions for OpenSUSE/SLES
Signed-off-by: lb1107039128 <liubo1@xfusion.com>
2024-01-10 11:31:25 +08:00

41 lines
805 B
RPMSpec

%global realname sd_notify
%global upstream systemd
Name: erlang-sd_notify
Version: 1.0
Release: 2
Summary: Erlang interface to systemd notify subsystem
License: MIT
URL: https://github.com/systemd/erlang-sd_notify
Source0: https://github.com/systemd/erlang-sd_notify/archive/v%{version}/erlang-sd_notify-%{version}.tar.gz
BuildRequires: erlang-rebar
BuildRequires: gcc
BuildRequires: systemd-devel
Patch0001: 0001-Add-instructions-for-OpenSUSE-SLES.patch
%description
%{summary}.
%prep
%autosetup -p1
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test}
%files
%license LICENSE
%{erlang_appdir}/
%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
- package init