|
@@ -2,7 +2,7 @@ Summary: The GNU versions of find utilities (find and xargs).
|
|
|
Summary(ja): find ユーティリティの GNU バージョン (find および xargs).
|
|
|
Name: findutils
|
|
|
Version: 4.10.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: system,accessories
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -31,6 +31,7 @@ Patch6: findutils-4.9.0-ignore_readdir_race-symlink_loop.patch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libtool, automake, autoconf
|
|
|
BuildRequires: dejagnu, gettext, texinfo, git
|
|
|
+Provides: /bin/find
|
|
|
|
|
|
%description
|
|
|
The findutils package contains programs which will help you locate
|
|
@@ -88,43 +89,33 @@ cd build
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
-%check
|
|
|
-make %{?_smp_mflags} check -C build
|
|
|
-
|
|
|
-
|
|
|
%install
|
|
|
%make_install -C build
|
|
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
-# move find to /bin
|
|
|
-mkdir -p %{buildroot}/bin
|
|
|
-mv %{buildroot}%{_bindir}/find %{buildroot}/bin/
|
|
|
-ln -sf ../../bin/find %{buildroot}%{_bindir}
|
|
|
-
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
+%check
|
|
|
+make %{?_smp_mflags} check -C build
|
|
|
+
|
|
|
+
|
|
|
%post
|
|
|
-if [ -f %{_infodir}/find.info.gz ]; then
|
|
|
- /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
+if [ ! -L /bin -a ! -e /bin/find ]; then
|
|
|
+ ln -sf ../usr/bin/find /bin/
|
|
|
fi
|
|
|
|
|
|
-%preun
|
|
|
-if [ $1 = 0 -a -f %{_infodir}/find.info.gz ]; then
|
|
|
- /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
+%triggerpostun -- findutils < 5.3.0-2
|
|
|
+if [ ! -L /bin -a ! -e /bin/find ]; then
|
|
|
+ ln -sf ../usr/bin/find /bin/
|
|
|
fi
|
|
|
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
-
|
|
|
-
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
%license COPYING
|
|
|
%doc AUTHORS NEWS README THANKS TODO
|
|
|
-/bin/find
|
|
|
%{_bindir}/find
|
|
|
%{_bindir}/xargs
|
|
|
%{_mandir}/man1/find.1*
|
|
@@ -134,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jul 07 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.0-2
|
|
|
+- prepared for usrmerge.
|
|
|
+
|
|
|
* Mon Jun 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.0-1
|
|
|
- new upstream release.
|
|
|
|