Re: [Rpm-maint] [rpm-software-management/rpm] Can not parse CHANGELOGTEXT from the specfile (#1301)

2020-08-03 Thread Ondrej Nosek
I changed the date in changelog "Sat Jun 30 2018" --> "Sun Jun 30 2019" and it works as expected. @pmatilai Thanks a lot for a temporary (2 years) workaround. It is definitely better with this workaround than just disabling my unit tests. But the behaviour is really ugly and hidden. -- You

Re: [Rpm-maint] [rpm-software-management/rpm] Can not parse CHANGELOGTEXT from the specfile (#1301)

2020-07-13 Thread Ondrej Nosek
`rpm -q --qf "[%{CHANGELOGTEXT}\n]" --specfile "docpkg.spec"` returns exit code 0 and empty result If `rpm` behaviour is correct, is there other way how to format the query or modify the specfile to get last changelog record? -- You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] Can not parse CHANGELOGTEXT from the specfile (#1301)

2020-07-13 Thread Ondrej Nosek
``` /repo/docpkg$ rpm -q --qf "%{NAME} %{CHANGELOGTEXT}\n" --specfile "docpkg.spec" docpkg (none) /repo/docpkg$ rpm -qa | grep -w rpm rpm-4.15.1-2.fc31.x86_64 rpm-sign-libs-4.15.1-2.fc31.x86_64 systemd-rpm-macros-243.8-1.fc31.noarch rpm-build-4.15.1-2.fc31.x86_64 rpm-libs-4.15.1-2.fc31.x86_64

[Rpm-maint] [rpm-software-management/rpm] Can not parse CHANGELOGTEXT from the specfile (#1301)

2020-07-07 Thread Ondrej Nosek
Hi, recently unit tests for `rpkg` tool started failing. I found, that `rpm` returns a different result than before. I have simple specfile: ``` Summary: Dummy summary Name: docpkg Version: 1.2 Release: 2%{dist} License: GPL #Source0: #Patch0: Group: Applications/Productivity BuildRoot: %(mktemp