File exenv.spec of Package exenv
Name: exenv
Version: 20251101.46c5da5
Summary: Execute process in environment of another running process
Source: %{name}-%{version}.tar.xz
Release: 0
License: GPL-3.0+
URL: https://github.com/sleep-walker/exenv
BuildArch: noarch
Requires: python3
%description
A small utility simplifying execution of a process in environment of another running process.
%prep
%autosetup
%build
sed -i '1s@.*@#!/usr/bin/python3@' exenv.py
%install
make install PREFIX=%{buildroot}/%{_prefix}
%files
%{_mandir}/man1/%{name}.1%{ext_man}
%{_bindir}/%{name}
%changelog