From: Ondrej Lichtner <olichtne(a)redhat.com>
Future versions will also create a new lnst-recipes.rpm package that
will contain recipes maintained by the LNST project.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst.spec | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/lnst.spec b/lnst.spec
index 8ef87a2..fa28c23 100644
--- a/lnst.spec
+++ b/lnst.spec
@@ -36,6 +36,10 @@ Requires(post): systemd, policycoreutils-python
Requires(preun): systemd
Requires(postun): systemd, policycoreutils-python
+
+%package recipes
+Summary: Linux Network Stack Test recipes
+
%description
Linux Network Stack Test is a tool useful for developing and performing
automated network tests. LNST focuses on maximum portability of the
@@ -53,6 +57,10 @@ LNST slave is a daemon that waits for instructions from LNST
controller.
It is able to react to a variety of commands from the controller and act
as a test node for executing network tests.
+%description recipes
+This package installs test recipes that are maintained by the LNST project.
+These can be used by the LNST controller.
+
%prep
%setup -q -n %{name}-%{version}
@@ -96,6 +104,7 @@ semanage fcontext -d -t unconfined_exec_t -f f
%{_bindir}/%{name}-slave
%{_sysconfdir}/bash_completion.d/%{name}-ctl.bash
%config(noreplace) %{_sysconfdir}/%{name}-ctl.conf
%{_datadir}/%{name}/
+%exclude %{_datadir}/%{name}/recipes/
%files slave
%{python_sitelib}/%{name}/Slave/
@@ -105,6 +114,10 @@ semanage fcontext -d -t unconfined_exec_t -f f
%{_bindir}/%{name}-slave
%config(noreplace) %{_sysconfdir}/%{name}-slave.conf
%{_unitdir}/%{name}-slave.service
+%files recipes
+%{_datadir}/%{name}/recipes/
+
+
%changelog
* Mon Jul 28 2014 Jiri Pirko <jpirko(a)redhat.com> - 5-1
- Updating to stable release 5
--
1.9.3
Show replies by date