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:
parent
b4a48fc9d6
commit
9ee85c44d8
@ -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
|
||||
|
||||
|
41
udisks2.spec
41
udisks2.spec
@ -43,6 +43,7 @@ BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
|
||||
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
|
||||
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
|
||||
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
|
||||
BuildRequires: libblockdev-vdo-devel >= %{libblockdev_version}
|
||||
BuildRequires: lvm2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xsltproc
|
||||
@ -173,6 +174,16 @@ Requires: lvm2
|
||||
%description -n %{libudisks}_lvm2
|
||||
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
|
||||
Summary: UDisks module for Zram
|
||||
License: GPL-2.0-or-later
|
||||
@ -187,19 +198,21 @@ This package contains the UDisks' module for zram support.
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n udisks-%{version}
|
||||
%autosetup -p1 -n udisks-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-gtk-doc \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--enable-bcache \
|
||||
--enable-btrfs \
|
||||
--enable-lsm \
|
||||
--enable-lvm2 \
|
||||
--enable-lvmcache \
|
||||
--enable-zram
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-gtk-doc \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--enable-bcache \
|
||||
--enable-btrfs \
|
||||
--enable-lsm \
|
||||
--enable-lvm2 \
|
||||
--enable-lvmcache \
|
||||
--enable-zram \
|
||||
--enable-vdo \
|
||||
%{nil}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -315,6 +328,12 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
|
||||
%{_libdir}/udisks2/modules/libudisks2_lvm2.so
|
||||
%{_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
|
||||
%dir %{_libdir}/udisks2
|
||||
%dir %{_libdir}/udisks2/modules
|
||||
|
Loading…
Reference in New Issue
Block a user