Provides: /bin/sort
Provides: /bin/touch
-
%description
These are the GNU core utilities. This package is the combination of
the old GNU fileutils, sh-utils, and textutils packages.
+%package -n coreutils-su
+Summary: su - run a command with substitute user and group ID
+Group: System Environment/Base
+Requires: %{name}
+
+%description -n coreutils-su
+su - run a command with substitute user and group ID
+
%prep
-%setup -q -b 1 -n coreutils-%{version}
+%setup -q -b 1 -n %{name}-%{version}
%build
cp %{SOURCE1001} .
ln "$(dirname "$link")/$target" "$link"
done)
+# su
+install -m 4755 src/su $RPM_BUILD_ROOT/usr/bin
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_bindir}/who
%{_bindir}/whoami
%{_bindir}/yes
+
+%files -n coreutils-su
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%attr(4755,root,root) /usr/bin/su
+