New version
- Ignore merge commits when creating changelog (vpodzime) - Only take the number of the first %changelog line found (vpodzime) - Add some more detailed description to the part plugin (vpodzime) - Fix a few extra issues with the const types (vpodzime) - Add function for getting best free region (vpodzime) - Add function for getting free regions (vpodzime) - Fix the error message when setting part flag fails (vpodzime) - Add function for setting disk flags (vpodzime) - Add function for getting information about disk(s) (vpodzime) - Do not set nonsense partition paths (vpodzime) - Add function for getting partition by position (vpodzime) - Indicate if there was error from parted or not in set_parted_error() (vpodzime) - Minor fixes for the bd_part_get_part_spec() function (vpodzime) - Add support for extra GPT flags (vpodzime) - Add functionality for partition types (GUIDs) (vpodzime) - Add functionality for partition names (vpodzime) - Do not destroy disk objects we didn't get (vpodzime) - Add a function for setting multiple partition flags at once (vpodzime) - Remove the unused definition USE_PYTHON3 from configure.ac (vpodzime) - Use different BTRFS_MIN_MEMBER_SIZE on aarch64 (vpodzime) - Better release memory from parted objects on failures (vpodzime) - Rework how we do optimal alignment (vpodzime) - Do not try to destroy object we didn't get (vpodzime) - Don't pass sizes in bytes to LVM (#1317373) (vpodzime) - Add the libbytesize-devel build requires (vpodzime) - Search for the LVM DBus service in both active and activatable names (vpodzime) - Adapt to another stupid change in btrfs-progs (vpodzime) - Add the XFS-related functions to the documentation (vpodzime) - Add tests for the XFS-related functions (vpodzime) - Add support for the XFS file system to the FS plugin (vpodzime) - Add chunk_size to BDMDExamineData (vtrefny) - Add the subpackage for the FS plugin (vpodzime) - Add the FS plugin to the docs (vpodzime) - Add tests for the ext4 functionality in the fs plugin (vpodzime) - Add the FS plugin and the ext4 support (vpodzime) - Add a function for running utility reporting error and exit code (vpodzime) - Add the subpackage for the part plugin (vpodzime) - Add a missing BuildRequires for parted-devel (vpodzime) - Tag as both libblockdev-$version and just $version (vpodzime) - Add the 'part' plugin to documentation (vpodzime) - Add tests for the newly added part plugin (vpodzime) - Add the part plugin with storaged-required functionality (vpodzime)
This commit is contained in:
parent
46063a3804
commit
b6573092d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
|||||||
/libblockdev-1.3.tar.gz
|
/libblockdev-1.3.tar.gz
|
||||||
/libblockdev-1.4.tar.gz
|
/libblockdev-1.4.tar.gz
|
||||||
/libblockdev-1.5.tar.gz
|
/libblockdev-1.5.tar.gz
|
||||||
|
/libblockdev-1.6.tar.gz
|
||||||
|
121
libblockdev.spec
121
libblockdev.spec
@ -1,5 +1,5 @@
|
|||||||
Name: libblockdev
|
Name: libblockdev
|
||||||
Version: 1.5
|
Version: 1.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A library for low-level manipulation with block devices
|
Summary: A library for low-level manipulation with block devices
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -19,6 +19,9 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: glib2-doc
|
BuildRequires: glib2-doc
|
||||||
BuildRequires: kmod-devel
|
BuildRequires: kmod-devel
|
||||||
|
BuildRequires: parted-devel
|
||||||
|
BuildRequires: libblkid-devel
|
||||||
|
BuildRequires: libbytesize-devel
|
||||||
|
|
||||||
# Needed for the escrow tests in tests/crypto_test.py, but not used to build
|
# Needed for the escrow tests in tests/crypto_test.py, but not used to build
|
||||||
# BuildRequires: volume_key
|
# BuildRequires: volume_key
|
||||||
@ -148,6 +151,26 @@ This package contains header files and pkg-config files needed for development
|
|||||||
with the libblockdev-dm plugin/library.
|
with the libblockdev-dm plugin/library.
|
||||||
|
|
||||||
|
|
||||||
|
%package fs
|
||||||
|
Summary: The FS plugin for the libblockdev library
|
||||||
|
Requires: %{name}-utils%{?_isa} >= 0.11
|
||||||
|
Requires: device-mapper-multipath
|
||||||
|
|
||||||
|
%description fs
|
||||||
|
The libblockdev library plugin (and in the same time a standalone library)
|
||||||
|
providing the functionality related to operations with file systems.
|
||||||
|
|
||||||
|
%package fs-devel
|
||||||
|
Summary: Development files for the libblockdev-fs plugin/library
|
||||||
|
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-utils-devel%{?_isa}
|
||||||
|
Requires: glib2-devel
|
||||||
|
|
||||||
|
%description fs-devel
|
||||||
|
This package contains header files and pkg-config files needed for development
|
||||||
|
with the libblockdev-fs plugin/library.
|
||||||
|
|
||||||
|
|
||||||
%package kbd
|
%package kbd
|
||||||
Summary: The KBD plugin for the libblockdev library
|
Summary: The KBD plugin for the libblockdev library
|
||||||
Requires: %{name}-utils%{?_isa} >= 0.11
|
Requires: %{name}-utils%{?_isa} >= 0.11
|
||||||
@ -268,6 +291,27 @@ This package contains header files and pkg-config files needed for development
|
|||||||
with the libblockdev-mpath plugin/library.
|
with the libblockdev-mpath plugin/library.
|
||||||
|
|
||||||
|
|
||||||
|
%package part
|
||||||
|
Summary: The partitioning plugin for the libblockdev library
|
||||||
|
Requires: %{name}-utils%{?_isa} >= 0.11
|
||||||
|
Requires: device-mapper-multipath
|
||||||
|
Requires: gdisk
|
||||||
|
|
||||||
|
%description part
|
||||||
|
The libblockdev library plugin (and in the same time a standalone library)
|
||||||
|
providing the functionality related to partitioning.
|
||||||
|
|
||||||
|
%package part-devel
|
||||||
|
Summary: Development files for the libblockdev-part plugin/library
|
||||||
|
Requires: %{name}-part%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-utils-devel%{?_isa}
|
||||||
|
Requires: glib2-devel
|
||||||
|
|
||||||
|
%description part-devel
|
||||||
|
This package contains header files and pkg-config files needed for development
|
||||||
|
with the libblockdev-part plugin/library.
|
||||||
|
|
||||||
|
|
||||||
%package swap
|
%package swap
|
||||||
Summary: The swap plugin for the libblockdev library
|
Summary: The swap plugin for the libblockdev library
|
||||||
Requires: %{name}-utils%{?_isa} >= 0.11
|
Requires: %{name}-utils%{?_isa} >= 0.11
|
||||||
@ -313,11 +357,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
|
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
|
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
|
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
|
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
|
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
|
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
|
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-part%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
|
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
|
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
|
||||||
@ -349,6 +395,8 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%postun crypto -p /sbin/ldconfig
|
%postun crypto -p /sbin/ldconfig
|
||||||
%post dm -p /sbin/ldconfig
|
%post dm -p /sbin/ldconfig
|
||||||
%postun dm -p /sbin/ldconfig
|
%postun dm -p /sbin/ldconfig
|
||||||
|
%post fs -p /sbin/ldconfig
|
||||||
|
%postun fs -p /sbin/ldconfig
|
||||||
%post loop -p /sbin/ldconfig
|
%post loop -p /sbin/ldconfig
|
||||||
%postun loop -p /sbin/ldconfig
|
%postun loop -p /sbin/ldconfig
|
||||||
%post lvm -p /sbin/ldconfig
|
%post lvm -p /sbin/ldconfig
|
||||||
@ -359,6 +407,8 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%postun mdraid -p /sbin/ldconfig
|
%postun mdraid -p /sbin/ldconfig
|
||||||
%post mpath -p /sbin/ldconfig
|
%post mpath -p /sbin/ldconfig
|
||||||
%postun mpath -p /sbin/ldconfig
|
%postun mpath -p /sbin/ldconfig
|
||||||
|
%post part -p /sbin/ldconfig
|
||||||
|
%postun part -p /sbin/ldconfig
|
||||||
%post swap -p /sbin/ldconfig
|
%post swap -p /sbin/ldconfig
|
||||||
%postun swap -p /sbin/ldconfig
|
%postun swap -p /sbin/ldconfig
|
||||||
%post s390 -p /sbin/ldconfig
|
%post s390 -p /sbin/ldconfig
|
||||||
@ -429,6 +479,15 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%{_includedir}/blockdev/dm.h
|
%{_includedir}/blockdev/dm.h
|
||||||
|
|
||||||
|
|
||||||
|
%files fs
|
||||||
|
%{_libdir}/libbd_fs.so.*
|
||||||
|
|
||||||
|
%files fs-devel
|
||||||
|
%{_libdir}/libbd_fs.so
|
||||||
|
%dir %{_includedir}/blockdev
|
||||||
|
%{_includedir}/blockdev/fs.h
|
||||||
|
|
||||||
|
|
||||||
%files kbd
|
%files kbd
|
||||||
%{_libdir}/libbd_kbd.so.*
|
%{_libdir}/libbd_kbd.so.*
|
||||||
|
|
||||||
@ -483,6 +542,15 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%{_includedir}/blockdev/mpath.h
|
%{_includedir}/blockdev/mpath.h
|
||||||
|
|
||||||
|
|
||||||
|
%files part
|
||||||
|
%{_libdir}/libbd_part.so.*
|
||||||
|
|
||||||
|
%files part-devel
|
||||||
|
%{_libdir}/libbd_part.so
|
||||||
|
%dir %{_includedir}/blockdev
|
||||||
|
%{_includedir}/blockdev/part.h
|
||||||
|
|
||||||
|
|
||||||
%files swap
|
%files swap
|
||||||
%{_libdir}/libbd_swap.so.*
|
%{_libdir}/libbd_swap.so.*
|
||||||
|
|
||||||
@ -504,6 +572,50 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%files plugins-all
|
%files plugins-all
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 01 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.6-1
|
||||||
|
- Ignore merge commits when creating changelog (vpodzime)
|
||||||
|
- Only take the number of the first %changelog line found (vpodzime)
|
||||||
|
- Add some more detailed description to the part plugin (vpodzime)
|
||||||
|
- Fix a few extra issues with the const types (vpodzime)
|
||||||
|
- Add function for getting best free region (vpodzime)
|
||||||
|
- Add function for getting free regions (vpodzime)
|
||||||
|
- Fix the error message when setting part flag fails (vpodzime)
|
||||||
|
- Add function for setting disk flags (vpodzime)
|
||||||
|
- Add function for getting information about disk(s) (vpodzime)
|
||||||
|
- Do not set nonsense partition paths (vpodzime)
|
||||||
|
- Add function for getting partition by position (vpodzime)
|
||||||
|
- Indicate if there was error from parted or not in set_parted_error() (vpodzime)
|
||||||
|
- Minor fixes for the bd_part_get_part_spec() function (vpodzime)
|
||||||
|
- Add support for extra GPT flags (vpodzime)
|
||||||
|
- Add functionality for partition types (GUIDs) (vpodzime)
|
||||||
|
- Add functionality for partition names (vpodzime)
|
||||||
|
- Do not destroy disk objects we didn't get (vpodzime)
|
||||||
|
- Add a function for setting multiple partition flags at once (vpodzime)
|
||||||
|
- Remove the unused definition USE_PYTHON3 from configure.ac (vpodzime)
|
||||||
|
- Use different BTRFS_MIN_MEMBER_SIZE on aarch64 (vpodzime)
|
||||||
|
- Better release memory from parted objects on failures (vpodzime)
|
||||||
|
- Rework how we do optimal alignment (vpodzime)
|
||||||
|
- Do not try to destroy object we didn't get (vpodzime)
|
||||||
|
- Don't pass sizes in bytes to LVM (#1317373) (vpodzime)
|
||||||
|
- Add the libbytesize-devel build requires (vpodzime)
|
||||||
|
- Search for the LVM DBus service in both active and activatable names (vpodzime)
|
||||||
|
- Adapt to another stupid change in btrfs-progs (vpodzime)
|
||||||
|
- Add the XFS-related functions to the documentation (vpodzime)
|
||||||
|
- Add tests for the XFS-related functions (vpodzime)
|
||||||
|
- Add support for the XFS file system to the FS plugin (vpodzime)
|
||||||
|
- Add chunk_size to BDMDExamineData (vtrefny)
|
||||||
|
- Add the subpackage for the FS plugin (vpodzime)
|
||||||
|
- Add the FS plugin to the docs (vpodzime)
|
||||||
|
- Add tests for the ext4 functionality in the fs plugin (vpodzime)
|
||||||
|
- Add the FS plugin and the ext4 support (vpodzime)
|
||||||
|
- Add a function for running utility reporting error and exit code (vpodzime)
|
||||||
|
- Add the subpackage for the part plugin (vpodzime)
|
||||||
|
- Add a missing BuildRequires for parted-devel (vpodzime)
|
||||||
|
- Tag as both libblockdev-$version and just $version (vpodzime)
|
||||||
|
- Add the 'part' plugin to documentation (vpodzime)
|
||||||
|
- Add tests for the newly added part plugin (vpodzime)
|
||||||
|
- Add the part plugin with storaged-required functionality (vpodzime)
|
||||||
|
|
||||||
* Mon Mar 21 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.5-1
|
* Mon Mar 21 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.5-1
|
||||||
- Merge pull request #72 from vpodzime/master-faster_tests (vpodzime)
|
- Merge pull request #72 from vpodzime/master-faster_tests (vpodzime)
|
||||||
- Ignore all .bak files (vpodzime)
|
- Ignore all .bak files (vpodzime)
|
||||||
@ -554,13 +666,8 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
- Add pv_info to BDLVMPVdata (vtrefny)
|
- Add pv_info to BDLVMPVdata (vtrefny)
|
||||||
- btrfs now requires at least 128MiB device(s) (vpodzime)
|
- btrfs now requires at least 128MiB device(s) (vpodzime)
|
||||||
- Merge pull request #52 from vpodzime/master (vpodzime)
|
- Merge pull request #52 from vpodzime/master (vpodzime)
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 04 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-5
|
|
||||||
- Round size in thpoolcreate() to KiB (vpodzime)
|
- Round size in thpoolcreate() to KiB (vpodzime)
|
||||||
Resolves: rhbz#1289937
|
- Sync the %changelog in spec with downstream (vpodzime)
|
||||||
|
|
||||||
* Wed Nov 25 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-4
|
* Wed Nov 25 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-4
|
||||||
- Create the cache pool before the to-be-cached LV (vpodzime)
|
- Create the cache pool before the to-be-cached LV (vpodzime)
|
||||||
|
Loading…
Reference in New Issue
Block a user