Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For many packages spec-cleaner loses package name in the initial comment #301

Closed
hramrach opened this issue Jan 27, 2023 · 2 comments
Closed

Comments

@hramrach
Copy link

hramrach commented Jan 27, 2023

--- qemu.spec   2023-01-25 15:08:31.000000000 +0100
+++ -   2023-01-27 19:15:54.865551788 +0100
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for package qemu
 #
 # Copyright (c) 2023 SUSE LLC
 #


--- lua-lpeg.spec       2022-11-23 11:25:17.733676140 +0100
+++ -   2023-01-27 19:16:24.751226045 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package lua-lpeg
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed


--- graphviz.spec       2022-11-16 15:42:28.000000000 +0100
+++ -   2023-01-27 19:17:46.693778543 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package graphviz
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed


@kubat-david
Copy link
Contributor

Hi, I tried to reproduce the issue but either I'm doing something wrong or something else is causing it (not spec-cleaner).

$ head -n4 qemu.spec 
#
# spec file for package qemu
#
# Copyright (c) 2023 SUSE LLC
[dkubat@fedora graphiz]$ spec-cleaner  -i qemu.spec 
[dkubat@fedora graphiz]$ head -n4 qemu.spec 
#
# spec file for package qemu
#
# Copyright (c) 2023 SUSE LLC

For the record, I'm using spec-cleaner version 1.2.1.

@hramrach
Copy link
Author

hramrach commented Feb 1, 2023

Indeed, it must be some OBS service breaking the sources, not spec cleaner. Sorry about the noise.

@hramrach hramrach closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants