Commit Graph

1757 Commits

Author SHA1 Message Date
Alexey Tourbin
c6943fb0f2 depends.c: further removed dying code 2010-07-12 10:01:55 +04:00
Alexey Tourbin
cf70d66c4e depends.c: disabled dbi-based dependency caching
Based on rpm.org 6bc5d870 by Panu Matilainen:
> Rip out dependency caching
> - it doesn't speed up things that much, is broken in some chroot
>   scenarios and is ugly ugly hardwired BDB hackery where it doesn't belong
2010-07-12 10:01:29 +04:00
7b541b7cf0 4.0.4-alt98.38
- shebang.req (ShebangReq): fixed the check for absolute pathname
  introduced in previous release (closes: #23716).
2010-07-03 00:24:42 +00:00
d44677b913 shebang.req (ShebangReq): fix the check for absolute pathname (ALT#23716) 2010-07-03 00:23:03 +00:00
76cd0e9f4d 4.0.4-alt98.37
- shebang.req (ShebangReq): Ensure that interpreter is specified
  as an absolute pathname (closes: #20096).
- platform.in: Enabled %check in buildreq mode (closes: #23030).
- pkgconfig.req (PkgconfigReqProv): Relaxed version check.
2010-07-01 16:21:02 +00:00
7b74686984 shebang.req (ShebangReq): ensure that interpreter is specified as an absolute pathname (ALT#20096) 2010-07-01 16:14:06 +00:00
069cea1c59 platform.in (%__spec_check_pre): do not turn off %check in buildreq mode (ALT#23030) 2010-07-01 16:00:12 +00:00
cd86fe2063 pkgconfig.req (PkgconfigReqProv): relax version check 2010-07-01 13:23:01 +00:00
Alexey Tourbin
e90c978e68 4.0.4-alt98.36
- rpmdb.c: Make rpmdb index list hard-wired, remove unused require-
  and provideversion indexes (Panu Matilainen).
2010-04-21 12:04:08 +04:00
Alexey Tourbin
63da9b7043 rpmdb.c: make rpmdb index list hard-wired, remove unused require- and provideversion indexes
based rpm.org changes by Panu Matilainen:
fb2a6cb Make rpmdb index list hard-wired
e23a2bf Remove unused require- and provideversion indexes
2a52cc8 Remove unused _DBI defines
2010-04-21 11:52:25 +04:00
09aefe4229 4.0.4-alt98.35
- brp-verify_elf: Disabled lint check on ARM.
2010-04-14 14:40:56 +00:00
8b818f6df4 brp-verify_elf: disable lint check on ARM 2010-04-14 14:38:27 +00:00
Alexey Tourbin
f5a5902d0c 4.0.4-alt98.34
- find-package: Introduced FINDPACKAGE-COMMANDS output.
2010-04-08 11:27:02 +04:00
Alexey Tourbin
16fc089388 find-requires, find-scriptlet-requires: enabled FINDPACKAGE-COMMANDS output 2010-04-08 11:24:58 +04:00
Alexey Tourbin
843562f82b find-package: introduced RPM_FINDPACKAGE_COMMANDS_LOG 2010-04-08 11:24:57 +04:00
Alexey Tourbin
959c18fe5e find-package: renamed FindByPath -> FindByFile 2010-04-08 11:24:55 +04:00
Alexey Tourbin
48c22c9ff9 shell.req: fixed English 2010-04-08 11:24:54 +04:00
Alexey Tourbin
4e9dcb1346 shell.req: removed $sh --rpm-requires test 2010-04-08 11:24:52 +04:00
Alexey Tourbin
859a56a738 shell.req: reverted extra "functions vs executable" diagnostics 2010-04-08 11:24:51 +04:00
Alexey Tourbin
f477104d48 4.0.4-alt98.33
- brp-strip: Speed up by optimizing file(1) invocations.
2010-03-27 01:55:29 +03:00
Alexey Tourbin
3223ba1c5d brp-strip: select ELF files and .a archives with single file(1) invocation
Tested with gnome-icon-themes-oxygen-refit2-2.3-alt1.src.rpm.
Old result: 25 seconds, new result: 3 seconds.
2010-03-27 00:00:28 +03:00
Alexey Tourbin
16955bc185 4.0.4-alt98.32
- build/files.c (checkHdrIntersect): Avoid quadratic behaviour.
2010-03-26 19:07:30 +03:00
Alexey Tourbin
58fdd159bc build/files.c (checkHdrIntersect): avoid quadratic behaviour
Since the list of files is sorted, it is possible to avoid quadratic
behaviour by implementing merge-like intersection.

However note that directory names are not sorted (this is why it is
needed to build full file name for strcmp).

Tested with gnome-icon-themes-oxygen-refit2-2.3-alt1.src.rpm,
3 subpackages each 13-16K files.  Old behaviour: 18 seconds,
new behaviour: less than 1 second.
2010-03-26 19:00:43 +03:00
Alexey Tourbin
111bf48e92 4.0.4-alt98.31
- rpmpopt.in: Do remove extra newline before %{CHANGELOGTEXT} (4.0.4-alt93).
2010-03-16 20:12:05 +03:00
Alexey Tourbin
ede46b7ef5 rpmpopt.in: do remove extra newline before %{CHANGELOGTEXT} (4.0.4-alt93)
'rpm -q' and 'rpmquery' should be consistent with each other.

[builder@solemn ~]$ rpm -q --lastchange rpm
* Tue Mar 16 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.30
- order.c: Factored from depends.c.
- order.c: Added missing error message.
[builder@solemn ~]$ rpmquery --lastchange rpm
* Tue Mar 16 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.30

- order.c: Factored from depends.c.
- order.c: Added missing error message.
[builder@solemn ~]$
2010-03-16 20:11:43 +03:00
Alexey Tourbin
4a406c1f73 4.0.4-alt98.30
- order.c: Factored from depends.c.
- order.c: Added missing error message.
2010-03-16 15:07:21 +03:00
Alexey Tourbin
f2d8576dae order.c: added missing error message 2010-03-16 15:06:10 +03:00
Alexey Tourbin
a8e1fe9fa1 order.c: identify Requires(auto) as plain Requires 2010-03-16 15:04:09 +03:00
Alexey Tourbin
a599f8f9c1 order.c: explain why things work properly 2010-03-16 15:04:05 +03:00
Alexey Tourbin
3d98659409 depends.c: need to export printDepend() 2010-03-16 15:03:27 +03:00
Alexey Tourbin
797f0ff2a5 order.c: factored from depends.c 2010-03-16 15:03:23 +03:00
Alexey Tourbin
3231024392 4.0.4-alt98.29
- al.c: Introduced "fasthash" to improve bsearch performance.
2010-03-12 11:22:47 +03:00
Alexey Tourbin
576ab23bcd spec: fixed typos in alt98.27 changelog entry 2010-03-12 11:22:19 +03:00
Alexey Tourbin
df4147a97c al.c: introduced "fasthash" to improve bsearch performance 2010-03-12 11:20:56 +03:00
8ddfa7df9c 4.0.4-alt98.28
- lib.req: Recognize STB_GNU_UNIQUE symbols and add rtld(GNU_UNIQUE)
  requirement for objects that contain such symbols.
- platform.in: Added %_aclocaldir and %_locksubsysdir macros
  (closes: #22710).
2010-01-12 23:47:20 +00:00
a6cce6c03e platform.in: Add %_aclocaldir and %_locksubsysdir macros (ALT#22710) 2010-01-12 23:45:34 +00:00
f7132135d3 lib.req: Recognize STB_GNU_UNIQUE symbols and add rtld(GNU_UNIQUE) requirement for objects that contain such symbols 2010-01-12 23:39:02 +00:00
Alexey Tourbin
20e65b0e8c 4.0.4-alt98.27
- brp-bytecompile_python: Hadlink indentical .pyc and .pyo files.
2009-12-21 04:28:04 +03:00
Alexey Tourbin
44557d20ee brp-bytecompile_python: updated copyright statement 2009-12-21 03:43:28 +03:00
Alexey Tourbin
7cb73452f0 brp-bytecompile_python: hadlink indentical .pyc and .pyo files 2009-12-21 03:42:38 +03:00
13ff82da53 4.0.4-alt98.26
- rpmrc.c (is_pentiumN): Added models with nonzero extended model
  (reported by Alexander Sharapov).
- brp-verify_elf: Fixed typo introduced by previous release.
- brp-verify_elf: Added "default" mode.
- verify-elf: Omit duplicate lines from eu-findtextrel's output.
2009-12-20 17:03:27 +00:00
7951f92479 platform.in: Set %_verify_elf_method to "default" 2009-12-20 17:03:25 +00:00
d908f56dc4 brp-verify_elf: Set default lint mode to "relaxed", add "default" mode 2009-12-20 17:03:20 +00:00
77c93a9c97 verify-elf: Omit duplicate lines from eu-findtextrel's output 2009-12-20 15:25:02 +00:00
82fcd333bb brp-verify_elf: Fix typo introduced by commit 7d83e49285 2009-12-20 15:10:49 +00:00
f2e4129237 rpmrc.c (is_pentiumN): Add models with nonzero extended model
http://www.intel.com/assets/pdf/appnote/241618.pdf table 2-3.
Reported by Alexander Sharapov.
2009-12-20 15:06:21 +00:00
Alexey Tourbin
e05539a161 4.0.4-alt98.25
- verify-elf: Implemented new "lint" method using "eu-elflint --gnu-ld";
  for now, enabled lint=relaxed mode (just warnings) by default.
- verify-elf: Improved "textrel" diagnostics by using eu-findtextrel.
- verify-elf: Fixed typos in "rpath" method.
2009-12-20 01:58:01 +03:00
Alexey Tourbin
67352606b9 platform.in: %_verify_elf_method normal,lint=relaxed for now 2009-12-20 01:47:46 +03:00
Alexey Tourbin
e845c7f14b verify-elf: fixed typos in VERIFY_ELF_RPATH test
Since "RPATH containts :" test never worked, I downgrade it
to a warning.
2009-12-20 01:45:23 +03:00
Alexey Tourbin
b3b979a6f2 brp-alt: execute brp-strip before brp-verify_elf
There are two reasons:
1) It is better to verify final ELF objects just as they are packaged.
2) Older eu-elflint barks at unstripped binaries like this:
section [ 8] '.comment' has wrong flags: expected none, is MERGE|STRINGS
This seems to be fixed in elfutils 0.143-alt1, but otherwise that could
be a major problem.
2009-12-19 03:25:53 +03:00