1692 Commits

Author SHA1 Message Date
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 7d83e49285111368bb041b2c786fa082d7c128bf 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
Alexey Tourbin
cb4fcda459 brp-verify_elf, verify-elf: updated copyright statement 2009-12-19 03:25:52 +03:00
Alexey Tourbin
51f460bb75 verify-elf: simplifed prefix/rc expressions 2009-12-19 03:25:51 +03:00
Alexey Tourbin
e8e60796bb verify-elf: use eu-findtextrel to provide better TEXTREL diagnostics 2009-12-19 03:25:51 +03:00
Alexey Tourbin
b3dab5713e spec (rpm-build): Requires: elfutils >= 0.143-alt1
Also updated dependency on info-install, since install-info --test
was implemented in 4.11.
2009-12-19 03:25:49 +03:00
Alexey Tourbin
7d83e49285 verify-elf: implemented new "lint" method using "eu-elflint --gnu-ld" 2009-12-19 03:25:23 +03:00
Alexey Tourbin
eb71a01bcc platform.in: boil down default %_verify_elf_method to normal 2009-12-18 23:00:44 +03:00
Alexey Tourbin
e6683d0de4 brp-verify_elf, verify-elf: simplify VERIFY_ELF_* parameter passing 2009-12-18 22:55:46 +03:00
Alexey Tourbin
f82116d5f9 brp-verify_elf: select ELF files with signle file(1) invocation
Also, move RPM_VERIFY_ELF_SKIPLIST logic from verify-elf to
brp-verify_elf, since RPM_VERIFY_ELF_TOPDIR is already there.
Normally, verify-elf should be a standalone program (available
for users).  It's just not quite ready yet.
2009-12-18 22:52:34 +03:00
4fda20af28 4.0.4-alt98.24
- Recoded README.ALT-ru_RU.KOI8-R -> README.ALT-ru_RU.UTF-8.
- Rebuilt with python-2.6.x.
2009-12-01 13:08:13 +00:00
847beb95d9 Recode KOI8-R -> UTF-8 2009-12-01 13:06:10 +00:00
Alexey Tourbin
d5c7cd8f6c 4.0.4-alt98.23
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:56:29 +04:00
Alexey Tourbin
2534a73873 4.0.4-alt97.M50.20
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:55:45 +04:00
Alexey Tourbin
18ac924845 4.0.4-alt95.M41.30
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:54:33 +04:00
Alexey Tourbin
9c78ea85fd 4.0.4-alt77.M40.28
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-04 12:47:37 +04:00
Alexey Tourbin
7f0aa5d96d al.c: optimize out rpmRangesOverlap call for unversioned dependencies 2009-10-04 12:44:40 +04:00