[opensuse-packaging] changelog exists in my OSC pacakge build, but RPMLINT not finding it
I'm creating a package using OBS, and keep getting an rpmlint error about changelog that I can't figure out. My spec file has the required '%changelog' section cat test.spec ... %build make %install make INSTALL_PREFIX=$RPM_BUILD_ROOT install %clean rm -rf %{buildroot} %post %postun %files %changelog test.changes And the changelog file exists in the package dir locally ls test.changes test.changes But when I run the build osc build --clean --local-package test.spec This is in the RMPLINT report [ 42s] RPMLINT report: [ 42s] =============== [ 42s] test.noarch: W: suse-filelist-empty packages without any files are discouraged in SUSE [ 42s] test.noarch: W: no-changelogname-tag [ 42s] test.src: W: no-changelogname-tag [ 42s] There is no changelog. Please insert a '%changelog' section heading in your [ 42s] spec file and prepare your changes file using e.g. the 'osc vc' command. [ 42s] [ 42s] 2 packages and 0 specfiles checked; 0 errors, 3 warnings. [ 42s] What do I gotta do here to get this changelog settled? ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
<aleph2@vfemail.net> Sat, 25 Apr 2015 06:40:22 +0300:
I'm creating a package using OBS, and keep getting an rpmlint error about changelog that I can't figure out.
My spec file has the required '%changelog' section
cat test.spec ... %build make
%install make INSTALL_PREFIX=$RPM_BUILD_ROOT install
%clean rm -rf %{buildroot}
%post
%postun
%files
%changelog test.changes ← Delete this line!
Fix /l\
And the changelog file exists in the package dir locally
ls test.changes test.changes
But when I run the build
osc build --clean --local-package test.spec
This is in the RMPLINT report
[ 42s] RPMLINT report: [ 42s] =============== [ 42s] test.noarch: W: suse-filelist-empty packages without any files are discouraged in SUSE [ 42s] test.noarch: W: no-changelogname-tag [ 42s] test.src: W: no-changelogname-tag [ 42s] There is no changelog. Please insert a '%changelog' section heading in your [ 42s] spec file and prepare your changes file using e.g. the 'osc vc' command. [ 42s] [ 42s] 2 packages and 0 specfiles checked; 0 errors, 3 warnings. [ 42s]
What do I gotta do here to get this changelog settled?
The latest spec line involves broken changelog entry and RPMLINT reports it in this strange way. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi!
%changelog test.changes ← Delete this line!
Fix /l\
What do I gotta do here to get this changelog settled?
The latest spec line involves broken changelog entry and RPMLINT reports it in this strange way.
I deleted that line and tried again. Same error :-( What are you saying is broken? My entry that I deleted or something else? ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
В Sat, 25 Apr 2015 03:40:22 +0000 aleph2@vfemail.net пишет:
I'm creating a package using OBS, and keep getting an rpmlint error about changelog that I can't figure out.
My spec file has the required '%changelog' section
cat test.spec ... %build make
%install make INSTALL_PREFIX=$RPM_BUILD_ROOT install
%clean rm -rf %{buildroot}
%post
%postun
%files
%changelog test.changes
And the changelog file exists in the package dir locally
ls test.changes test.changes
What is the content of this file?
But when I run the build
osc build --clean --local-package test.spec
This is in the RMPLINT report
[ 42s] RPMLINT report: [ 42s] =============== [ 42s] test.noarch: W: suse-filelist-empty packages without any files are discouraged in SUSE [ 42s] test.noarch: W: no-changelogname-tag [ 42s] test.src: W: no-changelogname-tag [ 42s] There is no changelog. Please insert a '%changelog' section heading in your [ 42s] spec file and prepare your changes file using e.g. the 'osc vc' command. [ 42s] [ 42s] 2 packages and 0 specfiles checked; 0 errors, 3 warnings. [ 42s]
What do I gotta do here to get this changelog settled?
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 2015-04-25 06:11, Andrei Borzenkov wrote:
And the changelog file exists in the package dir locally
ls test.changes test.changes
What is the content of this file?
cat test.changes ------------------------------------------------------------------- Sat Apr 25 01:16:04 UTC 2015 - aleph2@vfemail.net test- ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
<aleph2@vfemail.net> Sat, 25 Apr 2015 09:20:15 +0300:
On 2015-04-25 06:11, Andrei Borzenkov wrote:
And the changelog file exists in the package dir locally ls test.changes test.changes
What is the content of this file?
cat test.changes ------------------------------------------------------------------- Sat Apr 25 01:16:04 UTC 2015 - aleph2@vfemail.net
test-
-------------------------------------------------
No problems at my PC with
------------------------------------------------------------------- Sat Apr 25 21:23:04 UTC 2015 - aleph2@vfemail.net test-
:( -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 25 Apr 2015 23:39, Dmitriy Perlow <dap@...> wrote:
<aleph2@vfemail.net> Sat, 25 Apr 2015 09:20:15 +0300:
On 2015-04-25 06:11, Andrei Borzenkov wrote:
And the changelog file exists in the package dir locally ls test.changes test.changes
What is the content of this file?
cat test.changes ------------------------------------------------------------------- Sat Apr 25 01:16:04 UTC 2015 - aleph2@vfemail.net
test-
-------------------------------------------------
No problems at my PC with
------------------------------------------------------------------- Sat Apr 25 21:23:04 UTC 2015 - aleph2@vfemail.net test-
Have a look at the output of a 'proven' package, esp. on the 'spaceing', similar to ruby, its not trivial. e.g. "rpm --changelog -q bash" Background: on the build-machines of build.opensuse.org are harder rules valid and they are harshly enforced for conformity. On your home-machine, the default osc is nearly as lax, as no buildservice at all. Some Gurus can tell you what extra package in the setup of the build-service causes this. (For testing: place a "rpm -qa" in your spec file and compare the output of @home and @opensuse) - Yamaban. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 25 Apr 2015 06:20:15 +0000 aleph2@vfemail.net wrote:
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Looks not good for openSUSE ML. Any moderator, please? -- WBR Kyrill
On Sat, Apr 25, 2015 at 06:20:15AM +0000, aleph2@vfemail.net wrote:
On 2015-04-25 06:11, Andrei Borzenkov wrote:
And the changelog file exists in the package dir locally
ls test.changes test.changes
What is the content of this file?
cat test.changes ------------------------------------------------------------------- Sat Apr 25 01:16:04 UTC 2015 - aleph2@vfemail.net
test-
there needs to be an empty %changelog section at the end of the .spec file. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Saturday 2015-04-25 05:40, aleph2@vfemail.net wrote:
My spec file has the required '%changelog' section
cat test.spec
%changelog test.changes
Aimlessy entering things into the keyboard seldomly lead to a usable result. Have a look at existing packages how %changelog is used, and perhaps read some manuals. https://en.opensuse.org/openSUSE:Creating_a_changes_file_(RPM) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (7)
-
aleph2@vfemail.net
-
Andrei Borzenkov
-
Dmitriy Perlow
-
Jan Engelhardt
-
Kyrill Detinov
-
Marcus Meissner
-
Yamaban