|
@@ -3,8 +3,11 @@
|
|
|
Summary: A System for Allowing the Control of Process State on UNIX
|
|
|
Name: supervisor
|
|
|
Group: system
|
|
|
-Version: 4.2.0
|
|
|
+Version: 4.2.4
|
|
|
Release: 1%{?_dist_release}
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
License: ZPLv2.1 and BSD and MIT
|
|
|
URL: http://supervisord.org/
|
|
@@ -14,9 +17,6 @@ Source2: supervisord.conf
|
|
|
Source3: supervisor.logrotate
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-
|
|
|
BuildArch: noarch
|
|
|
BuildRequires: python3-devel
|
|
|
BuildRequires: python3-rpm-macros
|
|
@@ -24,20 +24,22 @@ BuildRequires: python3-setuptools
|
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
|
|
-
|
|
|
%description
|
|
|
The supervisor is a client/server system that allows its users to control a
|
|
|
number of processes on UNIX-like operating systems.
|
|
|
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}%{?prever}
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
-%py3_build
|
|
|
+%pip3_build_wheel
|
|
|
+
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
-%py3_install
|
|
|
+%pip3_install_wheel
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/supervisord.d
|
|
@@ -53,18 +55,21 @@ sed -i s'/^#!.*//' $( find %{buildroot}/%{python3_sitelib}/supervisor/ -type f)
|
|
|
rm -rf %{buildroot}/%{python_sitelib}/supervisor/meld3/
|
|
|
rm -f %{buildroot}%{_prefix}/doc/*.txt
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%post
|
|
|
/sbin/chkconfig --add %{name}d || :
|
|
|
|
|
|
+
|
|
|
%preun
|
|
|
if [ $1 = 0 ]; then
|
|
|
/sbin/service supervisord stop > /dev/null 2>&1 || :
|
|
|
/sbin/chkconfig --del %{name}d || :
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%license COPYRIGHT.txt LICENSES.txt
|
|
@@ -80,7 +85,11 @@ fi
|
|
|
%dir %{_sysconfdir}/supervisord.d
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/supervisor
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Sat Nov 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.4-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
|
|
|
- new upstream release.
|
|
|
- dropped R:python3-meld: no longer needed.
|