Commit Graph

2280 Commits

Author SHA1 Message Date
132ca8f9e1 lib.req: update the list of standard libraries with guaranteed versioning
Add more libraries from glibc:
libresolv, libmvec, librt, libutil, and libanl.
2019-01-14 20:56:55 +00:00
92f91356e0 lib.prov: print the number of provided symbols and the bpp value for each library 2019-01-14 20:56:55 +00:00
2107482334 scripts: move ProvidedSymbols() and SuggestBPP() to separate files
ProvidedSymbols() used to be defined both in lib.prov.in and lib.req.in,
fix this code duplication by moving ProvidedSymbols() to separate
provided_symbols executable script.

Likewise, SuggestBPP() used to be defined both in lib.prov.in and
lib.req.in, fix this code duplication by moving SuggestBPP() to separate
suggest_bpp executable script.
2019-01-14 20:56:55 +00:00
c5d7a2ddf2 Remove isLegacyPreReq() checks from compare_deps() and addReqProv()
Since we no longer use legacy PreReq tags, all calls to isLegacyPreReq()
can be safely removed.
2019-01-14 20:56:55 +00:00
efc8d3637c Drop %__find_prereq support
It has never been used anyway, and now it stands in the way of replacing
deprecated PreReq with Requires(pre,postun).
2019-01-14 20:56:55 +00:00
e05c6cf019 Map deprecated PreReq tags to Requires
Convert PreReq tags without qualifiers into Requires(pre,postun)
and PreReq tags with qualifiers into Requires tags with those qualifiers.

This matches compare_deps() behaviour and opens the way
for additional optimizations of dependencies.
2019-01-14 20:56:55 +00:00
f7280d8302 parseBits: disallow unknown qualifiers, allow abbreviated qualifiers
Before this change unknown qualifiers were silently ignored if they
happened to be the last or the only qualifier, e.g. Requires(trash) or
Requires(pre,trash) were accepted but Requires(trash,post) were not.
Now all unknown qualifiers are treated as errors.

Before this change abbreviated qualifiers like BuildRequires(pre)
were silently ignored as unknown, now unambiguously abbreviated qualifiers
are handled like non-abbreviated.
2019-01-14 20:56:55 +00:00
e612cf937e handlePreambleTag: disallow extra qualifiers with BuildPreReq
Extra qualifiers (prep, build, install, clean) used to be allowed
but useless with BuildPreReq.
2019-01-14 20:56:55 +00:00
1efb40518c 4.0.4-alt100.77
- fixup-binconfig:
  extended library search path stripping algorithm to handle rpaths.
- pkgconfig.{req,prov}:
  allowed pkgconfig names to start with "+" (closes: #29737).
2014-02-25 12:25:53 +00:00
213af284d9 fixup-binconfig: strip rpaths
Extend library search path stripping algorithm to handle rpaths.
2014-02-25 12:25:51 +00:00
2992fcc3ab pkgconfig.req.in: allow pkgconfig names to start with + (ALT#29737) 2014-02-25 12:22:12 +00:00
f5810fbcf0 4.0.4-alt100.76
- cpp.req: adapted parser to handle cpp 4.8 output.
- rpmdb: fixed miscompilation by gcc 4.8.
2014-02-15 23:00:18 +00:00
4efd5e5f44 Fix some harmless compilation warnings 2014-02-15 22:44:35 +00:00
ee25cc084b regionSwab: fix potential miscompilation
header.c: In function 'regionSwab':
header.c:474:6: warning: operation on 'it' may be undefined [-Wsequence-point]
   *it++ = htonl(*it);
2014-02-15 22:42:58 +00:00
4134fc39ac Fix automake warnings
Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
build/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
python/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rpmdb/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rpmio/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tools/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-02-15 22:19:47 +00:00
f1dc627616 cpp.req: fix for cpp 4.8.x output
Adapt cpp output parser to handle cpp 4.8.x output properly.

  $ cpp-4.7 /dev/null
  # 1 "/dev/null"
  # 1 "<command-line>"
  # 1 "/dev/null"
  $ cpp-4.8 /dev/null
  # 1 "/dev/null"
  # 1 "<command-line>"
  # 1 "/usr/include/stdc-predef.h" 1 3 4
  # 1 "<command-line>" 2
  # 1 "/dev/null"
2014-02-15 03:06:45 +00:00
24478642d6 4.0.4-alt100.75
- platform.in: added %add_debuginfo_skiplist and related macros.
- debugedit: enhanced error diagnostics.
2013-10-29 00:52:21 +00:00
eb4ce41fd4 platform.in: add %add_debuginfo_skiplist and related macros 2013-10-29 00:51:06 +00:00
6fb9f3ddc8 brp-debuginfo: add $RPM_DEBUGINFO_SKIPLIST support 2013-10-29 00:51:04 +00:00
f51a73c175 debugedit: enhance error diagnostics 2013-10-28 23:27:58 +00:00
e74632ca05 4.0.4-alt100.74
- debugedit: updated from rpm.org.
2013-10-28 21:54:44 +00:00
Panu Matilainen
c14ca2efee Doh, its .debug_gdb_scripts, not _script (really fix SuseBug:818502) 2013-10-28 21:53:05 +00:00
Panu Matilainen
3ba57efca0 Teach debugedit about .debug_gdb_script section (SuseBug:818502) 2013-10-28 21:52:58 +00:00
Panu Matilainen
ec72fa893b Avoid breaking build on older systems which dont know AArch64 2013-10-28 21:52:49 +00:00
Kyle McMartin
220cc6770d debugedit: handle aarch64 debug_info relocations (RhBug:974860)
AArch64 generates a relocation which must be handled similar to other
architectures. Adding this patch allows debugedit to run against the
kernel debuginfo.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2013-10-28 21:52:41 +00:00
Panu Matilainen
3202ef8837 Plug segfault on NULL pointer dereference in debugedit (RhBug:929365)
- Not sure what the right thing to do would be here, ignoring seems
  like a better option than crashing though...
2013-10-28 21:52:25 +00:00
d2f2f79664 4.0.4-alt100.73
- fixup-pkgconfig: workaround some broken pkgconfig files (closes: #29427).
- Fixed build with new automake.
2013-10-28 14:22:25 +00:00
880573c77f configure.in: rename to configure.ac 2013-10-28 00:35:31 +00:00
9dfb96537f configure.in: remove AM_C_PROTOTYPES 2013-10-28 00:35:03 +00:00
02fb57b32c fixup-pkgconfig: workaround some broken pkgconfig files (ALT#29427) 2013-10-24 12:42:15 +00:00
042f4d132a 4.0.4-alt100.72
- Fixed build with new gettext.
2013-04-08 20:10:07 +00:00
fb9e0c6402 4.0.4-alt100.71
- rpmbuild: enhanced interdep to ignore packages that are not going
  to be written.
2013-04-03 01:33:42 +00:00
95e1c533d9 build/interdep.c (fix_weak_deps): ignore packages without cpioList 2013-04-03 01:33:38 +00:00
24c37fbda4 4.0.4-alt100.70
- find-lang:
  + enhanced regexps;
  + enabled --with-qt option support (closes: #28288).
2013-03-11 23:18:03 +00:00
98730b6009 find-lang: update copyright information 2013-03-11 23:15:51 +00:00
c525a0dea9 find-lang: minor regexp optimization 2013-03-11 23:13:27 +00:00
d5936fb3eb find-lang: enhance QT files lookup regexps 2013-03-11 23:04:17 +00:00
bd376047fd find-lang: enhance KDE lookup regexps 2013-03-11 22:50:38 +00:00
00809aa77f find-lang: enhance GNOME lookup regexps 2013-03-11 22:38:28 +00:00
9e3d656706 find-lang: enhance man lookup regexps 2013-03-11 21:49:30 +00:00
bdda18ca1f find-lang: enhance .mo files lookup regexps 2013-03-11 21:46:43 +00:00
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