abraunegg-onedrive/contrib
Brian McCafferty a348750ec6
Update onedrive.spec.in to fix error building RPM (#2145)
Updating the line
%{_unitdir}/%{name}.service
to 
%{_userunitdir}/%{name}.service

This fixes the issue when building the RPM on RHEL7/8/9 with the following error:
RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/onedrive-2.4.20-1.el7.x86_64/usr/lib/systemd/system/onedrive.service

This is due to the file actually being created in:
/root/rpmbuild/BUILDROOT/onedrive-2.4.20-1.el7.x86_64/usr/lib/systemd/user/onedrive.service

Changing _unitdir to _userunitdir fixes this error and allows the RPMs to be build correctly.
2022-09-24 17:29:53 +10:00
..
completions Various little spelling fixes (check with lintian during Debian packaging) (#2027) 2022-07-02 05:14:50 +10:00
docker Implement --display-running-config (#2064) 2022-08-06 06:25:58 +10:00
gentoo Release files for 2.4.20 (#2052) 2022-07-20 20:26:58 +10:00
init.d Fix Codacy issues (#881) 2020-04-22 13:23:15 +10:00
logrotate Rework directory layout and refactor MD files for readability (#523) 2019-06-11 18:40:05 +10:00
pacman Rework directory layout and refactor MD files for readability (#523) 2019-06-11 18:40:05 +10:00
spec Update onedrive.spec.in to fix error building RPM (#2145) 2022-09-24 17:29:53 +10:00
systemd Add SystemD hardening (#1720) 2021-11-25 06:28:46 +11:00