Don't copy configure~ into psutils-tests package

Related: RHEL-45222
This commit is contained in:
Ondřej Pohořelský 2024-07-03 10:55:45 +02:00
parent 8be1cf7867
commit 904ec0244c

View File

@ -3,7 +3,7 @@
Name: psutils Name: psutils
Version: 2.10 Version: 2.10
Release: 6%{?dist} Release: 7%{?dist}
Summary: PostScript utilities Summary: PostScript utilities
# COPYING: GPLv3 text # COPYING: GPLv3 text
# epsffit.1: GPLv3+ # epsffit.1: GPLv3+
@ -126,7 +126,7 @@ autoreconf -fi
%{make_install} %{make_install}
# Install tests # Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name} mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a aclocal.m4 build-aux config.status configure* m4 Makefile* tests %{buildroot}%{_libexecdir}/%{name} cp -a aclocal.m4 build-aux config.status configure configure.ac m4 Makefile* tests %{buildroot}%{_libexecdir}/%{name}
printf '#!/bin/sh\nexec "$@"\n' > %{buildroot}%{_libexecdir}/%{name}/pre-inst-env printf '#!/bin/sh\nexec "$@"\n' > %{buildroot}%{_libexecdir}/%{name}/pre-inst-env
chmod +x %{buildroot}%{_libexecdir}/%{name}/pre-inst-env chmod +x %{buildroot}%{_libexecdir}/%{name}/pre-inst-env
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
@ -177,6 +177,10 @@ make check %{?_smp_mflags}
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Wed Jul 03 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.10-7
- Don't copy configure~ into psutils-tests package
- Related: RHEL-45222
* Wed Jul 03 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.10-6 * Wed Jul 03 2024 Ondřej Pohořelský <opohorel@redhat.com> - 2.10-6
- Use bundled gnulib on RHEL - Use bundled gnulib on RHEL
- Resolves: RHEL-45222 - Resolves: RHEL-45222