Add rpmdsTagF() and rpmdsTagEVR() to the API to accompany rpmdsTagN()
Add rpmdsPutToHeader function to to API
Expand options in %autopatch only once

- Work around scoping "fun" wrt nested parametrized macro invocations
  combined with macro manipulation from %{lua:...}

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Fix two off by one bugs breaking hardlinks in builds

for a link count of 2
Remember to actually install appdata.prov script

- Should've been in commit e6cadc6d5a1d2cf2c61c738808b5f2b212452148
No longer needed.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Function writeRPM was modified to one pass implemntation to improve performance. Now data aren't written into temporary file and then copied into final file but they are directy written into final file.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Add a %_rundir macro to the platform files.

The default value is /run, it can be changed with the --with-rundir
configure option.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Dont mess with PPC character signedness (RhBug:1085127)

- Overriding architecture default ABI is not something rpm upstream
  should do, such decisions belong to distro level.
- -fsigned-char was originally added in back in 1997 with little
  fanfare in commit 3cb5b141d5d26a73b9d3b4a21763dac1fb3b32ed, for
  whatever it is worth...
Sometimes a smaller hammer is better (but only sometimes)

- The sed-munger added in commit ccd6281e699781e0b00edb16b6e9f4dec6878c15
  causes bigger breakage than it fixes, perhaps because the hammer
  applied was disproportionally large. The only thing needing adjustment
  is ${prefix} in case when localstatedir is not explicitly set, so
  we fixup just that instead of "everything".
- Discovered via RhBug:921973 testing
Add mips support
Use XZ compression
Autotools
Add buildarchtranslate for mips