[Bug 1203945] New: systemd-rpm-macros: syntax error in %tmpfiles_create_package()
https://bugzilla.suse.com/show_bug.cgi?id=1203945 Bug ID: 1203945 Summary: systemd-rpm-macros: syntax error in %tmpfiles_create_package() Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.wilck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I tried %tmpfiles_create_package in my latest package
Sep 30 23:07:23 apollon.suse.de [RPM][19156]: scriptlet %prein(multipath-tools-0.9.1+61+suse.5a0a5cd-6.1.x86_64) failure: 2 Sep 30 23:07:23 apollon.suse.de [RPM][19156]: install multipath-tools-0.9.1+61+suse.5a0a5cd-6.1.x86_64: failure
Introduced with this change: * Thu May 20 2021 Franck Bui <fbui@suse.com> - Introduce %sysusers_create_package %sysusers_create and %sysusers_create_inline are now deprecated and the new macro should be used instead. Upstream commit 07a7d4a0040d221ff09e527e91c112b4ffab1dba. - Introduce %tmpfiles_create_package %%tmpfiles_create is now deprecreated and the new macros should be used instead. Upstream commit 0f78fee8d039000b987848a558fbaa15d916e14e. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |systemd-maintainers@suse.de QA Contact|qa-bugs@suse.de | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c1 --- Comment #1 from Martin Wilck <martin.wilck@suse.com> --- Remark: It's kind of weird to see this in macros.systemd
# Deprecated. Use %tmpfiles_create_package instead %tmpfiles_create() ...
While at the same time rpmlint complains:
(this was for the package where I used the broken %tmpfiles_create_package, trying to use the latest greatest macros) Perhaps somewhat premature depreciation? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c2 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fbui@suse.com --- Comment #2 from Franck Bui <fbui@suse.com> --- (In reply to Martin Wilck from comment #0)
Oops... I'll fix it ASAP. Thanks for being the first user/tester of these new RPM macros ;) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c3 --- Comment #3 from Franck Bui <fbui@suse.com> --- (In reply to Martin Wilck from comment #1)
I wasn't aware of the check done by rpmlint (or maybe I forgot). I'll open a bug report against rpmlint. Thanks for spotting. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c4 --- Comment #4 from Franck Bui <fbui@suse.com> --- (In reply to Franck Bui from comment #3)
I wasn't aware of the check done by rpmlint (or maybe I forgot). I'll open a bug report against rpmlint.
bsc#1203962 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c5 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #5 from Franck Bui <fbui@suse.com> --- (In reply to Franck Bui from comment #2)
Oops... I'll fix it ASAP.
Fix submitted via sr#1007693, hence closing. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |systemd-maintainers@suse.de QA Contact|qa-bugs@suse.de | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c1 --- Comment #1 from Martin Wilck <martin.wilck@suse.com> --- Remark: It's kind of weird to see this in macros.systemd
# Deprecated. Use %tmpfiles_create_package instead %tmpfiles_create() ...
While at the same time rpmlint complains:
(this was for the package where I used the broken %tmpfiles_create_package, trying to use the latest greatest macros) Perhaps somewhat premature depreciation? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c2 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fbui@suse.com --- Comment #2 from Franck Bui <fbui@suse.com> --- (In reply to Martin Wilck from comment #0)
Oops... I'll fix it ASAP. Thanks for being the first user/tester of these new RPM macros ;) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c3 --- Comment #3 from Franck Bui <fbui@suse.com> --- (In reply to Martin Wilck from comment #1)
I wasn't aware of the check done by rpmlint (or maybe I forgot). I'll open a bug report against rpmlint. Thanks for spotting. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203945 https://bugzilla.suse.com/show_bug.cgi?id=1203945#c4 --- Comment #4 from Franck Bui <fbui@suse.com> --- (In reply to Franck Bui from comment #3)
I wasn't aware of the check done by rpmlint (or maybe I forgot). I'll open a bug report against rpmlint.
bsc#1203962 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com