Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 09:00:27 +00:00
parent fbbf786198
commit 7bb0e3a666
3 changed files with 13 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/tang-11.tar.xz
SOURCES/tang-14.tar.xz

View File

@ -1 +1 @@
07fd3e9ad2eb5f53cd62477dd1698d067f6663ae SOURCES/tang-11.tar.xz
81a09f024fcb0e8b53bb867b2679ebab14555791 SOURCES/tang-14.tar.xz

View File

@ -1,5 +1,5 @@
Name: tang
Version: 11
Version: 14
Release: 2%{?dist}
Summary: Network Presence Binding Daemon
@ -29,6 +29,7 @@ BuildRequires: coreutils
BuildRequires: grep
BuildRequires: socat
BuildRequires: sed
BuildRequires: iproute
%{?systemd_requires}
Requires: coreutils
@ -51,7 +52,7 @@ Tang is a small daemon for binding data to the presence of a third party.
%install
%meson_install
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/tang.conf
echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
grep "User=%{name}" $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service || echo "User=%{name}" >> $RPM_BUILD_ROOT/%{_unitdir}/%{name}d@.service
%{__mkdir_p} $RPM_BUILD_ROOT/%{_localstatedir}/db/%{name}
%check
@ -99,6 +100,14 @@ fi
%{_sysusersdir}/tang.conf
%changelog
* Thu Jun 29 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-2
- Fix service start up
* Tue Jun 27 2023 Sergio Arroutbi <sarroutb@redhat.com> - 14-1
- New upstream release - v14.
Resolves: rhbz#2182411
Resolves: CVE-2023-1672
* Wed Aug 17 2022 Sergio Arroutbi <sarroutb@redhat.com> - 11-2
- Adopt systemd-sysusers format
Resolves: rhbz#2095474