From 18d8869f8bb455e1d5838f6c7577b9a97e618d63 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 27 Dec 2020 11:37:06 +0100 Subject: [PATCH] Rebuild Signed-off-by: Igor Raits --- .rust2rpm.conf | 4 ++++ stratisd.spec | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..cbaaf11 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +buildrequires = + pkgconfig(libcryptsetup) >= 2.3.0 + pkgconfig(blkid) >= 2.32.0 diff --git a/stratisd.spec b/stratisd.spec index b901a2e..a281b0c 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -9,18 +9,19 @@ Name: stratisd Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Daemon that manages a pool of block devices to create flexible filesystems +# 0BSD or MIT or ASL 2.0 # ASL 2.0 # ASL 2.0 or Boost # BSD # MIT # MIT or ASL 2.0 +# MIT or zlib or ASL 2.0 # MPLv2.0 # Unlicense or MIT -# zlib -License: MPLv2.0 and ASL 2.0 and BSD and MIT and zlib +License: MPLv2.0 and ASL 2.0 and BSD and MIT URL: https://github.com/stratis-storage/stratisd Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -28,8 +29,6 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: systemd -BuildRequires: pkgconfig(libcryptsetup) >= 2.3.0 -BuildRequires: pkgconfig(blkid) >= 2.32.0 %{?systemd_requires} Requires: xfsprogs @@ -45,6 +44,8 @@ Requires: device-mapper-persistent-data %generate_buildrequires %cargo_generate_buildrequires echo '/usr/bin/a2x' +echo 'pkgconfig(libcryptsetup) >= 2.3.0' +echo 'pkgconfig(blkid) >= 2.32.0' %build %cargo_build @@ -61,8 +62,6 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_libexecdir}/stratisd mkdir -p %{buildroot}%{udevdir} mv %{buildroot}%{_bindir}/stratis_uuids_to_names %{buildroot}%{udevdir}/stratis_uuids_to_names -mkdir -p %{buildroot}/developer_tools - install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8 install -Dpm0644 -t %{buildroot}%{_udevrulesdir} udev/11-stratisd.rules @@ -91,12 +90,16 @@ install -Dpm0644 -t %{buildroot}%{_bindir} developer_tools/stratis_migrate_symli %{_bindir}/stratis_dbusquery_version %{_bindir}/stratis_migrate_symlinks.sh %dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/system.d %{_datadir}/dbus-1/system.d/stratisd.conf %{_mandir}/man8/stratisd.8* %{_unitdir}/stratisd.service -%config %{_udevrulesdir}/11-stratisd.rules +%{_udevrulesdir}/11-stratisd.rules %changelog +* Sun Dec 27 2020 Igor Raits - 2.2.1-2 +- Rebuild + * Mon Nov 9 2020 mulhern - 2.2.1-1 - Update to 2.2.1