Name: entr Version: 5.0 Release: 3 Summary: Run arbitrary commands when files change License: ISC URL: http://eradman.com/%{name}project/ Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz Patch0: Update-copy-of-strlcpy.patch BuildRequires: gcc BuildRequires: make %description A file watcher, which can run specified commands when target files change. %prep %autosetup -n %{name}-%{version} -p1 %build export CFLAGS="${RPM_OPT_FLAGS}" ./configure make %install %make_install PREFIX=/usr mkdir -p %{buildroot}/%{_docdir}/%{name} cp LICENSE %{buildroot}/%{_docdir}/%{name}/ cp README.md %{buildroot}/%{_docdir}/%{name}/ cp NEWS %{buildroot}/%{_docdir}/%{name} %check make test %files %{_bindir}/entr %{_mandir}/man1/entr.1.gz %dir %{_docdir}/%{name} %{_docdir}/%{name}/LICENSE %{_docdir}/%{name}/NEWS %{_docdir}/%{name}/README.md %changelog * Sat Jul 29 2023 xu_ping <707078654@qq.com> -5.0-3 - fix build error due to glibc upgrade * Wed Aug 24 2022 caodongxia -5.0-2 - Add debug package to add strip * Sun Aug 29 2021 Leo - 5.0-1 - first publish of version 5.0