summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-05 08:34:38 (GMT)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-02 10:46:37 (GMT)
commit2b89b509eb6ed83fd15f901eae1c311b2a4bff52 (patch)
tree9a7929a7d0f41bca6d138fff43e5efeb9607b658
parentf920df4c472227a8c7d137625a08ecdd19d8af26 (diff)
downloadmake-accepted/tizen/wearable/20150129.005800.zip
make-accepted/tizen/wearable/20150129.005800.tar.gz
make-accepted/tizen/wearable/20150129.005800.tar.bz2
Also clean spec file. skip: a0fb350... slow down parallelism d2eb63b... disbale broken tests d14a27f... savannah bug30723: expand makeflags beforereexec 31cbc49... savannah bug30612: handling of archives 2cf9bde... fix whitespace tokenization c6884ac... make glob faster 28ebed0... parallel build d1e2846... Fix missing definition of PAGE_SIZE Change-Id: I14942b05d84c008e42dc1c14f82f81ed5faef472 Bug-Tizen: TC-1851 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org> Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/make.spec33
1 files changed, 15 insertions, 18 deletions
diff --git a/packaging/make.spec b/packaging/make.spec
index d4fa02e..84a4fc3 100644
--- a/packaging/make.spec
+++ b/packaging/make.spec
@@ -1,13 +1,14 @@
Name: make
Url: http://www.gnu.org/software/make/make.html
Provides: gmake
-Version: 3.82
+Version: 4.0
Release: 0
Summary: GNU make
License: GPL-2.0+
-Group: Development/Tools/Building
-Source: make-%version.tar.bz2
-Source1001: make.manifest
+Group: Platform Development/Build
+Source: make-%{version}.tar.bz2
+Source1001: make.manifest
+BuildRequires: makeinfo
%description
The GNU make command with extensive documentation.
@@ -19,32 +20,28 @@ cp %{SOURCE1001} .
%build
export AUTOPOINT=true
%reconfigure --disable-nls
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
%check
-make check
+%__make check
%install
-make DESTDIR=$RPM_BUILD_ROOT install
-ln -s make $RPM_BUILD_ROOT/usr/bin/gmake
+%make_install
+ln -sf make %{buildroot}%{_bindir}/gmake
%files
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING
-/usr/bin/make
-/usr/bin/gmake
-%doc /usr/share/info/make.info-*.gz
-%doc /usr/share/info/make.info.gz
-%doc /usr/share/man/man1/make.1.gz
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{_bindir}/make
+%{_bindir}/gmake
+%{_includedir}/gnumake.h
+%doc %{_infodir}/make.info-*.gz
+%doc %{_infodir}/make.info.gz
+%doc %{_mandir}/man1/make.1.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-
-%changelog