summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs/networking-vpp.spec
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-06-07 15:12:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-07 15:12:25 +0000
commit1f346dd0052a8a24309a55058c54299803d95e09 (patch)
tree1d6302785626d2b7e7abcd1634ea036928752e71 /build/rpm_specs/networking-vpp.spec
parentd21460f3adaa6e454ee52b27a837f9d7e0ea7819 (diff)
parent7a9ba73da3e5cdc8b13b39f081e2a7108e2f3d89 (diff)
Merge "Adding rpmlint to the build"
Diffstat (limited to 'build/rpm_specs/networking-vpp.spec')
-rw-r--r--build/rpm_specs/networking-vpp.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/rpm_specs/networking-vpp.spec b/build/rpm_specs/networking-vpp.spec
index 97668c8c..4211f94a 100644
--- a/build/rpm_specs/networking-vpp.spec
+++ b/build/rpm_specs/networking-vpp.spec
@@ -39,12 +39,12 @@ EOF
%install
python setup.py install -O1 --root=%{buildroot} --record=INSTALLED_FILES
-mkdir -p %{buildroot}/usr/lib/systemd/system
-install %{_builddir}/neutron-vpp-agent.service %{buildroot}/usr/lib/systemd/system
+mkdir -p %{buildroot}%{_libdir}/systemd/system
+install %{_builddir}/neutron-vpp-agent.service %{buildroot}%{_unitdir}
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
-%attr(644,root,root) /usr/lib/systemd/system/neutron-vpp-agent.service
+%attr(644,root,root) %{_unitdir}/neutron-vpp-agent.service