Skip to content

Commit ab3a468

Browse files
authored
Merge pull request #168 from yast/immutable-without-var
Immutable packaging fix: Do not package the log directory under /var (PED#14910)
2 parents 524bc44 + b4c58ae commit ab3a468

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

package/yast2-core.changes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
-------------------------------------------------------------------
2+
Wed Jan 28 15:36:19 UTC 2026 - Martin Vidner <mvidner@suse.com>
3+
4+
- Immutable packaging fix: Do not package the log directory
5+
under /var (jsc#PED-14910)
6+
- 5.0.4
7+
18
-------------------------------------------------------------------
29
Mon Jan 20 10:41:17 UTC 2025 - Martin Vidner <mvidner@suse.com>
310

package/yast2-core.spec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
%bcond_with werror
2727

2828
Name: yast2-core
29-
Version: 5.0.3
29+
Version: 5.0.4
3030
Release: 0
3131
Url: https://github.com/yast/yast-core
3232

@@ -112,7 +112,6 @@ CXXFLAGS="${CXXFLAGS/-grecord-gcc-switches/}"
112112
%install
113113
%yast_install
114114

115-
mkdir -p "$RPM_BUILD_ROOT"%{yast_logdir}
116115
%perl_process_packlist
117116

118117
%post
@@ -129,7 +128,7 @@ mkdir -p "$RPM_BUILD_ROOT"%{yast_logdir}
129128
%endif
130129
%dir /usr/share/YaST2
131130

132-
%dir %attr(0700,root,root) %{yast_logdir}
131+
%ghost %dir %attr(0700,root,root) %{yast_logdir}
133132
%dir %{yast_ybindir}
134133
%dir %{yast_plugindir}
135134
%dir %{yast_scrconfdir}

0 commit comments

Comments
 (0)