#735 PR merged: Packaging: fix "make rpm"

Labels: bug

pavoldomin opened issue at 2015-12-08 19:29:

After the introduction of read-only variables (#710), make rpm fails with:

...
== Building RPM package rear--git201512081908 ==
rpmbuild -tb --clean \
                --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
                --define "debug_package %{nil}" \
                --define "_rpmdir %(pwd)" rear--git201512081908.tar.gz
error: line 11: Empty tag: Version:
make: *** [rpm] Error 1

This patch addresses this issue.

jsmeix commented at 2015-12-09 10:28:

@pavoldomin
many thanks for spotting and fixing that unexpected
regression of my https://github.com/rear/rear/pull/710
and in general many thanks for all your valuable
contribution to Relax-and-Recover!


[Export of Github issue for rear/rear.]