- Version update to 1.19.0.4:
* Tons of architecture fixes * Testsuite was expanded - Update to 1.19.0.4: * No changes in update-alternatives just match step with dpkg - Drop patch 0001-In-case-of-equal-priority-rather-update.patch * Causes issues on too eagerly regenerating stuff bsc#1075971 * Reason for this patch should no longer be needed as all python packages are singlespec OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
7a05a04155
commit
14270076fc
19
dpkg.spec
19
dpkg.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dpkg
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,23 +17,22 @@
|
||||
|
||||
|
||||
Name: dpkg
|
||||
Version: 1.18.23
|
||||
Version: 1.19.0.4
|
||||
Release: 0
|
||||
Summary: Debian package management system
|
||||
License: GPL-2.0+
|
||||
Group: System/Packages
|
||||
URL: http://www.debian.org
|
||||
Url: http://www.debian.org
|
||||
Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
|
||||
Source3: sensible-editor
|
||||
# PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*.
|
||||
Patch1: update-alternatives-suse.patch
|
||||
# PATCH-FIX-SUSE: tar of Leap 42.{2,3} does not recognize --sort=name, --clamp-mtime options
|
||||
Patch2: drop-tar-option.patch
|
||||
# PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171
|
||||
Patch7: 0001-In-case-of-equal-priority-rather-update.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gpg2
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: libmd-devel
|
||||
BuildRequires: libselinux-devel
|
||||
@@ -88,15 +87,14 @@ Libraries and header files for dpkg.
|
||||
%if 0%{?suse_version} == 1315
|
||||
%patch2 -p1
|
||||
%endif
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
export CFLAGS="%{optflags}"
|
||||
export SELINUX_LIBS="-lselinux"
|
||||
#export SELINUX_LIBS="-lselinux"
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--with-selinux \
|
||||
--with-libselinux \
|
||||
--localstatedir=%{_localstatedir}/lib \
|
||||
--with-admindir=%{_localstatedir}/lib/dpkg
|
||||
|
||||
@@ -122,7 +120,7 @@ sed -i 's/^#define ARCHITECTURE ""/#define ARCHITECTURE "%{debarch}"/' config.h
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{?buildroot}
|
||||
%make_install
|
||||
|
||||
# remove update-alternatives stuff (included in separate package)
|
||||
rm -rf %{buildroot}%{_sysconfdir}/alternatives
|
||||
@@ -131,6 +129,7 @@ rm -rf %{buildroot}%{_bindir}/update-alternatives
|
||||
rm -rf %{buildroot}%{_sbindir}/update-alternatives
|
||||
rm -rf %{buildroot}%{_mandir}/man8/update-alternatives.8
|
||||
rm -rf %{buildroot}%{_mandir}/*/man8/update-alternatives.8
|
||||
rm -rf %{buildroot}%{_datadir}/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy
|
||||
|
||||
# locales
|
||||
%find_lang %{name}
|
||||
@@ -162,7 +161,7 @@ exit 0
|
||||
%config(noreplace) %{_sysconfdir}/dpkg/*
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/dpkg
|
||||
%{_libexecdir}/dpkg
|
||||
%{_datadir}/dpkg
|
||||
%{_localstatedir}/lib/dpkg
|
||||
%{perl_vendorlib}/Dpkg
|
||||
|
Reference in New Issue
Block a user