Accepting request 673105 from home:iznogood:factory

- Add libblockdev-vdo-devel BuildRequires: Build the new vdo
  module. Following this, add new vdo sub-package.

OBS-URL: https://build.opensuse.org/request/show/673105
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=71
This commit is contained in:
Bjørn Lie 2019-02-11 17:07:24 +00:00 committed by Git OBS Bridge
parent b4a48fc9d6
commit 9ee85c44d8
2 changed files with 36 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 30 21:34:08 UTC 2019 - bjorn.lie@gmail.com
- Add libblockdev-vdo-devel BuildRequires: Build the new vdo
module. Following this, add new vdo sub-package.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 24 21:17:14 UTC 2019 - bjorn.lie@gmail.com Thu Jan 24 21:17:14 UTC 2019 - bjorn.lie@gmail.com

View File

@ -43,6 +43,7 @@ BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version} BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
BuildRequires: libblockdev-part-devel >= %{libblockdev_version} BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version} BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
BuildRequires: libblockdev-vdo-devel >= %{libblockdev_version}
BuildRequires: lvm2-devel BuildRequires: lvm2-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xsltproc BuildRequires: xsltproc
@ -173,6 +174,16 @@ Requires: lvm2
%description -n %{libudisks}_lvm2 %description -n %{libudisks}_lvm2
This package contains the UDisks' module for LVM2 support. This package contains the UDisks' module for LVM2 support.
%package -n %{libudisks}_vdo
Summary: UDisks module for VDO
License: GPL-2.0-or-later
Group: System/Libraries
Requires: %{libudisks} >= %{version}
Requires: libblockdev-vdo >= %{libblockdev_version}
%description -n %{libudisks}_vdo
This package contains the UDisks' module for VDO support.
%package -n %{libudisks}_zram %package -n %{libudisks}_zram
Summary: UDisks module for Zram Summary: UDisks module for Zram
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -187,19 +198,21 @@ This package contains the UDisks' module for zram support.
%lang_package %lang_package
%prep %prep
%setup -q -n udisks-%{version} %autosetup -p1 -n udisks-%{version}
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--enable-gtk-doc \ --enable-gtk-doc \
--docdir=%{_docdir}/%{name} \ --docdir=%{_docdir}/%{name} \
--enable-bcache \ --enable-bcache \
--enable-btrfs \ --enable-btrfs \
--enable-lsm \ --enable-lsm \
--enable-lvm2 \ --enable-lvm2 \
--enable-lvmcache \ --enable-lvmcache \
--enable-zram --enable-zram \
--enable-vdo \
%{nil}
%make_build %make_build
%install %install
@ -315,6 +328,12 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
%{_libdir}/udisks2/modules/libudisks2_lvm2.so %{_libdir}/udisks2/modules/libudisks2_lvm2.so
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy %{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy
%files -n %{libudisks}_vdo
%dir %{_libdir}/udisks2
%dir %{_libdir}/udisks2/modules
%{_libdir}/udisks2/modules/libudisks2_vdo.so
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.vdo.policy
%files -n %{libudisks}_zram %files -n %{libudisks}_zram
%dir %{_libdir}/udisks2 %dir %{_libdir}/udisks2
%dir %{_libdir}/udisks2/modules %dir %{_libdir}/udisks2/modules