8585%define configure_opts %{?python3_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?tools_copts} %{?gi_copts} %{?nvme_copts} %{?smart_copts} %{?smartmontools_copts}
8686
8787Name: libblockdev
88- Version: 3.2.0
88+ Version: 3.2.1
8989Release: 1%{?dist}
9090Summary: A library for low-level manipulation with block devices
9191License: LGPL-2.1-or-later
9292URL: https://github.com/storaged-project/libblockdev
93- Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-%{release} /%{name}-%{version}.tar.gz
93+ Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}/%{name}-%{version}.tar.gz
9494
9595BuildRequires: make
9696BuildRequires: glib2-devel
@@ -635,7 +635,19 @@ A meta-package that pulls all the libblockdev plugins as dependencies.
635635%autosetup -n %{name}-%{version} -p1
636636
637637%build
638+ # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2247319
639+ %ifarch aarch64
640+ find . -name Makefile.am | xargs sed -i -e 's/-Werror//g'
641+ %endif
642+
638643autoreconf -ivf
644+
645+ # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2247319
646+ %ifarch aarch64
647+ %global _fortify_level 0
648+ %global optflags $(echo %optflags | sed -e 's/-O2/-O0/g') -Wp,-D_FORTIFY_SOURCE=0
649+ %endif
650+
639651%configure %{?configure_opts}
640652%{__make} %{?_smp_mflags}
641653
@@ -946,6 +958,21 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
946958%files plugins-all
947959
948960%changelog
961+ * Thu Nov 07 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.2.1-1
962+ - Makefile: Fix generating RPM log during bumpver (vtrefny)
963+ - nvme: Avoid element-type g-i annotations (tbzatek)
964+ - ci: Install 'python3-libdnf5' for TMT test plans (vtrefny)
965+ - lvm: Clarify the global config functionallity in libblockdev (vtrefny)
966+ - smart: Clarify ID_ATA_SMART_ACCESS udev property values (tbzatek)
967+ - smart: Clarify use of ID_ATA_SMART_ACCESS udev property (tbzatek)
968+ - ci: Do not try to install test dependencies for CodeQL analysis (vtrefny)
969+ - misc: Fix installing test dependencies on Debian/Ubuntu (vtrefny)
970+ - dist: Sync spec with downstream (vtrefny)
971+ - crypto: check that IOC_OPAL_GET_STATUS is defined (james.hilliard1)
972+ - packit: Fix generating spec from template (vtrefny)
973+ - dist: Fix source URL in spec (vtrefny)
974+ - README: Update supported technologies (vtrefny)
975+
949976* Tue Sep 10 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.2.0-1
950977- ci: Add a simple GH action to run spelling tools on our code (vtrefny)
951978- crypto: Fix GType macro for crypto context (vtrefny)
@@ -1053,6 +1080,37 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
10531080- Makefile: Fix bumpver to work with micro versions (vtrefny)
10541081- Makefile: Do not include release in the tag (vtrefny)
10551082
1083+ * Thu Aug 15 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-11
1084+ - crypto: LUKS OPAL support (#2304174)
1085+
1086+ * Fri Jul 26 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-10
1087+ - fs: Ignore unused-parameter warning in the FS plugin
1088+
1089+ * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-9
1090+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
1091+
1092+ * Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.1.1-8
1093+ - Rebuilt for Python 3.13
1094+
1095+ * Thu Apr 11 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-7
1096+ - Disable -Werror and build with -O0 on aarch64 to workaround #2247319
1097+
1098+ * Mon Apr 08 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-6
1099+ - Back to standard build by reverting instrumentations for #2247319
1100+
1101+ * Fri Apr 05 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-5
1102+ - Apply ASAN instrumentation for #2247319
1103+
1104+ * Wed Mar 27 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-4
1105+ - Apply UBSAN instrumentation per Dan Horák for #2247319
1106+
1107+ * Tue Mar 26 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-3
1108+ - Drop the de-optimization changes from -2
1109+
1110+ * Tue Mar 26 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-2
1111+ - Backport proposed upstream fix for #2247319
1112+ - Disable -Werror and build with -O0 to help further debug #2247319
1113+
10561114* Tue Mar 26 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-1
10571115- lvm-dbus: Fix passing size for pvresize over DBus (vtrefny)
10581116- nvme: Add bd_nvme_is_tech_avail to the API file (vtrefny)
@@ -1067,6 +1125,21 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
10671125- Use glib2 G_GNUC_UNUSED in place of UNUSED locally defined (giulio.benetti)
10681126- Makefile: Fix bumpver to work with micro versions (vtrefny)
10691127
1128+ * Sat Mar 23 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-6
1129+ - Slightly stronger workaround attempt for #2247319
1130+
1131+ * Sat Mar 23 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-5
1132+ - Tentative workaround for #2247319 based on diagnosis from -4
1133+
1134+ * Fri Mar 22 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-4
1135+ - Try something else dumb to diagnose #2247319
1136+
1137+ * Thu Mar 21 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-3
1138+ - Disable some log statements to see if it works around #2247319
1139+
1140+ * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
1141+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1142+
10701143* Fri Jan 19 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.0-1
10711144- tests: Skip some checks for btrfs errors with btrfs-progs 6.6.3 (vtrefny)
10721145- Fix missing progress initialization in bd_crypto_luks_add_key (vtrefny)
0 commit comments