Accepting request 140090 from Base:System
- fix build OBS-URL: https://build.opensuse.org/request/show/140090 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=190
This commit is contained in:
commit
8d6f06cd39
@ -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
|
Sat Sep 22 13:24:30 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
Name: python3-rpm
|
Name: python3-rpm
|
||||||
Version: 4.10.0
|
Version: 4.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
#!BuildIgnore: rpmlint-Factory
|
|
||||||
Summary: Python Bindings for Manipulating RPM Packages
|
Summary: Python Bindings for Manipulating RPM Packages
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
@ -40,7 +39,7 @@ BuildRequires: xz-devel
|
|||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Requires: rpm = %{version}
|
Requires: rpm = %{version}
|
||||||
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
|
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
|
||||||
%global with_python 1
|
%global with_python 3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The python3-rpm package contains a module that permits applications
|
The python3-rpm package contains a module that permits applications
|
||||||
|
@ -41,7 +41,7 @@ BuildRequires: zlib-devel
|
|||||||
Requires: rpm = %{version}
|
Requires: rpm = %{version}
|
||||||
%py_requires
|
%py_requires
|
||||||
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
|
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
|
||||||
%global with_python 1
|
%global with_python 2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The rpm-python package contains a module that permits applications
|
The rpm-python package contains a module that permits applications
|
||||||
|
11
rpm.changes
11
rpm.changes
@ -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
|
Sun Oct 28 05:20:40 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
15
rpm.spec
15
rpm.spec
@ -174,20 +174,30 @@ Provides: rpmbuild
|
|||||||
# SUSE's build essentials
|
# SUSE's build essentials
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
Requires: bzip2
|
Requires: bzip2
|
||||||
|
Requires: coreutils
|
||||||
|
Requires: diffutils
|
||||||
Requires: file
|
Requires: file
|
||||||
Requires: findutils
|
Requires: findutils
|
||||||
Requires: gawk
|
Requires: gawk
|
||||||
Requires: gcc
|
Requires: gcc
|
||||||
Requires: gettext-tools
|
Requires: gettext-tools
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
Requires: glibc-locale
|
||||||
|
Requires: grep
|
||||||
Requires: gzip
|
Requires: gzip
|
||||||
Requires: make
|
Requires: make
|
||||||
Requires: net-tools
|
Requires: net-tools
|
||||||
Requires: patch
|
Requires: patch
|
||||||
Requires: perl-base
|
Requires: perl-base
|
||||||
|
Requires: sed
|
||||||
Requires: tar
|
Requires: tar
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
Requires: xz
|
Requires: xz
|
||||||
|
# drop candidates
|
||||||
|
Requires: cpio
|
||||||
|
Requires: file
|
||||||
|
Requires: pwdutils
|
||||||
|
Requires: timezone
|
||||||
|
|
||||||
%description build
|
%description build
|
||||||
If you want to build a rpm, you need this package. It provides rpmbuild
|
If you want to build a rpm, you need this package. It provides rpmbuild
|
||||||
@ -250,7 +260,10 @@ pushd beecrypt
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
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 \
|
--libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \
|
||||||
--with-vendor=suse \
|
--with-vendor=suse \
|
||||||
--with-selinux --with-internal-beecrypt \
|
--with-selinux --with-internal-beecrypt \
|
||||||
|
Loading…
Reference in New Issue
Block a user