Commit d2f11c04 authored by Jonathan Swaelens's avatar Jonathan Swaelens

🚑 fix(spec): Replace /%{_lib}/ by /lib

Replace /%{_lib}/ by /lib
Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
parent 47be5679
......@@ -208,12 +208,12 @@ cd -
rm -rf %{buildroot}
# Directories
mkdir -p %{buildroot}/%{_lib}/systemd/system/
mkdir -p %{buildroot}/lib/systemd/system/
mkdir -p %{buildroot}/%{_sbindir}/
mkdir -p %{buildroot}/%{_datadir}/perl5/
mkdir -p %{buildroot}/%{_datadir}/man1/
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/
mkdir -p %{buildroot}/usr/%{_lib}/fai/
mkdir -p %{buildroot}/usr/lib/fai/
mkdir -p %{buildroot}/%{_sysconfdir}/fai/nfsroot-hooks/
mkdir -p %{buildroot}/%{_datadir}/perl5/Argonaut/Fuse/Modules/
mkdir -p %{buildroot}/%{_datadir}/perl5/Argonaut/Server/Modules/
......@@ -323,10 +323,10 @@ cp -a ./Argonaut/ %{buildroot}/%{_datadir}/perl5/
cd ..
# Copy service file
cp %{S:1} %{buildroot}/%{_lib}/systemd/system/
cp %{S:2} %{buildroot}/%{_lib}/systemd/system/
cp %{S:3} %{buildroot}/%{_lib}/systemd/system/
cp %{S:4} %{buildroot}/%{_lib}/systemd/system/
cp %{S:1} %{buildroot}/lib/systemd/system/
cp %{S:2} %{buildroot}/lib/systemd/system/
cp %{S:3} %{buildroot}/lib/systemd/system/
cp %{S:4} %{buildroot}/lib/systemd/system/
# Set the good rights
chmod +x %{buildroot}/%{_sbindir}/*
......@@ -376,7 +376,7 @@ rm -rf %{buildroot}
%{_datadir}/perl5/Argonaut/ClientDaemon/Modules/Service.pm
%{_datadir}/perl5/Argonaut/ClientDaemon/Modules/System.pm
%{_datadir}/man1/%{name}-client.1.gz
/%{_lib}/systemd/system/%{name}-client.service
/lib/systemd/system/%{name}-client.service
%files common
%defattr(-,root,root,-)
......@@ -409,7 +409,7 @@ rm -rf %{buildroot}
%{_datadir}/perl5/Argonaut/Server/ModulesPool.pm
%{_datadir}/perl5/Argonaut/Server/Modules/Argonaut.pm
%{_datadir}/man1/%{name}-server.1.gz
/%{_lib}/systemd/system/%{name}-server.service
/lib/systemd/system/%{name}-server.service
%files fuse-module-fai
%defattr(-,root,root,-)
......@@ -429,14 +429,14 @@ rm -rf %{buildroot}
%{_sysconfdir}/logrotate.d/%{name}-fuse
%{_sbindir}/%{name}-fuse
%{_datadir}/man1/argonaut-fuse.1.gz
/%{_lib}/systemd/system/%{name}-fuse.service
/lib/systemd/system/%{name}-fuse.service
%files fai-monitor
%defattr(-,root,root,-)
%doc Authors.md Changelog.md
/usr/sbin/%{name}-fai-monitor
%{_datadir}/man1/%{name}-fai-monitor.1.gz
/%{_lib}/systemd/system/%{name}-fai-monitor.service
/lib/systemd/system/%{name}-fai-monitor.service
%files yumgroup2yumi
%defattr(-,root,root,-)
......
Markdown is supported
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