Skip to content

Commit

Permalink
fix(auto): remove scriptlets section (#1430)
Browse files Browse the repository at this point in the history
`agama-auto` is a one-shot service and does not need an scriptlets
section in the spec. Not to
mention that it was wrongly referring to the `agama-web-server` service.
  • Loading branch information
imobachgs authored Jul 3, 2024
2 parents 3ad4efd + fef23d2 commit 1845d2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 6 additions & 0 deletions autoinstallation/package/agama-auto.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 3 07:14:39 UTC 2024 - Imobach Gonzalez Sosa <[email protected]>

- Remove scriptlets section from the spec file
(gh#openSUSE/agama#1430).

-------------------------------------------------------------------
Thu Jun 27 13:58:17 UTC 2024 - Imobach Gonzalez Sosa <[email protected]>

Expand Down
12 changes: 0 additions & 12 deletions autoinstallation/package/agama-auto.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/agama/bin/agama-auto %{buildroot}%{_bindir}/agama-auto
install -D -m 0644 %{_builddir}/agama/systemd/agama-auto.service %{buildroot}%{_unitdir}/agama-auto.service

%pre
%service_add_pre agama-web-server.service

%post
%service_add_post agama-web-server.service

%preun
%service_del_preun agama-web-server.service

%postun
%service_del_preun agama-web-server.service

%files
%{_bindir}/agama-auto
%{_unitdir}/agama-auto.service

0 comments on commit 1845d2c

Please sign in to comment.