Skip to content

Commit

Permalink
Fixes #18539 - Own the public/{assets,webpack} directories
Browse files Browse the repository at this point in the history
By owning the directories we can also ensure they are properly cleaned
up on upgrade.
  • Loading branch information
ekohl committed Aug 29, 2024
1 parent cf7f591 commit 020d2c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/katello/rubygem-katello/rubygem-katello.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global prereleasesource pre.master
%global prerelease %{?prereleasesource:.}%{?prereleasesource}
%global mainver 4.15.0
%global release 1
%global release 2

Name: rubygem-%{gem_name}
Version: %{mainver}
Expand Down Expand Up @@ -143,8 +143,11 @@ done
%{gem_instdir}/engines
%{gem_libdir}
%{gem_instdir}/locale
%dir %{gem_instdir}/public
%dir %{gem_instdir}/public/assets
%{gem_instdir}/public/assets/bastion
%{gem_instdir}/public/assets/bastion_katello
%dir %{gem_instdir}/public/webpack
%exclude %{gem_instdir}/vendor
%exclude %{gem_cache}
%{gem_spec}
Expand All @@ -168,6 +171,9 @@ done
%{foreman_plugin_log}

%changelog
* Thu Aug 29 2024 Ewoud Kohl van Wijngaarden <[email protected]> - 4.15.0-0.2.pre.master
- Own public/{assets,webpack} for proper cleanup on removal

* Tue Aug 20 2024 Chris Roberts <[email protected]> - 4.15.0-0.1.pre.master
- Bump version to 4.15.0

Expand Down

0 comments on commit 020d2c5

Please sign in to comment.