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 -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
Dummy docpkg for tests
%prep
%check
%build
touch README.rst
%clean
rm -rf $$RPM_BUILD_ROOT
%install
rm -rf $$RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.rst
%changelog
* Sat Jun 30 2018 Tester <tes...@example.com> - 1.2-2
- Initial version
```
And my script has been extracting the CHANGELOGTEXT by command:

````
$ rpm -q --qf "%{CHANGELOGTEXT}\n" --specfile "docpkg.spec"
````
Expected output was:
````
- Initial version
````
but in some systems it returns just:
````
(none)
````

doesn't work (with rpm version):
- Fedora29: 4.14.2-1-2
- Fedora30: 4.14.2.1-5
- Fedora31: 4.15.1-2

works as expected:
- Fedora28: 4.14.2.1-2
- Centos7: 4.11.3-43

Does anybody know what happened? I looked at rpm changelog but didn't notice 
anything useful. Was the `rpm` / `rpm-build` behaviour changed this way?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1301
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to