Skip to content

Commit

Permalink
fix(web): package: do not try to install non-existant directories (#1588
Browse files Browse the repository at this point in the history
)

The logos/ directory is already inside web_ui/.


## Problem

Latest agama-web-ui [is not
building](https://build.opensuse.org/package/live_build_log/systemsmanagement:Agama:Devel/agama-web-ui/openSUSE_Tumbleweed/x86_64)
after #1587 .


## Solution

Since the logos are already installed in `web_ui/logos`, we can drop the
two (non-existent)? directories
listed in the %files section:

```
%{_datadir}/agama/assets
%{_datadir}/agama/products
```


## Testing

- *Tested manually*
  • Loading branch information
imobachgs authored Sep 6, 2024
2 parents f05eb53 + 35b702d commit 83ab8e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions web/package/agama-web-ui.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 6 16:38:06 UTC 2024 - Eugenio Paolantonio <[email protected]>

- Do not try to install assets/ and products/ directories (everything
is inside agama/web_ui/ already)

-------------------------------------------------------------------
Fri Sep 6 15:04:58 UTC 2024 - Lubos Kocman <[email protected]>

Expand Down
2 changes: 0 additions & 2 deletions web/package/agama-web-ui.spec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ install -D -m 0644 --target-directory=%{buildroot}%{_datadir}/agama/web_ui/asset
%license LICENSE
%dir %{_datadir}/agama
%{_datadir}/agama/web_ui
%{_datadir}/agama/assets
%{_datadir}/agama/products

%changelog

0 comments on commit 83ab8e8

Please sign in to comment.