- Version update to 1.18.10:
* Various few fixes, see changelog file in the package * Refresh patch update-alternatives-suse.patch * Remove patch dpkg-sparc.diff - Version update to 1.18.10: * Various few fixes, see changelog file in the package * Refresh patch update-alternatives-suse.patch * Remove patch dpkg-sparc.diff OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=41
This commit is contained in:
committed by
Git OBS Bridge
parent
ab142c15b4
commit
93e5bae1d9
13
dpkg.spec
13
dpkg.spec
@@ -18,7 +18,7 @@
|
||||
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
Name: dpkg
|
||||
Version: 1.18.4
|
||||
Version: 1.18.10
|
||||
Release: 0
|
||||
Summary: Debian package management system
|
||||
License: GPL-2.0+
|
||||
@@ -28,13 +28,14 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}
|
||||
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-UPSTREAM remove --utf8 since we only build En manpages.
|
||||
Patch6: dpkg-sparc.diff
|
||||
# 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: libbz2-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: update-alternatives
|
||||
BuildRequires: xz
|
||||
@@ -79,10 +80,10 @@ Libraries and header files for dpkg.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
export CFLAGS="%{optflags}"
|
||||
export SELINUX_LIBS="-lselinux"
|
||||
%configure \
|
||||
@@ -99,7 +100,7 @@ export SELINUX_LIBS="-lselinux"
|
||||
%ifarch x86_64
|
||||
%define debarch amd64
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
%ifarch %{ix86}
|
||||
%define debarch i386
|
||||
%endif
|
||||
%ifarch ppc powerpc
|
||||
@@ -148,7 +149,7 @@ exit 0
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog
|
||||
%doc %{_mandir}/man*/*
|
||||
%{_mandir}/man*/*
|
||||
%exclude %{_mandir}/man*/update-alternatives*
|
||||
%dir %{_sysconfdir}/dpkg
|
||||
%config(noreplace) %{_sysconfdir}/dpkg/*
|
||||
|
Reference in New Issue
Block a user