Commit Graph

20 Commits

Author SHA1 Message Date
Fedora Release Engineering
7edeb07788 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 21:51:41 +00:00
Pavel Raiskup
01d964b7f4 multilib-fix: document that c-wrapper can be shorter
Idea by Vít Ondruch.
2017-01-25 17:34:29 +01:00
Pavel Raiskup
5d02c918d6 multilib-fix: document why not to use __WORDSIZE
Fedora's PackagingDrafts/MultilibTricks suggests the following
c-header wrapper example:

  #include <bits/wordsize.h>
  #if __WORDSIZE == 32
  #include "config-32.h"
  #elif __WORDSIZE == 64
  #include "config-64.h"
  #else
  #error "Unknown word size"
  #endif

Installing and using this wrapper is not really no-op, however; it
has been proven to cause include-ordering issues.  So, even though
the shorter stub works in most cases, document why we still prefer
the longer #ifdef wrapper.  Thanks to Vít Ondruch for pointing
this out.

Related: rhbz#1412274
2017-01-25 17:32:48 +01:00
Yaakov Selkowitz
d44f6e2a66 Fix testsuite on non-multilib arches
Resolves: rhbz#1352164
Version: 1-6
2016-07-02 08:34:52 +02:00
Pavel Raiskup
ec18e42809 check: add basic testsuite
Version: 1-5
2016-06-22 13:28:22 +02:00
Pavel Raiskup
657cae1dad macros: add %multilib_capable macro
Version: 1-5
2016-06-22 13:21:40 +02:00
Pavel Raiskup
f2fed8528f multilib-fix: document why we don't need '#else'
Version: 1-5
2016-06-22 08:22:06 +02:00
Pavel Raiskup
aeb305b797 fix typos 2016-06-13 23:52:54 +02:00
Pavel Raiskup
9f438cfd13 multilib-fix: use '-' as field separator by default
Also remove --additional-suffix and add --field-separator option
instead.

Fixes https://github.com/devexp-db/db-rpm-config/issues/2.
2016-06-13 23:52:54 +02:00
Kamil Dudka
b8670bd82f fix typos in README 2016-06-13 23:52:54 +02:00
Pavel Raiskup
52f9dbf791 remove (now) unused macros 2016-06-13 23:52:53 +02:00
Pavel Raiskup
cd6d0ce4a8 packaging for Fedora
Based on discussion of Fedora's devel list, it seems like we
should have this packaged as separate package which would be
prerequisite for redhat-rpm-config package.

Version: 1-3
2016-06-13 23:52:53 +02:00
Pavel Raiskup
1a9b5b63f2 multilib-fix: separate docs and copyright statement
Version: 1-2
2016-06-13 23:52:53 +02:00
Pavel Raiskup
d9b0c4e5ce macros.ml: document %ml_fix_c_header
Version: 1-2
2016-06-13 23:52:53 +02:00
Pavel Raiskup
b34dd99be6 spec: allow undefined namespace
Version: 1-2
2016-06-13 23:52:53 +02:00
Pavel Raiskup
d22c0cbc3b licensing: Use GPLv2+ for scripts, LGPLv2+ for libraries
Version: 1-2
2016-06-13 23:52:53 +02:00
Pavel Raiskup
ccd34dc8ab multilib-fix: simplify interface
Don't use --basename && --destdir but rather --file only.
2016-06-13 23:52:53 +02:00
Pavel Raiskup
51d455d0ea spec: new macro '%macrofn' and conditional '%namespace' 2016-06-13 23:52:52 +02:00
Pavel Raiskup
189cced957 multilib-fix: initial commit
Macro and is taken from actual Fedora's postgresql.spec.
2016-06-13 23:52:52 +02:00
Fedora Release Engineering
bfb61b5683 Initial setup of the repo 2016-06-13 21:12:55 +00:00