Commit Graph

2089 Commits

Author SHA1 Message Date
5a139641b0 find-lang: add --with-qt option to getopt (ALT#28288) 2013-03-10 00:04:56 +00:00
59b7b16f3f 4.0.4-alt100.69
- %_configure_update_config: handle the case when %_configure_script
  is a symlink.
- platform.in: added more systemd macros:
  %_binfmtdir, %_modulesloaddir, %_presetdir, %_sysctldir,
  %_tmpfilesdir, %_udevhwdbdir, %_udevrulesdir.
- po: fixed typo (by icesik@; closes: #28614).
- find-lang: added QT .qm files support and --with-qt option (closes: #28288).
2013-03-08 17:13:05 +00:00
1096c10bec find-lang: add QT .qm files support and --with-qt option (ALT#28288) 2013-03-08 17:07:49 +00:00
2cbf4d4cd9 find-lang: minor cleanup 2013-03-08 15:22:59 +00:00
92667a1326 po: fix typo (ALT#28614) 2013-03-08 14:47:05 +00:00
53c1895bb7 platform.in: add more systemd macros 2013-03-08 14:43:13 +00:00
c6fb9bfb27 %_configure_update_config: handle the case when %_configure_script is a symlink 2013-03-07 14:03:55 +00:00
3f575cf2bc rpmio/macro.c (doShellEscape): fix an off-by-one error in stripping trailing newlines
Reported by Alexey Tourbin.
2013-02-07 14:25:10 +00:00
af88389e45 4.0.4-alt100.68
- rpmbuild: fixed potential use after free introduced in 4.0.4-alt31.
2013-01-29 16:16:14 +00:00
8239befdd2 build/reqprov.c (compare_deps): fix potential use after free
Fix potential use after free introduced in 4.0.4-alt31.
2013-01-29 16:14:54 +00:00
c074cbf9cf 4.0.4-alt100.67
- rpmbuild: enhanced interdep to ignore packages that are not going
  to be written.
2013-01-29 00:54:43 +00:00
0fc2559b49 build/interdep.c (pruneSrc1): enhance wording 2013-01-28 22:48:10 +00:00
59fa5d7825 build/interdep.c (makeRequires): ignore packages without cpioList 2013-01-28 22:28:42 +00:00
fb3f29e079 4.0.4-alt100.66
- build: avoid adding duplicate debuginfo requirements.
2013-01-28 16:25:51 +00:00
b238cfc321 build/interdep.c (pruneSrc1): avoid adding duplicate deps 2013-01-28 16:22:44 +00:00
66fde39891 4.0.4-alt100.65
- build: fixed a prehistoric bug in version compare algorithm.
2013-01-28 01:20:33 +00:00
c6991af51a build/reqprov.c (compare_deps, compare_sense_flags): fix bugs in comparisons of releases
Before this change, thanks to rpmEVRcmp(), compare_deps() used to treat
EVRs with common EV as equal when one had a release and another hand't.

There were some reasons to use this approach, e.g. to decide that
	Requires: %name = %version
is weaker than
	Requires: %name = %version-%release
it had firstly to consider them as comparable deps.  But, as an
unfortunate consequence of that approach, it was deciding that such deps
are equal, so that addReqProv() was unable to replace former with the
latter.
2013-01-28 00:52:24 +00:00
525389d128 build/reqprov.c (compare_deps): promote Epoch by giving it special treatment
If one of deps has Epoch and another one hasn't,
we first compare them without Epoch, and if it happens
that they are equal, then the dep that has Epoch wins.
2013-01-27 23:51:55 +00:00
7b9d0f53d1 build/reqprov.c (compare_sense_flags): cleanup
This is essentially a noop change that makes the code more readable.
2013-01-27 23:51:47 +00:00
e97eca74be build/reqprov.c (compare_deps, compare_sense_flags): readability improvements
This is a noop change that hopefully makes the code a bit more readable.
2013-01-27 23:22:23 +00:00
604cdda3e0 4.0.4-alt100.64
- build: enhanced interdep algorithm further so that manual requirements
  containing "<" or ">" operators are now left intact, while all
  generated requirements on subpackages are now made strict.
2013-01-26 22:32:13 +00:00
cd742a2959 processBinaryFiles: check provides of generated binary packages 2013-01-26 22:32:11 +00:00
cc191758d3 build/interdep.c: use rpmMessage 2013-01-26 22:32:10 +00:00
ed9fc6b550 build/interdep.c (fix_weak_deps): further interdep enhancements
Ignore requirements with RPMSENSE_SENSEMASK containing ~RPMSENSE_EQUAL.
Add strict requirements for requirements on subpackages regardless of
number of alternative providers.
2013-01-26 20:51:10 +00:00
9c22a08868 4.0.4-alt100.63
- build:
  - Fixed Epoch handling for deps whose senses are identical.
  - Enhanced interdep to add strict interpackage requirements
    and missing Epochs automatically when appropriate.
  - Lowered "non-strict dependency" and "dependency needs Epoch"
    errors back to warnings bacause of the change listed above.
  - Removed no longer needed %_allowed_nonstrict_interdeps support.
2013-01-26 18:29:27 +00:00
ffaf1f8baf build/reqprov.c (compare_deps): fix Epoch handling for deps with same senses
When comparing deps whose senses are identical, Epoch needs special
treatment: if one of deps has Epoch and another one hasn't, we first
compare them without Epoch, and if it happens that they are equal,
the dep that has Epoch wins.
2013-01-26 18:29:26 +00:00
de77ec4556 build/interdep.c: fix interpackage dependencies automatically
Non-strict interpackage dependencies are now converted to strict when
appropriate.
The %_allowed_nonstrict_interdeps macro support is therefore gone.

This change also downgrades "dependency needs Epoch" error to warning
because it automatically adds strict dependencies.
2013-01-26 18:29:21 +00:00
acb0164adf build/interdep.c: optimize code related to addRequires() 2013-01-25 01:31:40 +00:00
2f950f6259 4.0.4-alt100.62
- platform.in: added %EVR macro for use in inter-package dependencies.
- build: upgraded "dependency needs Epoch" warning to error.
2013-01-24 21:21:08 +00:00
98f832220b platform.in: add %EVR macro
%EVR is a handy macro to use in inter-package dependencies, e.g.
Requires: %name = %EVR
2013-01-24 21:18:47 +00:00
2f8008125d build/interdep.c: upgrade "dependency needs Epoch" warning to error 2013-01-24 07:09:44 +00:00
df6da6843a 4.0.4-alt100.61
- fixup-desktop: fixed regexp.
- build: added %_allowed_nonstrict_interdeps macro to control how
  interdep check errors are treated; the macro is a list of space
  separated pairs of allowed non-strict deps, elements in pairs are
  separated by commas.  By default, the macro is not defined so
  the list is empty and therefore non-strict deps are not allowed.
2013-01-24 05:54:36 +00:00
37a24f69a3 build/interdep.c: implement an interdep error check control
There is a macro now that can list pairs of allowed non-strict deps.
By default, the macro is not defined so the list is empty and therefore
non-strict deps are not allowed.
2013-01-24 05:52:49 +00:00
53e2358f62 scripts/fixup-desktop.awk: fix regexp 2013-01-11 22:36:49 +00:00
1dbafc43ba 4.0.4-alt100.60
- verify-elf: implemented LFS check (closes: #28290).
2013-01-10 23:15:11 +00:00
d92c009d2d verify-elf: implement LFS check (ALT#28290) 2013-01-10 23:15:07 +00:00
279f487ca4 scripts/functions: export LC_ALL=C
A lot of code relies on C collation, C messages and so on.
Do not pretend it is expected to work with a non-C locale.
2013-01-10 22:38:52 +00:00
1fe269bb6c scripts: cleanup readelf(1) invocations
Prefer long options to short options.
Constistently use --wide option.
2013-01-10 22:04:19 +00:00
cbaa813035 4.0.4-alt100.59
- set.c: fixed sentinel allocation (by Alexey Tourbin).
2012-12-24 14:09:56 +00:00
Alexey Tourbin
f25f962fe6 set.c: fixed sentinel allocation 2012-12-24 16:24:15 +04:00
1c20dacd0f 4.0.4-alt100.58
- rpmrc.in: changed to use -mtune=generic for all x86 flavours.
- pkgconfig.req.files: changed to ignore file type and treat
  all non-symlinks the same way.
- Added %getenv builtin macro.
- Added %_tmpdir builtin macro,
  changed default %_tmppath value to %_tmpdir (closes: #25117).
2012-12-23 23:10:25 +00:00
a538345515 Change default %_tmppath value to %_tmpdir 2012-12-22 17:07:17 +00:00
120ce7358f Add %_tmpdir builtin macro 2012-12-22 16:52:35 +00:00
0f27ba59eb Add %getenv builtin macro 2012-12-22 16:20:47 +00:00
7ac394b01f rpmrc.in: use -mtune=generic for other x86 flavours 2012-12-22 15:02:31 +00:00
b6b5de93b3 Revert "rpmrc.in: Use -mtune=i686 instead of -mtune=generic for i[3456]86"
This reverts commit 94a5f49889, which is
almost 6 year old, and the rationale for it is no longer relevant.
2012-12-22 14:57:30 +00:00
5a8fdc10de pkgconfig.req.files: ignore file type, treat all non-symlinks the same way
Stop relying on file(1) output for obvious reasons (see e.g. ALT#28261),
assume that all non-symlinks in pkgconfig directories are valid input.
2012-12-22 14:41:22 +00:00
bd8eb51d08 4.0.4-alt100.57
- Build selinux support in dynamically linked objects only.
- %configure: export -m* part of %optflags as ASFLAGS (for assembler)
  along with other *FLAGS exported for compilers.
2012-10-28 23:48:23 +00:00
0f3f8af1f6 Run the same setcmp test in --without-profile mode as well 2012-10-28 23:48:20 +00:00
1949b7d5df platform.in (%configure): Export -m* part of %optflags as ASFLAGS
Some of %optflags options, -m* in particular, have to be passed to
assembler so that the output it produces would be consistent with the
output made by compilers.
2012-10-28 23:48:09 +00:00