auto-import rpm-4.0.4-0.7 from rpm-4.0.4-0.7.src.rpm
This commit is contained in:
parent
f1d60535c0
commit
7474a32ffa
15
rpm.spec
15
rpm.spec
@ -1,4 +1,5 @@
|
|||||||
%define with_python_subpackage 1 %{nil}
|
%define with_python_subpackage 1
|
||||||
|
%define with_python_version 2.2
|
||||||
%define with_perl_subpackage 0
|
%define with_perl_subpackage 0
|
||||||
%define with_bzip2 1 %{nil}
|
%define with_bzip2 1 %{nil}
|
||||||
%define with_apidocs 1 %{nil}
|
%define with_apidocs 1 %{nil}
|
||||||
@ -19,7 +20,7 @@ Name: rpm
|
|||||||
%define version 4.0.4
|
%define version 4.0.4
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
%{expand: %%define rpm_version %{version}}
|
%{expand: %%define rpm_version %{version}}
|
||||||
Release: 0.6
|
Release: 0.7
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
|
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
@ -28,7 +29,6 @@ Conflicts: patch < 2.5
|
|||||||
Prereq: gawk fileutils textutils mktemp shadow-utils
|
Prereq: gawk fileutils textutils mktemp shadow-utils
|
||||||
%endif
|
%endif
|
||||||
Requires: popt = 1.6.4
|
Requires: popt = 1.6.4
|
||||||
ExcludeArch: alpha
|
|
||||||
|
|
||||||
%if !%{with_internal_db}
|
%if !%{with_internal_db}
|
||||||
BuildRequires: db3-devel
|
BuildRequires: db3-devel
|
||||||
@ -46,7 +46,7 @@ BuildRequires: zlib-devel
|
|||||||
BuildRequires: bzip2 >= 0.9.0c-2
|
BuildRequires: bzip2 >= 0.9.0c-2
|
||||||
%endif
|
%endif
|
||||||
%if %{with_python_subpackage}
|
%if %{with_python_subpackage}
|
||||||
BuildRequires: python-devel >= 2.2
|
BuildRequires: python-devel >= %{with_python_version}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_perl_subpackage}
|
%if %{with_perl_subpackage}
|
||||||
BuildRequires: perl >= 0:5.00503
|
BuildRequires: perl >= 0:5.00503
|
||||||
@ -91,7 +91,7 @@ build packages using RPM.
|
|||||||
Summary: Python bindings for apps which will manipulate RPM packages.
|
Summary: Python bindings for apps which will manipulate RPM packages.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: rpm = %{rpm_version}
|
Requires: rpm = %{rpm_version}
|
||||||
Requires: python >= 2.2
|
Requires: python >= %{with_python_version}
|
||||||
Requires: popt = 1.6.4
|
Requires: popt = 1.6.4
|
||||||
|
|
||||||
%description python
|
%description python
|
||||||
@ -449,8 +449,8 @@ fi
|
|||||||
%if %{with_python_subpackage}
|
%if %{with_python_subpackage}
|
||||||
%files python
|
%files python
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{__prefix}/lib/python2.2/site-packages/rpmmodule.so
|
%{__prefix}/lib/python%{with_python_version}/site-packages/rpmmodule.so
|
||||||
%{__prefix}/lib/python2.2/site-packages/poptmodule.so
|
%{__prefix}/lib/python%{with_python_version}/site-packages/poptmodule.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_perl_subpackage}
|
%if %{with_perl_subpackage}
|
||||||
@ -514,6 +514,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 7 2002 Jeff Johnson <jbj@redhat.com>
|
* Mon Jan 7 2002 Jeff Johnson <jbj@redhat.com>
|
||||||
- Depends should use CDB if configured.
|
- Depends should use CDB if configured.
|
||||||
|
- autodetect python 1.5/2.2.
|
||||||
|
|
||||||
* Sun Jan 6 2002 Jeff Johnson <jbj@redhat.com>
|
* Sun Jan 6 2002 Jeff Johnson <jbj@redhat.com>
|
||||||
- handle lazy db open's in chroot with absolute path, not prefix strip.
|
- handle lazy db open's in chroot with absolute path, not prefix strip.
|
||||||
|
Loading…
Reference in New Issue
Block a user