Use make macros
This commit is contained in:
parent
a9e8335e1b
commit
82cd349094
9
sed.spec
9
sed.spec
|
@ -3,7 +3,7 @@
|
||||||
Summary: A GNU stream text editor
|
Summary: A GNU stream text editor
|
||||||
Name: sed
|
Name: sed
|
||||||
Version: 4.8
|
Version: 4.8
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://sed.sourceforge.net/
|
URL: http://sed.sourceforge.net/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
|
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
|
||||||
|
@ -42,7 +42,7 @@ sed -e 's/1729576/EPERM/' \
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-included-regex
|
%configure --without-included-regex
|
||||||
make %{_smp_mflags}
|
%make_build
|
||||||
install -m 644 -p %{SOURCE1} sedfaq.txt
|
install -m 644 -p %{SOURCE1} sedfaq.txt
|
||||||
gzip -9 sedfaq.txt
|
gzip -9 sedfaq.txt
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ echo ====================TESTING END=====================
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
@ -67,6 +67,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
||||||
%{_mandir}/man1/sed.1*
|
%{_mandir}/man1/sed.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 03 2020 Jakub Martisko <jamartis@redhat.com> - 4.8-5
|
||||||
|
- Use make macros
|
||||||
|
|
||||||
* Mon Aug 03 2020 Jakub Martisko <jamartis@redhat.com> - 4.8-4
|
* Mon Aug 03 2020 Jakub Martisko <jamartis@redhat.com> - 4.8-4
|
||||||
- Replace some hardcoded constants in the gnulib-testsuite
|
- Replace some hardcoded constants in the gnulib-testsuite
|
||||||
... that caused build failures on arm7
|
... that caused build failures on arm7
|
||||||
|
|
Loading…
Reference in New Issue