From 6c7263527135635642fc7a74cba45377911b7202 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 9 Mar 2019 15:14:27 +0100 Subject: [PATCH] BR: systemd-rpm-macros Signed-off-by: Igor Gnatenko --- .rust2rpm.conf | 3 +++ rust-zram-generator.spec | 1 + 2 files changed, 4 insertions(+) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..4b8b165 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +buildrequires = + systemd-rpm-macros diff --git a/rust-zram-generator.spec b/rust-zram-generator.spec index 362dc89..3ab5bf2 100644 --- a/rust-zram-generator.spec +++ b/rust-zram-generator.spec @@ -22,6 +22,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(failure/default) >= 0.1.2 with crate(failure/default) < 0.2.0) BuildRequires: (crate(failure_derive/default) >= 0.1.0 with crate(failure_derive/default) < 0.2.0) BuildRequires: (crate(rust-ini/default) >= 0.13.0 with crate(rust-ini/default) < 0.14.0) +BuildRequires: systemd-rpm-macros %global _description \ This is a systemd unit generator that creates a unit file to create a\