From: Andreas Messer Date: Sun, 7 Jan 2018 10:12:51 +0000 (+0100) Subject: Factor out common files to fix multi-arch installs X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~25 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=811050c462b8175cfc46bf548b39f065de42dfdf;ds=sidebyside Factor out common files to fix multi-arch installs --- diff --git a/debian/control b/debian/control index 98229f51d..ebb7ce5c7 100644 --- a/debian/control +++ b/debian/control @@ -36,6 +36,7 @@ Multi-Arch: foreign Pre-Depends: debconf, ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, + elogind-data (= ${binary:Version}), libelogind0 (= ${binary:Version}), libpam-elogind (= ${binary:Version}), lsb-base (>= 3.1), @@ -43,8 +44,8 @@ Depends: ${shlibs:Depends}, Recommends: policykit-1 Conflicts: openrc Description: user, seat and session management daemon - elogind is a session management daemon extracted from systmd project's - "logind" + elogind is a session management daemon extracted from systmd project's + "logind" Package: libelogind0 Section: libs @@ -54,8 +55,19 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, + elogind-data (= ${binary:Version}) Description: user, seat and session management library - This library provides access to elogind session management + This library provides access to elogind session management + +Package: elogind-data +Section: admin +Priority: optional +Architecture: all +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Description: user, seat and session management - common files + Common files of elogind Package: libelogind-dev Section: libdevel @@ -67,8 +79,8 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libelogind0 (= ${binary:Version}) Description: user, seat and session management library (development files) - This package contains the files needed for developing applications that - use libelogind + This package contains the files needed for developing applications that + use libelogind Package: libpam-elogind Section: admin @@ -78,8 +90,9 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, - libpam-runtime + libpam-runtime, + elogind-data (= ${binary:Version}) Provides: libpam-systemd Description: elogind PAM module - Plugable Authentication Module to register a session with elogind + Plugable Authentication Module to register a session with elogind diff --git a/debian/elogind-data.install b/debian/elogind-data.install new file mode 100644 index 000000000..363548064 --- /dev/null +++ b/debian/elogind-data.install @@ -0,0 +1 @@ +usr/share/locale diff --git a/debian/libelogind0.install b/debian/libelogind0.install index 1a0e7e1d7..01d84bdd4 100644 --- a/debian/libelogind0.install +++ b/debian/libelogind0.install @@ -1,2 +1 @@ usr/lib/*/libelogind.so.* -usr/share/locale