Commit 76dee8cf authored by Andre Georg Holzner's avatar Andre Georg Holzner
Browse files

references #4324: using %{_datarootdir} instead of /usr/share for fedkit-example.c


git-svn-id: file:///tmp/cmsos_migration/cmsos.svndb/releases/baseline13/trunk@29857 c528359e-2999-456a-ae53-7ba8edf254b3
parent 30f92b11
......@@ -72,7 +72,7 @@ install -m 755 libfedkit.so libfedkit.a $RPM_BUILD_ROOT/usr/lib/
install -m 644 include/*.h $RPM_BUILD_ROOT/usr/include/fedkit/
install -m 755 fedkit-dump-receiver fedkit-dump-receiver-check fedkit-test-merge $RPM_BUILD_ROOT/usr/bin
install -m 755 fedkit.init $RPM_BUILD_ROOT/etc/init.d/fedkit
install -m 644 fedkit-example.c $RPM_BUILD_ROOT/usr/share/fedkit-%{version}/
install -m 644 fedkit-example.c $RPM_BUILD_ROOT/%{_datarootdir}/daq-fedkit-%{version}/
mkdir -p $RPM_BUILD_ROOT/usr/share/hwdata/pci.ids.d/
install -m 644 driver/cms-daq-fedkit.ids $RPM_BUILD_ROOT/usr/share/hwdata/pci.ids.d/
......@@ -113,6 +113,7 @@ find ./ -type d -exec chmod 755 {} \;
%defattr(-,root,root,-)
%{_prefix}/include/*
%{_prefix}/src/debug/daq-fedkit-%{version}/*
%{_datarootdir}/daq-fedkit-%{version}/*
%files -n kernel-module-daq-fedkit-%{kernel}
%defattr(-,root,root,-)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment