diff --git a/_service b/_service deleted file mode 100644 index 45ff599..0000000 --- a/_service +++ /dev/null @@ -1,6 +0,0 @@ - - - yes - - - diff --git a/udisks-2.6.5.tar.bz2 b/udisks-2.6.5.tar.bz2 deleted file mode 100644 index c1ae5f6..0000000 --- a/udisks-2.6.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbc3cd1600a39e168175b1f22bdda7bc9c3feea0f3ed0556001f8b23ee73a7d1 -size 1215793 diff --git a/udisks-2.7.6.tar.bz2 b/udisks-2.7.6.tar.bz2 new file mode 100644 index 0000000..2c5e65d --- /dev/null +++ b/udisks-2.7.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:512da29063de1cd4ecbfd9182d4faea0aff40835eaac69bc9f08e20ec56d16fe +size 1315047 diff --git a/udisks2.changes b/udisks2.changes index f334f29..d6fcdac 100644 --- a/udisks2.changes +++ b/udisks2.changes @@ -1,3 +1,216 @@ +------------------------------------------------------------------- +Tue Mar 6 00:34:27 UTC 2018 - luc14n0@linuxmail.org + +- Fix BuildRequires/Requires tags related to libblockdev and + libatasmart dependencies. +- Drop storaged Provides tags since there is no need for them. +- Switch libconfig-devel and libstoragemgmt-devel BuildRequires by + their pkgconfig modules counterparts. +- Add a Recommends tag for the btrfs module to offer support for + the openSUSE's file system of choice by default. + +------------------------------------------------------------------- +Thu Mar 1 14:32:37 UTC 2018 - jengelh@inai.de + +- Rectify grammar issues in summaries + +------------------------------------------------------------------- +Fri Nov 17 02:40:30 UTC 2017 - luc14n0@linuxmail.org + +- Update to version 2.7.6: + + Add: UdisksUtabEntry and read-write lock. + + Fix escaping mountpoint for the cleanup service. + + Check for all LUKS devices when looking for + CryptoBackingDevice. + + First implementation of udisksutabmonitor. + + Invoke job_complete in the proper context in order to avoid + deadlocks. + + Generate autocleanup functions for interfaces. + + Update documentation. +- Changes from version 2.7.5: + + Add: + - 'no-discard' option to formatting methods. + - An assertion method for checking an objects interfaces. + + Fix: + - Possible NULL pointer dereference in: + udiskslinuxdrive.c, udiskslinuxmdraidobject.c and + udisksclient.c + - Resource leak. + - size_str memory leaks in UDisksObjectInfo. + - Copy-paste error in apply_configuration_thread_func from + udiskslinuxdriveata.c. + - "Deadcode" and ignore "check return" warnings in udisksctl.c. + + Resolve mountpoint to the real path. + + Include exFAT as a possible partition type for ID 0x07. + + Always try to read configuration from crypttab in + handle_unlock. + + Make sure the table_type is consistent in + handle_create_partition. + + Wait for device to become initialized before probing it. + + Use different mode/dmode for shared file systems. +- Changes from version 2.7.4: + + Add: New function to set label on swap devices. + + Fix: + - Uninitalized value in "udisks_linux_loop_update"; + - Loop device automounting in GNOME. + + Run cryptsetup before returning from non-blocking Format. + + Use new libblockdev functionality to disable checks during + init. + + Do not try to create file watchers for RAIDs without + redundancy. + + Try to use libblockdev to get RAID array size. + + Re-add support the legacy BIOS bootable GPT flag. +- Changes from version 2.7.3: + + Add: + - Version info to docstrings of the partition Resize function; + - New ResolveDevice function; + - New OpenDevice function; + - some missing functions to doc/udisks2-sections.txt.in.in. + + Fix: + - Wrong GSList pointer declaration in + "handle_get_block_devices"; + - "supports_owners" flag for UDF; + - ExFAT partition type; + - Bash completion for udisksctl; + - Force unmounting; + - Building documentation with new gtk-doc. + + Process partition resize update before return. + + Wait for cleartext device object to disappear on Lock(). + + Ignore Asus Zendisk virtual CDROM and ZFS member partitions. + + Set corrent part type/id and GUID for UDF formatted partitions. + + Use LUKS specific partition ID and GUID. + + Make iSCSI Login and Logout wait for DBus objects update. + + Disable cleaning using blivet for now. + + Start even if a libblockdev plugin fails to load. +- Changes from version 2.7.2: + + Add: + - Filesystem Resize, Check and Repair; + - A new "Partitions" property to "PartitionTable" interface; + - A function to: + . "take ownership" of a filesystem; + . List all block devices. + - A function to wait for an object to disappear. + + Fix: + - Detection of drives created using isohybrid images + (fdo#1437791); + - Setting "SetupByUID" property when adding a new loop device; + - How we create UDF file systems. + + Wait for: + - The bcache object to disappear after BcacheDestroy; + - Zram objects to disappear on DestroyDevices(). + + Resize method for Partition interface. + + Trigger change uevent on disk after adding partitions to it. + + Use the assert with multiple tries for Block.Configuration. + + Do not wait for partitions to appear after LoopSetup. + + Try harder to ignore WD SmartWare virtual CDs. +- Changes from version 2.7.1: + + Don't always fail on missing LibStorageMgmt support. + + Fix: + - Broken partition authorization code; + - How UDisksClient filters property changes; + - The position to wait for a partition to appear at. + + Don't use serial as unique ID for drive objects. + + udiskslinuxblockbcache.c: Fix uninitialized variable. + + udisksiscsiutil.c: Correct strncpy lengths. + + udiskslinuxiscsisessionobject.c: Correct precondition check. + + lsm_linux_drive.c: Remove std_lsm_vol_data_free error case. + + udiskslinuxvolumegroupobject.c: Remove variable shadow lvs_p. + + udiskssimplejob.c: Allow NULL for message. + + Re-create sysfs watchers for changed mdraid devices. + + UDisksClient: Do not try remove changed_blacklist hash table in + finalize. + + Query methods for available utility binaries. + + Clear GError after calling "bd_part_get_part_by_pos". + + Use "model_serial" as unique ID for drive objects. + + Add "--yes" arg when resizing filesystem with "lvresize". + + Do not trigger extra uevents for newly created partitions. + + Free the partition spec libblockdev gives us. + + Allow the user to specify the partition type. +- Changes from version 2.7.0: + + udisksdaemonutil.c: Fix GVariant resource leak. + + Use libblockdev swap plugin for swapspace. + + Use libblockdev FS plugin for mounting and unmounting devices. + + Use libblockdev: + - For: + . Partitioning code; + . Wiping newly created partitions; + . LUKS operations. + - To get LUKS UUID for LUKS open; + - As a library not just the plugins; + - MDRAID code and wipefs calls in MDRAID code. + + Use libblockdev-lvm for: + - LV and VG operations; + - VolumeGroupCreate() too; + - When updating VG on Poll() call. + + Fix: + - bd_reinit and g_clear_error calls in btrfs, zram and bcache; + - Docstring of 'CreateSnapshot' method in '.Filesystem.BTRFS'; + - Requires and BuildRequires for libblockdev; + - API for BcacheCreate function. + + Add: + - Libblockdev MDRAID and FS plugins to BuildRequires; + - 'options' parameter do zRAM 'Refresh' function; + - A function for running threaded jobs synchronously; + - A new configure option --enable-available-modules. + + Remove unused variables in handle_mdraid_create. + + Create Job objects for partitioning related actions. + + Change: + - btrfs module API to be consistent with udisks core; + - bcache properties do CamelCase; + - ZRAM 'CreateDevices' function to return newly created; + - zRAM properties to CamelCase. + + Bcache, btrfs and zRAM modules: Handle invocations in threads. + + Do not try to set GError over the top of a previous GError. + + zRAM: Extract used CompAlgorithm as a single value. + ZRAMs. + + Move new partition start if overlaps with extended partition + metadata. + + Do not start threaded jobs automatically + + Require and initialize the libblockdev-lvm plugin + + Check that blockdev/lvm.h is available if LVM2 support + requested. + + Also create thin pools using libblockdev-lvm. + + Get VGs with bd_lvm_vgs() run in a thread. + + Update information about PVs, LVs and VGs using + libblockdev-lvm. + + Get rid of the udisks-lvm helper program. + + Use: + - Info for metadata LV when updating LV which has one; + - Systemd-defined macros in the spec file template; + - bd_lvm_vgreduce() instead of running 'vgreduce'. + + REMOVE-ME: use the CLI-based libblockdev-lvm plugin. + + Make sure we have the AX_CHECK_ENABLE_DEBUG macro. + + Also check if libblockdev supports bcache. + + Require 'udev' not 'systemd-udev'. +- Adopt the use of %make_build and %make_install while dropping + deprecated use of raw commands, following the best practices. +- Pass disable-static to configure as static libs are enabled by + default. And enable-bcache, enable-btrfs, enable-lsm, + enable-lvm2, enable-lvmcache and enable-zram to enable new + available features. +- Add blkid, blockdev, libsystemd and mount pkgconfig modules, and + libbd_btrfs-devel, libbd_crypto-devel, libbd_fs-devel, + libbd_kbd-devel, libbd_loop-devel, libbd_lvm-devel, + libbd_mdraid-devel, libbd_part-devel, libbd_swap-devel, + libconfig-devel, libstoragemgmt-devel, lvm2-devel BuildRequires + as new dependencies. +- Add libblockdev, libbd_crypto, libbd_fs, libbd_loop, + libbd_mdraid, libbd_part and libbd_swap Requires as new run time + requirements. +- Add e2fsprogs, xfsprogs, and dosfstools Requires, being the first + needed by mkfs.ext3, mkfs.ext3 and e2label. The second, by + mkfs.xfs and xfs_admin. And the third, by mkfs.vfat. +- Add gio-unix-2.0 and gmodule-2.0 pkgconfig BuildRequires: note + that they was already being pulled with pkgconfig(glib-2.0) and + used, once they live in the same devel package. +- Drop pkgconfig(udev) BuildRequires: no longer needed. +- Replace libgudev-1_0-devel and pkgconfig(systemd) BuildRequires + by gudev-1.0 and libsystemd, respectively. +- Add LGPL-2.0+ to the preamble License tag once the preamble + License tag is used for the source RPM and binary RPM packages. +- Correct some subpackages LGPL-2.1+ License tags to LGPL-2.0+ as + pointed by the COPYING and source files. + ------------------------------------------------------------------- Wed Jul 5 10:03:57 UTC 2017 - Thomas.Blume@suse.com diff --git a/udisks2.spec b/udisks2.spec index af086ce..0c81adb 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -1,7 +1,7 @@ # # spec file for package udisks2 # -# 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 @@ -16,56 +16,67 @@ # -%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d} - +%define somajor 0 +%define libname lib%{name} +%define lbd_version 2.14 Name: udisks2 -Summary: Disk Manager -License: GPL-2.0+ -Group: System Environment/Daemons -Version: 2.6.5 +Version: 2.7.6 Release: 0 -Url: https://github.com/storaged-project/udisks +Summary: Disk Manager +License: GPL-2.0-or-later AND LGPL-2.0-or-later +Group: System/Daemons +URL: https://github.com/storaged-project/udisks Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2 - -# Needed to build the man pages BuildRequires: chrpath BuildRequires: docbook-xsl-stylesheets -BuildRequires: gnome-common -BuildRequires: gobject-introspection-devel +BuildRequires: gobject-introspection-devel >= 1.30.0 BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libacl-devel -BuildRequires: libgudev-1_0-devel +BuildRequires: libblockdev-devel >= %{lbd_version} +BuildRequires: lvm2-devel +BuildRequires: pkgconfig BuildRequires: xsltproc -BuildRequires: pkgconfig(glib-2.0) >= 2.31.13 +BuildRequires: pkgconfig(blkid) >= 2.17.0 +BuildRequires: pkgconfig(blockdev) >= 2.14 +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.50 +BuildRequires: pkgconfig(glib-2.0) >= 2.50 +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gudev-1.0) >= 165 BuildRequires: pkgconfig(libatasmart) >= 0.17 -BuildRequires: pkgconfig(polkit-agent-1) >= 0.92 -BuildRequires: pkgconfig(polkit-gobject-1) >= 0.92 +BuildRequires: pkgconfig(libconfig) >= 1.3.2 +BuildRequires: pkgconfig(libstoragemgmt) >= 1.3.0 +BuildRequires: pkgconfig(libsystemd) >= 209 +BuildRequires: pkgconfig(mount) >= 2.30 +BuildRequires: pkgconfig(polkit-agent-1) >= 0.102 +BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102 BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) - -# Needed to pull in the system bus daemon -Requires: dbus-1 -# We need at least this version for bugfixes/features etc. -Requires: libatasmart4 -# For mount, umount, mkswap -Requires: util-linux -# sgdisk is called by udisksd to modify the partition tables... thus a needed tool. -Requires: gptfdisk +Requires: %{libname}-%{somajor} = %{version} # For LUKS devices Requires: cryptsetup +# Needed to pull in the system bus daemon +Requires: dbus-1 >= 1.4.0 +# For mkfs.vfat +Requires: dosfstools +# For mkfs.ext3, mkfs.ext3, e2label +Requires: e2fsprogs # For ejecting removable disks Requires: eject - -Requires: libudisks2-0 = %{version} +# sgdisk is called by udisksd to modify the partition tables... thus a needed tool. +Requires: gptfdisk +# We need at least this version for bugfixes/features etc. +Requires: libatasmart-utils >= 0.17 +Requires: libblockdev >= %{lbd_version} +# Needed to pull in the udev daemon +Requires: udev >= 208 +# For mount, umount, mkswap +Requires: util-linux +# For mkfs.xfs, xfs_admin +Requires: xfsprogs Recommends: %{name}-lang - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %{libname}_btrfs %{?systemd_requires} - -# For /proc/self/mountinfo, only available in 2.6.26 or higher -Conflicts: kernel < 2.6.26 - # Upstream First - Policy: # Never add any patches to this package without the upstream commit id # in the patch. Any patches added here without a very good reason to make @@ -75,37 +86,88 @@ Conflicts: kernel < 2.6.26 The Udisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies. -%package -n libudisks2-0 -Summary: Dynamic library to access the udisksd daemon -License: LGPL-2.1+ +%package -n %{libname}-%{somajor} +Summary: Dynamic library to access the UDisksd daemon +License: LGPL-2.0-or-later Group: System/Libraries -Recommends: %{name} = %{version} -%description -n libudisks2-0 +%description -n %{libname}-%{somajor} This package contains the dynamic library, which provides -access to the udisksd daemon. +access to the UDisksd daemon. %package -n typelib-1_0-UDisks-2_0 -Summary: UDisks Client Library, version 2 -- Introspection bindings -License: LGPL-2.1+ +Summary: Introspection bindings for the UDisks Client Library version 2 +License: LGPL-2.0-or-later Group: System/Libraries %description -n typelib-1_0-UDisks-2_0 -udisks provides a daemon, D-Bus API and command line tools +UDisks provides a daemon, D-Bus API and command line tools for managing disks and storage devices. This package provides the GObject Introspection bindings for the UDisks client library. -%package devel -Summary: Development files for lib%{name} -License: LGPL-2.1+ +%package -n %{libname}-devel +Summary: Development files for %{libname} +License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ -Requires: libudisks2-0 = %{version} +Requires: %{libname}-%{somajor} >= %{version} -%description devel -This package contains the development files for the library lib%{name}, a -dynamic library, which provides access to the udisksd daemon. +%description -n %{libname}-devel +This package contains the development files for the library libUDisks2, a +dynamic library, which provides access to the UDisksd daemon. + +%package -n %{libname}_bcache +Summary: UDisks module for Bcache +License: GPL-2.0-or-later +Group: System/Libraries +Requires: %{libname}-%{somajor} >= %{version} +Requires: libblockdev >= %{lbd_version} + +%description -n %{libname}_bcache +This package contains the UDisks' module for bcache support. + +%package -n %{libname}_btrfs +Summary: UDisks module for btrfs +License: GPL-2.0-or-later +Group: System/Libraries +Requires: %{libname}-%{somajor} >= %{version} +Requires: libblockdev >= %{lbd_version} + +%description -n %{libname}_btrfs +This package contains the UDisks' module for btrfs support. + +%package -n %{libname}_lsm +Summary: UDisks module for LSM +License: GPL-2.0-or-later +Group: System/Libraries +Requires: %{libname}-%{somajor} >= %{version} +Requires: libblockdev >= %{lbd_version} +Requires: libstoragemgmt >= 1.3.0 + +%description -n %{libname}_lsm +This package contains the UDisks' module for lsm support. + +%package -n %{libname}_lvm2 +Summary: UDisks module for LVM2 +License: GPL-2.0-or-later +Group: System/Libraries +Requires: %{libname}-%{somajor} >= %{version} +Requires: libblockdev >= %{lbd_version} +Requires: lvm2 + +%description -n %{libname}_lvm2 +This package contains the UDisks' module for LVM2 support. + +%package -n %{libname}_zram +Summary: UDisks module for Zram +License: GPL-2.0-or-later +Group: System/Libraries +Requires: %{libname}-%{somajor} = %{version} +Requires: libblockdev >= %{lbd_version} + +%description -n %{libname}_zram +This package contains the UDisks' module for zram support. %lang_package @@ -113,91 +175,146 @@ dynamic library, which provides access to the udisksd daemon. %setup -q -n udisks-%{version} %build -%configure \ - --sysconfdir=/etc \ - --enable-gtk-doc -make %{?_smp_mflags} +%configure \ + --disable-static \ + --enable-gtk-doc \ + --docdir=%{_docdir}/%{name} \ + --enable-bcache \ + --enable-btrfs \ + --enable-lsm \ + --enable-lvm2 \ + --enable-lvmcache \ + --enable-zram +%make_build %install -make install DESTDIR=%{buildroot} - -find %{buildroot} -name \*.la -o -name \*.a | xargs rm - +%make_install +find %{buildroot} -name "*.la" -print -type f -delete chrpath --delete %{buildroot}/%{_sbindir}/umount.udisks2 chrpath --delete %{buildroot}/%{_bindir}/udisksctl chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd - %find_lang udisks2 -#we don't want to load storaged modules -rm -r %{buildroot}/etc/udisks2 +# Loading storaged modules is not wanted. +rm -r %{buildroot}%{_sysconfdir}/udisks2 -%pre +# Create udisks2 rclink +mkdir -p %{buildroot}/%{_sbindir} +ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} + +%post -n %{libname}-%{somajor} -p /sbin/ldconfig +%postun -n %{libname}-%{somajor} -p /sbin/ldconfig + +%pre -n %{name} %service_add_pre udisks2.service +%service_add_pre clean-mount-point@.service %post -n %{name} %{?udev_rules_update:%udev_rules_update} %service_add_post udisks2.service +%service_add_post clean-mount-point@.service -%post -n libudisks2-0 -p /sbin/ldconfig - -%preun +%preun -n %{name} %service_del_preun udisks2.service +%service_del_preun clean-mount-point@.service -%postun +%postun -n %{name} %service_del_postun udisks2.service +%service_del_postun clean-mount-point@.service -%postun -n libudisks2-0 -p /sbin/ldconfig +%pre -n %{libname}_zram +%service_add_pre zram-setup@.service + +%post -n %{libname}_zram +%service_add_post zram-setup@.service + +%preun -n %{libname}_zram +%service_del_preun zram-setup@.service + +%postun -n %{libname}_zram +%service_del_postun zram-setup@.service %files %defattr(-,root,root,-) -%doc README.md AUTHORS NEWS HACKING COPYING - -%dir %{_libexecdir}/udisks2 -%{_libexecdir}/udisks2/udisksd +%doc AUTHORS NEWS +%{_bindir}/udisksctl %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf %{_datadir}/bash-completion/completions/udisksctl %{_unitdir}/udisks2.service +%{_unitdir}/clean-mount-point@.service %dir %{_udevrulesdir} %{_udevrulesdir}/80-udisks2.rules +%{_sbindir}/rc%{name} %{_sbindir}/umount.udisks2 - %dir %{_libexecdir}/udisks2 %{_libexecdir}/udisks2/udisksd - -%{_bindir}/udisksctl - -%{_mandir}/man1/udisksctl.1* -%{_mandir}/man5/udisks2.conf.5* -%{_mandir}/man8/udisksd.8* -%{_mandir}/man8/udisks.8* -%{_mandir}/man8/umount.udisks2.8* - +%{_mandir}/man1/udisksctl.1%{?ext_man} +%{_mandir}/man5/udisks2.conf.5%{?ext_man} +%{_mandir}/man8/udisksd.8%{?ext_man} +%{_mandir}/man8/udisks.8%{?ext_man} +%{_mandir}/man8/umount.udisks2.8%{?ext_man} %{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy %{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service - # Permissions for local state data are 0700 to avoid leaking information # about e.g. mounts to unprivileged users %attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2 -%files -n libudisks2-0 +%files -n %{libname}-%{somajor} %defattr(-,root,root,-) +%license COPYING %{_libdir}/libudisks2.so.* %files -n typelib-1_0-UDisks-2_0 %defattr(-,root,root,-) %{_libdir}/girepository-1.0/UDisks-2.0.typelib -%files devel +%files -n %{libname}-devel %defattr(-,root,root,-) +%doc HACKING README.md +%doc %{_datadir}/gtk-doc/html/udisks2/ %{_libdir}/libudisks2.so %dir %{_includedir}/udisks2 %dir %{_includedir}/udisks2/udisks %{_includedir}/udisks2/udisks/*.h +%{_libdir}/pkgconfig/udisks2.pc %{_datadir}/gir-1.0/UDisks-2.0.gir -%doc %{_datadir}/gtk-doc/html/udisks2/ -%{_libdir}/pkgconfig/udisks2.pc +%files -n %{libname}_bcache +%defattr(-,root,root,-) +%dir %{_libdir}/udisks2 +%dir %{_libdir}/udisks2/modules +%{_libdir}/udisks2/modules/libudisks2_bcache.so +%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.bcache.policy + +%files -n %{libname}_btrfs +%defattr(-,root,root,-) +%dir %{_libdir}/udisks2 +%dir %{_libdir}/udisks2/modules +%{_libdir}/udisks2/modules/libudisks2_btrfs.so +%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.btrfs.policy + +%files -n %{libname}_lsm +%defattr(-,root,root,-) +%dir %{_libdir}/udisks2 +%dir %{_libdir}/udisks2/modules +%{_libdir}/udisks2/modules/libudisks2_lsm.so +%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lsm.policy +%{_mandir}/man5/udisks2_lsm.conf.5%{?ext_man} + +%files -n %{libname}_lvm2 +%defattr(-,root,root,-) +%dir %{_libdir}/udisks2 +%dir %{_libdir}/udisks2/modules +%{_libdir}/udisks2/modules/libudisks2_lvm2.so +%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy + +%files -n %{libname}_zram +%defattr(-,root,root,-) +%dir %{_libdir}/udisks2 +%dir %{_libdir}/udisks2/modules +%{_libdir}/udisks2/modules/libudisks2_zram.so +%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy +%{_unitdir}/zram-setup@.service %files lang -f udisks2.lang