Skip to content

Commit

Permalink
fix: move install out of post
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Dec 5, 2023
1 parent 7f6c517 commit a11065e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ultramarine/release/ultramarine-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ Provides the necessary files for a Ultramarine Atomic GNOME installation.
%if %{with atomic_desktop}
%package atomic-desktop
Summary: Common configuration package for atomic desktop variants

%description atomic-desktop
Common configuration package for atomic desktop variants
%endif
Expand Down Expand Up @@ -739,6 +739,13 @@ install -Dm0644 %{SOURCE9} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/user-preset/
install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/user.conf.d/

%if %{with atomic_desktop}

# Install rpm-ostree polkit rules
install -Dm0644 %{SOURCE32} -t %{buildroot}%{_datadir}/polkit-1/rules.d/

%endif

# the funny KDE system76 scheduler integration
%if %{with kde}

Expand All @@ -758,13 +765,6 @@ install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%preun identity-atomic-kde
%systemd_user_preun enable-kwin-system76-scheduler-integration.service

%endif

%if %{with atomic_desktop}

# Install rpm-ostree polkit rules
install -Dm0644 %{SOURCE32} -t %{buildroot}%{_datadir}/polkit-1/rules.d/

%endif

%files common
Expand Down

0 comments on commit a11065e

Please sign in to comment.