SHA256
3
0
forked from pool/rpm
Stephan Kulow 2012-11-04 08:54:42 +00:00 committed by Git OBS Bridge
parent 2de0a6a810
commit c9cea8bcbe
5 changed files with 32 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 4 08:54:25 UTC 2012 - coolo@suse.com
- fix build
-------------------------------------------------------------------
Sat Sep 22 13:24:30 UTC 2012 - idonmez@suse.com

View File

@ -19,7 +19,6 @@
Name: python3-rpm
Version: 4.10.0
Release: 0
#!BuildIgnore: rpmlint-Factory
Summary: Python Bindings for Manipulating RPM Packages
License: GPL-2.0+
Group: System/Packages
@ -40,7 +39,7 @@ BuildRequires: xz-devel
BuildRequires: zlib-devel
Requires: rpm = %{version}
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
%global with_python 1
%global with_python 3
%description
The python3-rpm package contains a module that permits applications

View File

@ -41,7 +41,7 @@ BuildRequires: zlib-devel
Requires: rpm = %{version}
%py_requires
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
%global with_python 1
%global with_python 2
%description
The rpm-python package contains a module that permits applications

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Nov 4 08:53:46 UTC 2012 - coolo@suse.com
- extend the list of build essentials - 4 drop candidates
-------------------------------------------------------------------
Sun Nov 4 07:56:25 UTC 2012 - coolo@suse.com
- glibc-locale is build essential too - too many things go wrong
without locales
-------------------------------------------------------------------
Sun Oct 28 05:20:40 UTC 2012 - coolo@suse.com

View File

@ -174,20 +174,30 @@ Provides: rpmbuild
# SUSE's build essentials
Requires: binutils
Requires: bzip2
Requires: coreutils
Requires: diffutils
Requires: file
Requires: findutils
Requires: gawk
Requires: gcc
Requires: gettext-tools
Requires: glibc-devel
Requires: glibc-locale
Requires: grep
Requires: gzip
Requires: make
Requires: net-tools
Requires: patch
Requires: perl-base
Requires: sed
Requires: tar
Requires: util-linux
Requires: xz
# drop candidates
Requires: cpio
Requires: file
Requires: pwdutils
Requires: timezone
%description build
If you want to build a rpm, you need this package. It provides rpmbuild
@ -250,7 +260,10 @@ pushd beecrypt
make %{?_smp_mflags}
popd
./autogen.sh --disable-dependency-tracking --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
export PYTHON=python%{with_python}
autoreconf -fi
sed -i -e 's,{PYTHON_VERSION}mu,{PYTHON_VERSION}mu python${PYTHON_VERSION}m,' configure
./configure --disable-dependency-tracking --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
--libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \
--with-vendor=suse \
--with-selinux --with-internal-beecrypt \