Compare commits

..

No commits in common. "c2c298edca6070c15e3a3c9474554c9edaeddd99" and "08d2b7e2dc396cb9b6d31cd5575ae138be946f82" have entirely different histories.

4 changed files with 20 additions and 32 deletions

BIN
entr-4.5.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,7 @@
Name: entr Name: entr
Version: 5.5 Version: 4.5
Release: 1 Release: 1
Summary: Run arbitrary commands when files change Summary: Run arbitrary commands when files change
License: ISC License: ISC
URL: http://eradman.com/%{name}project/ URL: http://eradman.com/%{name}project/
Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz
@ -11,45 +10,38 @@ BuildRequires: gcc
BuildRequires: make BuildRequires: make
%description %description
A file watcher, which can run specified commands entr is a file watcher runs specified commands when target files change
when target files change.
%global debug_package %{nil}
%prep %prep
%autosetup -n %{name}-%{version} -p1 %setup -q
ln -s Makefile{.linux,}
%build %build
export CFLAGS="${RPM_OPT_FLAGS}" ./configure
export LDFLAGS="%{?__global_ldflags}" make
%make_build
%install %install
export PREFIX=%{_prefix}
%make_install %make_install
mkdir -p %{buildroot}/%{_docdir}/%{name}
cp LICENSE %{buildroot}/%{_docdir}/%{name}/
cp README.md %{buildroot}/%{_docdir}/%{name}/
cp NEWS %{buildroot}/%{_docdir}/%{name}
%check %check
make test make test
%files %files
%license LICENSE /usr/local/bin/entr
%doc NEWS README.md /usr/local/share/man/man1/entr.1
%{_bindir}/entr %dir %{_docdir}/%{name}
%{_mandir}/man1/entr.1* %{_docdir}/%{name}/LICENSE
%{_docdir}/%{name}/NEWS
%{_docdir}/%{name}/README.md
%changelog %changelog
* Thu Feb 29 2024 tenglei <tenglei@kylinos.cn> - 5.5-1 * Fri May 21 2021 yaozc7 <yaozc7@foxmail.com>
- Upgrade to 5.5 - add source package and spec file
* Sun Oct 08 2023 yaoxin <yao_xin001@hoperun.com> - 5.4-1
- Upgrade to 5.4
* Sat Jul 29 2023 xu_ping <707078654@qq.com> -5.0-3
- fix build error due to glibc upgrade
* Wed Aug 24 2022 caodongxia <caodongxia@h-partners.com> -5.0-2
- Add debug package to add strip
* Sun Aug 29 2021 Leo <clouds@isrc.iscas.ac.cn> - 5.0-1
- first publish of version 5.0

View File

@ -1,4 +0,0 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA