Ребята подскажите.
есть cjhws python-2.5.1 Нужно собрать rpm.
spec вот такой:
%define _prefix /usr
%define libdirname /usr/lib
Summary: An interpreted, interactive, object-oriented programming language.
Name: Python
Version: 2.5.1
Release: 4
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Development/Languages
BuildRoot: %{_builddir}/%{name}-root
AutoReqProv: no
Provides: python-2.5.1
Packager: Andrew Sidko <asidko@gmail.com>%description
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme, or Java. Python includes
modules, classes, exceptions, very high-level dynamic data types, and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac, and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
%prep
%setup -q
%build
./configure --enable-shared --prefix=%{_prefix} --libdir=%{libdirname} --mandir=/usr/share/man
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%postun
%files
/usr/bin/python2.5
/usr/include/python2.5/*
/usr/lib/*
/usr/lib/python2.5/*
/usr/share/man/man1/*
%defattr(-,root,root)
%exclude /usr/src
%exclude /usr/lib/debug
%doc %attr(0444,root,root) /usr/share/man/man1/python.1.gz
Запускаю сборку вот так:
rpmbuild -ba Python-2.5.1.spec
И в этоге получаю вот это:
Installed (but unpackaged) file(s) found:
/usr/bin/idle
/usr/bin/pydoc
/usr/bin/python
/usr/bin/python2.5-config
/usr/bin/smtpd.py
Пакет, комп илится, устанавливается, НО RPM не создаётся. Installed (but unpackaged) file(s) found:
Подскажите, где ошибка?