Fix issues found by fedora-review utility in the spec file
This commit is contained in:
parent
5e902b3a6b
commit
613efb8027
11
m4.spec
11
m4.spec
@ -1,7 +1,7 @@
|
||||
Summary: The GNU macro processor
|
||||
Name: m4
|
||||
Version: 1.4.16
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Text
|
||||
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||
@ -13,7 +13,6 @@ Patch0: m4-1.4.16-readlink-einval.patch
|
||||
# Patch1: Temporary fix to avoid build fails, this patch
|
||||
# should be removed after updateing m4 to newer gnulib
|
||||
Patch1: m4-1.4.16-gnulib-gets.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
# Gnulib bundled - the library has been granted an exception, see https://fedorahosted.org/fpc/ticket/174
|
||||
@ -41,7 +40,6 @@ chmod 644 COPYING
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
|
||||
@ -49,7 +47,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||
%{_bindir}/m4
|
||||
%{_infodir}/*
|
||||
@ -67,10 +64,10 @@ if [ "$1" = 0 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Tue Aug 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-6
|
||||
- Fix issues found by fedora-review utility in the spec file
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user