Minimally resurrect fine-grained progress callbacks on install

- Add an internal version where we can pass the psm for notifications for
  now, the callbacks will need a major rework but now is not the time...
Add a "release" target to Makefile.maint, mainly for changelog updating atm
Drop the stupid source globbing from setup.py

- What was I thinking? Trying to be lazy in a way that only created
  more work, and broke with rpmfiles addition in whats most certainly
  a non-obvious way. Duh.
Hopefully fix in-tree python build with setup.py

- Detect in-tree build in setup.py and adjust paths accordingly,
  based on patch by Bohuslav Kabrda.
Use pax format for dist tarballs.

- Last year somebody decided that uid/gid stored in automake'd archives
  is somehow important, causing ustar format to be unusable with large
  uid/gid :(
  https://lists.gnu.org/archive/html/automake/2013-02/msg00075.html
rpm2archive missing from POTFILES
add support for "%autosetup -S git_am"

- Similar to "%autosetup -S git", but assumes git-formatted patch files
  and hence preserves authorship information and commit messages.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
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
Revert back to DSA-1 only support for NSS

- This essentially reverts commit fe5a1e5dfa93f15b7beda59e193832577143a4d9
  which apparently causes intermittent failures with DSA-1. Look at
  DSA-2 again on some sunnier day...
Plug ages old memleak on package signing
Removed historical leftover.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>