Skip to content

Commit b47dca7

Browse files
authored
Merge pull request #565 from mulkieran/revert-vendor
Revert "Unconditionally vendor stratisd"
2 parents 59cbef7 + 047a8f4 commit b47dca7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mockbuild_test/stratisd.spec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,15 @@ Requires: stratisd
8585
%{summary}. This package should not be used in production.
8686

8787
%prep
88-
%autosetup -n stratisd-stratisd-v%{version} -a1
88+
%autosetup -n stratisd-stratisd-v%{version} %{?rhel:-a1}
8989

90+
%if 0%{?rhel}
9091
%cargo_prep -v vendor
92+
%else
93+
%cargo_prep
94+
%generate_buildrequires
95+
%cargo_generate_buildrequires -f engine,dbus_enabled,min,systemd_compat,extras,udev_scripts
96+
%endif
9197

9298
%build
9399
%{cargo_license -f engine,dbus_enabled,min,systemd_compat,extras,udev_scripts} > LICENSE.dependencies

0 commit comments

Comments
 (0)