mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-03 14:32:40 +00:00
Add systemd unit to spec file
This commit is contained in:
parent
a7a75b9c13
commit
e833155115
1 changed files with 2 additions and 0 deletions
2
dist/rpm/arsse.spec
vendored
2
dist/rpm/arsse.spec
vendored
|
@ -129,6 +129,7 @@ generally preferred as it receives more testing.
|
||||||
mkdir -p "%{buildroot}%{_datadir}/php/arsse" "%{buildroot}%{_mandir}"
|
mkdir -p "%{buildroot}%{_datadir}/php/arsse" "%{buildroot}%{_mandir}"
|
||||||
cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}%{_datadir}/php/arsse"
|
cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}%{_datadir}/php/arsse"
|
||||||
cp -r dist/man/* "%{buildroot}%{_mandir}"
|
cp -r dist/man/* "%{buildroot}%{_mandir}"
|
||||||
|
cp dist/systemd/arsse-fetch.service "%{buildroot}%{_unitdir}/arsse.service"
|
||||||
install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse"
|
install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -137,3 +138,4 @@ install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse"
|
||||||
%{_datadir}/php/arsse
|
%{_datadir}/php/arsse
|
||||||
%{_mandir}/man*/arsse.*
|
%{_mandir}/man*/arsse.*
|
||||||
%{_bindir}/arsse
|
%{_bindir}/arsse
|
||||||
|
%{_unitdir}/arsse.service
|
||||||
|
|
Loading…
Reference in a new issue