summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitezslav Crhonek <vcrhonek@redhat.com>2012-08-28 13:57:26 +0200
committerVitezslav Crhonek <vcrhonek@redhat.com>2012-08-28 13:57:26 +0200
commit613efb8027b6e056eb4f60f4bc65e4142e49ff97 (patch)
tree9d46513b85918f686392ac283ca5186e942a7d98
parent5e902b3a6b4e867591bd288d5f5b3d0f906f33d7 (diff)
downloadm4-613efb8027b6e056eb4f60f4bc65e4142e49ff97.tar.gz
m4-613efb8027b6e056eb4f60f4bc65e4142e49ff97.tar.xz
m4-613efb8027b6e056eb4f60f4bc65e4142e49ff97.zip
Fix issues found by fedora-review utility in the spec file
-rw-r--r--m4.spec11
1 files changed, 4 insertions, 7 deletions
diff --git a/m4.spec b/m4.spec
index 5d8f847..a403008 100644
--- a/m4.spec
+++ b/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