Accepting request 136338 from home:flichtenheld
Update to current and fixing build on Fedora OBS-URL: https://build.opensuse.org/request/show/136338 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
729a181ea9
commit
9ea9a590d4
22
dpkg.spec
22
dpkg.spec
@@ -19,7 +19,7 @@
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
|
||||
Name: dpkg
|
||||
Version: 1.16.7
|
||||
Version: 1.16.8
|
||||
Release: 0
|
||||
Summary: Debian package management system
|
||||
License: GPL-2.0+
|
||||
@@ -34,6 +34,8 @@ Patch2: dpkg-archtable-suse.patch
|
||||
# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
|
||||
Patch3: dpkg-pod2man-no-utf8.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
@@ -54,24 +56,10 @@ BuildRequires: update-alternatives
|
||||
Requires: update-alternatives
|
||||
Requires: perl(Date::Parse)
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%if 0%{?suse_version} < 1120
|
||||
%define _libexecdir /usr/lib
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
%if 0%{?rhel_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
%if 0%{?centos_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package contains tools for working with Debian packages. It makes
|
||||
@@ -98,12 +86,14 @@ Requires: %{name} = %{version}
|
||||
Provides: %{name}-lang-all = %{version}
|
||||
Provides: deb-lang = %{version}
|
||||
Obsoletes: deb-lang < %{version}
|
||||
%if %{defined suse_version}
|
||||
Supplements: packageand(bundle-lang-other:%{name})
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1120
|
||||
%if 0%{?suse_version} < 1120
|
||||
# BuildArch: noarch not supported on SLE 11
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description lang
|
||||
Provides translations to the package %{name}
|
||||
|
Reference in New Issue
Block a user