Hi,
this is my first time using rpmbuild, I was able to generate 2 rpms,
Python-2.7-2.x86_64.rpm Python-debuginfo-2.7-2.x86_64.rpm
But Python-2.7-2.x86_64.rpm correctly list the files in /usr/local
but Python-debuginfo-2.7-2x86_64 rpm listed files to be install in /usr/lib/debug/usr/local/{bin,lib,Include}, I am not sure what went wrong
missing /usr/lib/debug/usr/local/bin/python.debug
missing /usr/lib/debug/usr/local/bin/python2.7.debug
missing /usr/lib/debug/usr/local/lib
missing /usr/lib/debug/usr/local/lib/python2.7
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_bisect.so.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_bsddb.so.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_cn.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_hk.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_iso2022.s
o.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_jp.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_kr.so.deb
ug
.....
missing /usr/lib/debug/usr/local/bin/python2.7.debug
missing /usr/lib/debug/usr/local/lib
missing /usr/lib/debug/usr/local/lib/python2.7
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_bisect.so.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_bsddb.so.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_cn.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_hk.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_iso2022.s
o.debug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_jp.so.deb
ug
missing /usr/lib/debug/usr/local/lib/python2.7/lib-dynload/_codecs_kr.so.deb
ug
.....
the following is my spec file
%define _topdir /home/sysadm/Python2.7
%define name Python
%define release 2
%define version 2.7
%define buildroot %{_topdir}/%{name}%{version}-root
%define name Python
%define release 2
%define version 2.7
%define buildroot %{_topdir}/%{name}%{version}-root
BuildRoot: %{buildroot}
Summary: GNU python
License: GPL
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Prefix: /usr
Group: Development/Tools
Summary: GNU python
License: GPL
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Prefix: /usr
Group: Development/Tools
%description
The GNU python
The GNU python
%prep
%setup -q
%setup -q
%build
./configure
make
./configure
make
%install
make install prefix=$RPM_BUILD_ROOT/usr/local
make install prefix=$RPM_BUILD_ROOT/usr/local
%files
%defattr (-,root,root)
/usr/local/bin/python
/usr/local/bin/python2.7
/usr/local/bin/python2.7-config
/usr/local/bin/python-config
/usr/local/bin/smtpd.py
/usr/local/bin/pydoc
/usr/local/bin/idle
/usr/local/bin/2to3
/usr/local/include/python2.7/
/usr/local/lib/python2.7/
/usr/local/lib/pkgconfig/
/usr/local/lib/libpython2.7.a
/usr/local/share/man/man1/python2.7.1
%doc %attr(0444,root,root) /usr/local/share/man/man1/python2.7.1
%defattr (-,root,root)
/usr/local/bin/python
/usr/local/bin/python2.7
/usr/local/bin/python2.7-config
/usr/local/bin/python-config
/usr/local/bin/smtpd.py
/usr/local/bin/pydoc
/usr/local/bin/idle
/usr/local/bin/2to3
/usr/local/include/python2.7/
/usr/local/lib/python2.7/
/usr/local/lib/pkgconfig/
/usr/local/lib/libpython2.7.a
/usr/local/share/man/man1/python2.7.1
%doc %attr(0444,root,root) /usr/local/share/man/man1/python2.7.1
Thanks
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list