[bitbake] Update to 1.17.0
Christopher Meng
cicku at fedoraproject.org
Thu Jul 3 12:38:45 UTC 2014
commit 2b804e0c022ee959f98493705c931032fd93be26
Author: Christopher Meng <i at cicku.me>
Date: Thu Jul 3 20:38:43 2014 +0800
Update to 1.17.0
.gitignore | 2 ++
bitbake.spec | 57 ++++++++++++++++++++++++++-------------------------------
sources | 2 +-
3 files changed, 29 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b427ddb..908c7c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
bitbake-1.8.18.tar.gz
+/bitbake-1.17.0.tar.gz
+/bitbake-1.17.0.tar.bz2
diff --git a/bitbake.spec b/bitbake.spec
index a36fc05..64cebff 100644
--- a/bitbake.spec
+++ b/bitbake.spec
@@ -1,39 +1,38 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-Summary: Build tool executing tasks and managing metadata
-Name: bitbake
-Version: 1.8.18
-Release: 8%{?dist}
-License: GPLv2
-Group: Development/Tools
-Source0: http://download.berlios.de/bitbake/bitbake-%{version}.tar.gz
-URL: http://developer.berlios.de/projects/bitbake/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel, xmlto-tex, lynx
-BuildArch: noarch
+Name: bitbake
+Version: 1.17.0
+Release: 1%{?dist}
+Summary: Build tool executing tasks and managing metadata
+License: GPLv2
+URL: http://en.wikipedia.org/wiki/BitBake
+Source0: https://github.com/openembedded/bitbake/archive/%{version}.tar.gz#/bitbake-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: lynx
+BuildRequires: python2-devel
+BuildRequires: xmlto-tex
%description
-BitBake is a simple tool for the execution of tasks. It is derived from
-Portage, which is the package management system used by the Gentoo Linux
-distribution. It is most commonly used to build packages, and is used as the
-basis of the OpenEmbedded project.
+BitBake is a make-like build tool with the special focus of distributions and
+packages for embedded Linux cross compilation although it is not limited to
+that. It is derived from Portage, which is the package management system used
+by the Gentoo Linux distribution. BitBake existed for some time in the
+OpenEmbedded project until it was separated out into a standalone, maintained,
+distribution-independent tool. BitBake is co-maintained by the Yocto Project
+and the OpenEmbedded project.
%prep
%setup -q
+iconv -f iso-8859-1 -t utf-8 doc/manual/xhtml/docbook.css > docbook.css.tmp
+touch -r doc/manual/xhtml/docbook.css docbook.css.tmp
+mv docbook.css.tmp doc/manual/xhtml/docbook.css
%build
-CFLAGS="$RPM_OPT_FLAGS" python setup.py build
+%{__python2} setup.py build
# Generating docs
make -C doc/manual all
-iconv -f iso-8859-1 -t utf-8 doc/manual/xhtml/docbook.css > docbook.css.tmp
-touch -r doc/manual/xhtml/docbook.css docbook.css.tmp
-mv docbook.css.tmp doc/manual/xhtml/docbook.css
-
%install
-rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
# We strip bad shebangs (/usr/bin/env) instead of fixing them
# since these files are not executable anyways
@@ -48,17 +47,13 @@ done
# Removing extra docs
rm -rf %{buildroot}%{_docdir}
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root)
-%doc doc/COPYING.GPL doc/manual/xhtml/ doc/manual/txt/usermanual.txt doc/manual/pdf/usermanual.pdf
+%doc doc/COPYING.GPL doc/manual/xhtml/ doc/manual/txt/usermanual.txt
+%doc doc/manual/pdf/usermanual.pdf
%{_bindir}/bbimage
%{_bindir}/bitbake
%{_datadir}/bitbake/
-%{python_sitelib}/*
+%{python2_sitelib}/*
%changelog
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.18-8
diff --git a/sources b/sources
index 6d9f388..ce94b92 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f772ca3121103ab3500c7f1609a96271 bitbake-1.8.18.tar.gz
+8ced07f38cf1f7e30fa4069f905d0f49 bitbake-1.17.0.tar.bz2
More information about the scm-commits
mailing list