File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ URL: http://github.com/journeymidnight/yig
1313Source0: %{name }-%{version }-%{rel }.tar.gz
1414BuildRoot: %(mktemp -ud %{_tmppath }/%{name }-%{version }-%{release }-XXXXXX)
1515#BuildRequires:
16- Requires: libradosstriper1
17- Requires: librados2
18- Requires: librdkafka1
16+ Requires: libradosstriper1,librados2,librdkafka1
1917
2018%description
2119
@@ -45,6 +43,8 @@ install -D -m 644 package/yig.service %{buildroot}/usr/lib/systemd/system/yig.
4543install -D -m 644 package/yig_delete.service %{buildroot }/usr/lib/systemd/system/yig_delete.service
4644install -D -m 644 package/yig_lc.service %{buildroot }/usr/lib/systemd/system/yig_lc.service
4745install -D -m 644 conf/yig.toml %{buildroot }%{_sysconfdir }/yig/yig.toml
46+ install -d %{buildroot }%{_sysconfdir }/yig/plugins/
47+ cp -a plugins/* .so %{buildroot }%{_sysconfdir }/yig/plugins/
4848install -d %{buildroot }/var/log/yig/
4949
5050#ceph confs ?
@@ -63,6 +63,7 @@ rm -rf %{buildroot}
6363%files
6464%defattr(-,root,root,-)
6565%config(noreplace) /etc/yig/yig.toml
66+ /etc/yig/plugins/*
6667/usr/bin/yig_admin
6768/usr/bin/yig
6869/usr/bin/yig_delete_daemon
You can’t perform that action at this time.
0 commit comments