Commit Graph

585 Commits

Author SHA1 Message Date
Alexey Tourbin
5ec676a259 spec: librpm-devel should require only libpopt-devel 2008-03-30 04:41:55 +04:00
Alexey Tourbin
a0e8d41006 Merge branch 'altlinux-4.0' 2008-03-30 03:00:44 +04:00
Alexey Tourbin
845a750521 spec: removed 'BuildConflicts: rpm-devel' (checked with buildreq) 2008-03-25 03:27:37 +03:00
Alexey Tourbin
c0e8d34d90 spec: buildreq 2008-03-25 03:27:14 +03:00
f4371cc2a2 4.0.4-alt89
- platform.in: Changed several macro definitions to avoid extra
  autodependencies when used in shell scripts.
2008-03-03 17:40:38 +00:00
04fdf89aa4 4.0.4-alt88
- verify-elf: According to information from Kirill Shutemov,
  PIE executables on ARM always contain TEXTREL, so do not check them.
- find-package: Removed bulk dependencies optimization
  introduced in previous release.
- scripts: Replaced redundant paths to basic programs
  with program names.
2008-02-29 12:30:30 +00:00
0ecfddcdcd Reduce macro abuse in %pre and %post scripts 2008-02-29 12:30:18 +00:00
Alexey Tourbin
cd04e08abc 4.0.4-alt87
- implemented automatic dependencies for %%pre, %%preun, %%post,
  and %%postun scriptlets (#7409)
- find-package: when possible, keep file-level dependencies as is,
  without mapping them to package names
- find-package: relax file-level dependencies on unpackaged directories
- find-package: optimize out bulk dependencies on sh, cat, rm, mv etc.
- build/parseScript.c: optimize out RPMSENSE_INTERP dependencies on /bin/sh
- lib.req: enabled ELF_INTERP dependencies except for standard /lib/ld-linux.so.2
- functions (ValidateBuildRoot): require RPM_BUILD_ROOT path be canonical
2008-02-24 18:55:54 +03:00
Alexey Tourbin
93b2b8bf15 spec: restored 4.0.4-alt84.1 changelog entry 2008-02-23 09:09:31 +03:00
Alexey Tourbin
3b998b2e3c Merge branch 'master' of git.alt:/people/ldv/packages/rpm 2008-02-23 08:23:37 +03:00
b740527bf1 4.0.4-alt86
- pam.req: Added substack support.
- Renamed rpm-python subpackage to python-module-rpm.
2008-02-22 22:38:13 +00:00
067f680afd Rename rpm-python subpackage to python-module-rpm 2008-02-22 22:38:12 +00:00
Alex V. Myltsev
4db6d078da 4.0.4-alt85
- rpm-python: fix segfaults with Python 2.5.
2008-02-22 23:02:53 +03:00
Alexey Tourbin
b4569b6236 spec (rpm-build): replaced "sh" dependency with "bash >= 0:3.1.17-alt4" 2008-02-02 01:33:35 +03:00
Alexey Tourbin
20323e4f17 spec: added explicit dependency on /bin/sh 2008-02-01 16:11:13 +03:00
Alexey Tourbin
b3c6a8452e implemented /usr/lib/rpm/find-scriptlet-requires 2008-01-25 22:01:51 +03:00
4159b61462 4.0.4-alt84
- lib.req:
  + Fixed awk script for ldd output (at@).
  + Fixed file-level dependencies output (at@).
- relative: Fixed potential NULL dereference introduced by -alt81 (#14067).
2008-01-18 20:10:11 +00:00
5a68a4046a 4.0.4-alt83
- platform.in:
  + Added %%warning macro.
  + Added %%autoreconf macro to replace %%__autoreconf;
  + Added deprecation warning to %%__autoreconf macro.
2008-01-15 19:20:22 +00:00
Alexey Tourbin
376b5c359c 4.0.4-alt82
- reqprov.c (addReqProv): implemented optimization of "self-requires"
  dependencies on packaged files
- find-package, shell.req, pkgconfiglib.req, symlinks.req: do not
  completely ignore dependencies on files which are under RPM_BUILD_ROOT;
  that is, emit "file-level" dependencies which will be optimized out by
  addReqProv() within a single subpackage, but will protect from unpackaged
  files between subpackages; works best with apt-utils >= 0.5.15lorg2-alt17
- lib.req: try to emit file-level dependencies instead of "soname-level"
  dependencies on private libraries (see git log for details); this can
  largely reduce the need for %%add_findprov_lib_path
2008-01-14 23:58:51 +03:00
Alexey Tourbin
d78d0be4fd spec: workaround config.rpath problem 2008-01-14 23:56:12 +03:00
Alexey Tourbin
abc6cb4242 4.0.4-alt82
- reqprov.c (addReqProv): implemented optimization of "self-requires"
  dependencies on packaged files
- find-package, shell.req, pkgconfiglib.req, symlinks.req: do not
  completely ignore dependencies on files which are under RPM_BUILD_ROOT;
  that is, emit "file-level" dependencies which will be optimized out by
  addReqProv() within a single subpackage, but will protect from unpackaged
  files between subpackages; works best with apt-utils >= 0.5.15lorg2-alt17
- lib.req: try to emit file-level dependencies instead of "soname-level"
  dependencies on private libraries (see git log for details); this can
  largely reduce the need for %%add_findprov_lib_path which is "public
  provides for private libraries"
2007-12-03 15:04:24 +03:00
Alexey Tourbin
c80e1ac8cb spec: explicitly require recent alternatives with alternatives.prov 2007-12-03 14:44:13 +03:00
Alexey Tourbin
9feeb5445e 4.0.4-alt81
- symlinks.req: do only one single step of symlink resolution;
  find-package (FindByPath): check each path component for alternatives;
  this fixes the case of e.g. dependency on /usr/share/libtool/config.sub,
  where '/usr/share/libtool -> libtool-1.5/' is an alternative;
  we now stop at alternative directory and simply yield the dependency
  on /usr/share/libtool, instead of libtool_1.5 (see also #13374)
- moved /usr/lib/rpm/functions and /usr/lib/rpm/find-package from rpm-build
  to rpm, to relax e.g. rpm-build-mono dependencies
- relative.c: various fixes by Alex V. Myltsev and Dmitry V. Levin
2007-11-21 17:49:23 +03:00
Alexey Tourbin
2cf4bcc171 spec: ignore functions and find-package dependencies 2007-11-21 14:53:30 +03:00
Alexey Tourbin
c9d79d6f16 moved functions and find-package from rpm-build to rpm, added .provides.sh
This will allow to relax rpm-build-* dependencies, hopefully without adding
new essential dependencies to rpm (note that rpm already depends on sh and
coreutils; now this also includes grep, and possibly should include sed,
awk, and gzip).

Consider mono-mcs package, which is mono C# compiler.  Recently I added
dependency on rpm-build-mono to this package, to enable automatic support
for mono dependencies whenever mono compiler is used.  Now the problem
is that rpm-build-mono depends on rpm-build (via /usr/lib/rpm/functions),
and rpm-build in turn requires a lot of packages, e.g. gcc and autotools,
for the purpose of populating base build environment.

To put it another way, the problem is that it is impossible to install
mono compiler (with automatic support for mono dependencies) without also
installing gcc and stuff, which is roughly 100M of unrelated packages.

This seems like a minor problem to me, since every "devel" package (including
compilers) can conventionally require base build environment.  However,
Alexander Bokovoy argues that school kids desperately need mono-mcs compiler
on their desktops without gcc and another stuff from the base build environment!

The upshot is that possibly we want to relax rpm-build-* dependencies,
so that those "support for dependencies" packages do not require
full-fledged rpm-build.  The easiest way to accomplish this is to
move /usr/lib/rpm/functions from rpm-build to rpm package.  I also
choose to move /usr/lib/rpm/find-package as well, along with making
/usr/lib/rpm/.provides.sh, so that rpm-build-* packages depend on
something like /usr/lib/rpm(Fatal), not just rpm.
2007-11-21 14:14:55 +03:00
745b1ae3e0 4.0.4-alt80
- Merged ARM support changes made by Kirill Shutemov.
- Minor scripts/* cleanup.
2007-11-10 20:47:04 +00:00
Alexey Tourbin
35ddf662d8 4.0.4-alt79
- shell.req: implemented strong self-requires elimination within
  a package; if ANY shell script defines function "foo", dependencies
  on "foo" are discarded in all shell scripts throughout the package;
  a warning is issued if e.g. /usr/bin/foo executable is available
- pkgconfiglib.req: new dependency generator for "Libs" field in *.pc
  files; maps e.g. "-lfoo" -> /usr/lib/libfoo.so -> libfoo-devel
2007-10-29 17:16:14 +03:00
Alexey Tourbin
e247bb88db enabled pkgconfiglib.req 2007-10-29 14:21:47 +03:00
Alexey Tourbin
3f1e70716d pkgconfiglib.req: use "pkg-config --disable-recursion" to get libs and libdirs 2007-10-29 12:29:04 +03:00
Alexey Tourbin
318e056f29 4.0.4-alt78
- implemented modular subsystem for find-requires and find-provides;
  there's no separate doc yet, except for my protva2007-ru-short.pdf;
  see also git changelog, especially commit 9717c128
- improved /usr/lib/rpm/find-package algorithms
- shell.req: non-executable scripts are now processed as well as executable
  ones; also, more shebang variants are recognized, e.g. "#!/usr/bin/env bash"
- symlinks.req: new dependency generator for external symbolic links
- pkgconfig.req: pkg-config(1) errors no longer silently ignored
- rpm-build: decoupled rpm-build-tcl from the base build environment
2007-09-30 15:05:06 +04:00
Alexey Tourbin
7ee459ab6b pkgconfiglib.req: removed
'pkg-config --libs' seems to deploy dependencies recursively,
which is what I did not expect.

$ grep Requires pango.pc
Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
$ grep Lib pango.pc
Libs: -lpango-1.0 -lm
$ pkg-config --libs-only-l pango.pc
-lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
$

I need some time to devise a better implementation.
2007-09-30 14:59:22 +04:00
Alexey Tourbin
3309458461 4.0.4-alt78
- implemented modular subsystem for find-requires and find-provides;
  there's no separate doc yet, except for my protva2007-ru-short.pdf;
  see also git changelog, especially commit 9717c128
- improved /usr/lib/rpm/find-package algorithms
- shell.req: non-executable scripts are now processed as well as executable
  ones; also, more shebang variants are recognized, e.g. "#!/usr/bin/env bash"
- symlinks.req: new dependency generator for external symbolic links
- pkgconfig.req: pkg-config(1) errors no longer silently ignored
- pkgconfiglib.req: new dependency analyzer for "Libs" field in *.pc files;
  maps e.g. "-lfoo" -> /usr/lib/libfoo.so -> libfoo-devel
2007-09-24 21:44:26 +04:00
Alexey Tourbin
bdbafde580 Merge branch 'altlinux-4.0' of git.alt:/people/ldv/packages/rpm into mod
Also immediately fixup last changelog entry date, to preserve the order.

Conflicts:

	rpm-4_0.spec
	scripts/find-package.in
2007-09-24 21:15:02 +04:00
Alexey Tourbin
385ae84711 spec: rpm-build: decoupled rpm-build-tcl
There's been some discussion on the list as to which rpm-build-*
packages rpm-build should depend on.

The upshot is this:

1) The language should be widely used, and its scripts should
be found in a number of packages not specific to the language
(e.g. packages which do not require %name-devel for build).

2) rpm-build-%name scripts, along with finding dependencies,
should have the effect of syntax check.  This is what makes
them beneficial for all packages, and this is the reason why
rpm-build should pick up such rpm-build-%name package.

Now I think that Tcl fails both points.  Current tcl.req analyzer
simply cannot process Tcl scripts reliably, only Tcl modules.
But Tcl modules are certainly specific to the Tcl language,
and building Tcl modules apparently should involve tcl-devel.
I have just added rpm-build-tcl dependency to tcl-devel.

If too many Tcl packages break because of this change,
which is not likely, I can re-add rpm-build-tcl dependency here.
However, this will also enroll tcl into the base build system.
2007-09-24 16:49:54 +04:00
Alexey Tourbin
b653a847dc spec: do not package Specfile.pm
This Specfile.pm file is not usable anyway -- its path should match
at least */RPM/Specfile.pm.  And now we have perl-RPM-Specfile package.
2007-09-24 16:06:12 +04:00
427194b25b 4.0.4-alt77.M40.1
- rpmdb/header.c (guess_category_value):
  Allowed overriding locale using $RPM_LANGUAGE_I18NSTRING for header FindI18NString.
- build.c (buildForTarget):
  Changed to pass --wildcards to tar on build from tarball (RH#206841).
- GROUPS: Added "System/Legacy libraries" (#12629).
- scripts/find-package.in (FindPackage):
  Speedup index processing order by checking binary index prior to complete index.
2007-08-28 16:59:22 +00:00
Alexey Tourbin
0e085c0a83 pkgconfiglib.req: new pkgconfig.req mode (makes dependencies on Libs)
This will grab libraries from ^Libs: clause and map each library
to rpm dependency, which is typically lib*-devel package.

$ grep ^Libs: /usr/lib/pkgconfig/directfb.pc
Libs: -ldirectfb -lpthread -ldl -lz
$

It works like this:

$ ln -s pkgconfig.req.in scripts/pkgconfiglib.req.in
$ scripts/pkgconfiglib.req.in -v /usr/lib/pkgconfig/directfb.pc
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libdirectfb.so -> libdirectfb-devel
libdirectfb-devel
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libz.so -> zlib-devel
zlib-devel
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libfusion.so -> libdirectfb-devel
libdirectfb-devel
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libdirect.so -> libdirectfb-devel
libdirectfb-devel
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libpthread.so -> glibc-devel (skip)
pkgconfiglib.req.in: /usr/lib/pkgconfig/directfb.pc: libdl.so -> glibc-devel (skip)
$

Some minor problems:

$ scripts/pkgconfiglib.req.in /usr/lib/pkgconfig/*.pc >/dev/null
pkgconfiglib.req.in: /usr/lib/pkgconfig/avahi-qt3.pc: cannot find libavahi-qt3.so library path (skip)
pkgconfiglib.req.in: /usr/lib/pkgconfig/libgdiplus.pc: cannot find libexif.so library path (skip)
pkgconfiglib.req.in: /usr/lib/pkgconfig/valgrind.pc: cannot find libcoregrind.so library path (skip)
pkgconfiglib.req.in: /usr/lib/pkgconfig/valgrind.pc: cannot find libvex.so library path (skip)
pkgconfiglib.req.in: /usr/lib/pkgconfig/valgrind.pc: cannot find libgcc.so library path (skip)
$
2007-08-28 20:40:22 +04:00
Alexey Tourbin
32909e6a8a 4.0.4-alt78
- implemented modular subsystem for find-requires and find-provides;
  there's no separate doc yet, except for my protva2007-ru-short.pdf;
  see also git changelog, especially commit 9717c128
- improved /usr/lib/rpm/find-package algorithms
2007-08-11 01:19:46 +04:00
Alexey Tourbin
9175b4190a find-requires, find-provides: removed the reset of unused code, specifically for mono and java
rpm-build-mono has been adapted.
Updated rpm-build dependencies:
	Conflicts: rpm-build-mono <= 1.0

rpm-build-java does NOT include java.req in current sisyphus release
1.0.0-alt1.  I have done some major development for rpm-build-java,
but there is still no consensus about it.
Not updated rpm-build dependencies: nothing to do.
2007-08-11 00:48:49 +04:00
Alexey Tourbin
c1c04912cc Merge 4.0.4-alt77 into mod 2007-08-02 18:56:55 +04:00
Alexey Tourbin
f139f95028 spec: updated dependency on rpm-build-tcl 2007-08-01 16:05:54 +04:00
1105a961ca 4.0.4-alt77
- rpmio/macro.c (doFoo):
  Fixed potential buffer overflow in %%homedir macro processing.
- lib/formats.c (i18nTag):
  Fixed potential null dereference on header without RPMTAG_NAME (RH#239557).
- lib/package.c (readPackageHeaders):
  Removed insecure legacy providePackageNVR() call.
- lib/query.c (showQueryPackage):
  Fixed potential null dereference in QUERY_FOR_DEFAULT mode.
2007-05-18 12:47:58 +00:00
6719c93a11 Merge branch 'master' into mod 2007-04-09 21:17:16 +00:00
36d31bbf3c 4.0.4-alt76
- rpmRunTransactions:
  Ignore unavailable mount points instead of bailing out.
2007-04-09 21:13:58 +00:00
Alexey Tourbin
2635799cae spec: updated dependencies on rpm-build-perl and rpm-build-python 2007-03-28 16:53:56 +04:00
a78e49bdb2 Merge branch 'master' into mod 2007-03-27 23:15:44 +00:00
9eb6e27e8a 4.0.4-alt75
- Changed /mnt/* mountpoints handling to behave the same way
  as other mountpoints.
- Fixed support of filesystems with f_bsize==0.
- files.req.list: Added /etc/hooks directory.
2007-03-27 22:43:15 +00:00
Alexey Tourbin
434d4daed5 Merge branch 'master' of git.alt:/people/ldv/packages/rpm into mod
Conflicts:

	autodeps/linux.prov.in
	autodeps/linux.req.in
2007-03-18 12:16:52 +03:00
af0adf575e 4.0.4-alt74
- find-provides, find-requires:
  + Added support for files of type "Mono/.Net assembly" to repair
    Mono support when new file(1) is installed (#11088, ildar@).
2007-03-17 20:09:40 +00:00
Alexey Tourbin
9693c85f52 implemented symlinks.req
Consider R-devel package, which has its own private bin/ directory,
where it keeps certain scripts.

$ rpm -ql R-devel |grep libtool
/usr/lib/R/bin/libtool
$ rpm -ql R-devel |grep texi2dvi
/usr/lib/R/bin/texi2dvi
$

I replace some scripts, such as libtool, with wrappers:

$ tail -1 /usr/lib/R/bin/libtool
exec /usr/bin/libtool "$@"
$

R-devel now has a libtool dependency, generated by shell.req:

$ rpm -qR R-devel |grep libtool
libtool-common
$ rpm -qf /usr/bin/libtool
libtool-common-0.2-alt1
$

However, I want the very same dependency SIMPLY BY PLACING SYMBOLIC LINK
to /usr/bin/libtool.  My new script symlinks.req implements this idea.

It works as follows:

1) We check all absolute symbolic links, e.g. -> /usr/bin/libtool.
If symbolic link is absolute, we fetch its value and feed to FindPackage.
Note that FindPackage will first check whether e.g. /usr/bin/libtool is
available under RPM_BUILD_ROOT.

2) We also check all broken symbolic links, e.g. -> ../../../bin/libtool.
The fact that symbolic link is broken means that it cannot be resolved into
buildroot and otherwise must be resolved in the host system after the package
is installed, which is the dependency on where it would point to after install.

This means we must canonicalize the link value, strip RPM_BUILD_ROOT,
and then call FindPackage.  Here is what happens:

$ cd `mktemp -d`
$ RPM_BUILD_ROOT=$PWD
$ mkdir -p ./usr/lib/R/bin/
$ ln -s `relative /usr/bin/libtool /usr/lib/R/bin/libtool` $RPM_BUILD_ROOT/usr/lib/R/bin/libtool
$ l $RPM_BUILD_ROOT/usr/lib/R/bin/libtool
lrwxrwxrwx 1 at at 20 Mar  9 22:14 /tmp/.private/at/tmp.AHnBX26473/usr/lib/R/bin/libtool -> ../../../bin/libtool
$ [ -e $RPM_BUILD_ROOT/usr/lib/R/bin/libtool ] || echo broken
broken
$ readlink -vm $RPM_BUILD_ROOT/usr/lib/R/bin/libtool
/tmp/.private/at/tmp.AHnBX26473/usr/bin/libtool
$ to=`!!`; echo ${to#$RPM_BUILD_ROOT}
/usr/bin/libtool
$

And then FindPackage is called with "/usr/bin/libtool".

Now note that if FindPackage is not able to associate e.g. /usr/bin/libtool
with any particular rpm package, it will just place raw dependency on
/usr/bin/libtool.  So, this new type of dependencies is a bit dangerous:
basically for each really broken symbolic link there will be an unmet
dependency.  On the other hand, this can be viewed as a means of protection
from packages with really broken symbolic links.

If you are frightened with this brand new and dangerous type of dependencies,
please also note that this new type of dependencies is not much more dangerous
than absolute paths to executables in plain shell scripts.

$ /usr/lib/rpm/shell.req -v /dev/stdin <<</i/am/unmet
error: file /i/am/unmet: No such file or directory
shell.req: /dev/stdin: /i/am/unmet -> /i/am/unmet (raw, not found)
/i/am/unmet
$
2007-03-12 15:06:09 +03:00
Alexey Tourbin
80c40744e1 factored static.req 2007-03-11 15:00:35 +03:00
Alexey Tourbin
d87d2c8431 spec: removed http.req, sql.req, and sql.prov from rpm-build %files list 2007-03-11 15:00:34 +03:00
Alexey Tourbin
f0ec810739 factored lib.req and lib.prov
Moved old code from find-requires and find-provides to lib.req and lib.prov.
For some reason, also a few python-related lines was removed.

Adapted lib.req and lib.prov to work without RPM_BUILD_ROOT.

In lib.prov, simplified RPM_FINDPROV_LIB_PATH handling (replaced
`lookup_path "$dir" "$PATH"' with `[ -z "${PATH##* $dir *}" ]').

Added lib.req.files and lib.prov.files.
2007-03-11 15:00:33 +03:00
Alexey Tourbin
2fc12ef2fa factored shebang.req
This is the dependency generator for #! lines.
shebang.req.files makes sure that only executable scripts are processed.

Here is why I chose the "shebang" name.

From Jargon File (4.3.1, 29 Jun 2001) [jargon]:

  shebang /sh*-bang/ n. The character sequence "#!" that frequently
     begins executable shell scripts under Unix. Probably derived from "shell
     bang" under the influence of American slang "the whole shebang"
     (everything, the works).

$ cd /usr/lib/perl5/pod
$ grep -i sharpbang *
perltoc.pod:C<shar>, C<sharpbang>, C<shmattype>, C<shortsize>, C<shrpenv>, C<shsharp>,
$ grep -i shebang *
perl58delta.pod:The command-line options -s and -F are now recognized on the shebang
perlbs2000.pod:BS2000 POSIX doesn't support the shebang notation
perlfaq3.pod:batch file and codify it in C<ALTERNATE_SHEBANG> (see the
perlfaq7.pod:line in your perl script (the "shebang" line) does not contain the
perlfaq7.pod:where you expect it so you need to adjust your shebang line.
perlfaq8.pod:but my shebang line is not the path to perl, so the shell runs the
perlglossary.pod:=item shebang
perljp.pod: "shebang"ѹǡJperlѤscriptΤۤȤɤѹʤѲǽȻפޤ
perlplan9.pod:such as "#!/usr/local/bin/perl". This is known as a shebang
perlplan9.pod:shebang path from config information located in Plan 9
perlport.pod:sub-systems do not support the C<#!> shebang trick for script invocation.
perlport.pod:OS/390 will support the C<#!> shebang trick in release 2.8 and beyond.
perlrun.pod:C<ALTERNATE_SHEBANG> (see the F<dosish.h> file in the source
perltoc.pod:serialization, server, service, setgid, setuid, shared memory, shebang,
perlwin32.pod:Perl scripts on UNIX use the "#!" (a.k.a "shebang") line to
$
2007-03-11 15:00:24 +03:00
c2248551ff 4.0.4-alt73
- Updated gendiff utility (Alexey Tourbin).
- Added hooks for Java autoreq facility (Damir Shayhutdinov).
- build/expression.c (doPrimary): Read closing parenthesis (Michael Schroeder).
- files.req.list: Added /etc/udev/rules.d firectory.
- Changed default nice change value from 10 to 8.
- Made nice change value configurable via %%nice_change macro.
2007-02-23 03:12:42 +03:00
501f22adb7 4.0.4-alt72
- rpmrc.in: Use -mtune=i686 instead of -mtune=generic for i[3456]86
  (same as generic in gcc4.1, better backwards compatibility).
2007-01-11 14:36:35 +00:00
24428aa9d8 4.0.4-alt71
- platform.in: Changed %%optflags_kernel to %%nil.
- rpmrc.in: Changed %%optflags_default to use -mtune=generic
  instead of -mtune=pentium4 for i[3456]86 (Alexey Tourbin).
2007-01-10 22:20:31 +00:00
190f999dee 4.0.4-alt70
- platform.in: Add %%_target_libdir macro.
2006-11-30 16:36:50 +00:00
aac8f6b97c 4.0.4-alt69
- GROUPS: New group: Graphical desktop/Rox (#10268).
- Makefile.am: Link rpm.static with -pthread.
- lib/query.c: Flush query format buffer before listing files (CVE-2006-5466).
- build/parsePrep.c:
  + Change %patch to be more verbose by default, introduce -s option
    to make %patch as silent as before this change (#10261).
  + Change %setup to enable -q option by default, introduce -v option
    to make %setup as verbose as before this change.
2006-11-19 00:25:22 +00:00
8bf537618a 4.0.4-alt68
- rpmio/rpmrpc.c (Glob): Override gl_stat to allow broken symlinks.
- Implemented mono reqprov hooks and enabled them by default,
  based on patch from Ildar Mulyukov (#9426).
2006-10-04 16:18:40 +00:00
8ced535fc7 4.0.4-alt67
- autodeps/linux.req.in:FindLibReqs():
  If object contains .gnu.hash section but does not
  contain .hash section, add rtld(GNU_HASH) requirement.
- GROUPS: Removed trailing whitespaces (#9963).
- Rename athlonxp platform to athlon_xp (#9991).
- scripts/brp-compress.in:
  Recognize "false|no|none|off" as well as "skip" (#9854).
- scripts/brp-strip.in:
  Recognize "skip" as well as "false|no|none|off" (#9854).
- rpmdb: Honor rpmdbInit() return code (#9406).
- rpmQueryVerify(): when rpmReadPackageManifest() is disabled,
  treat RPMRC_BADMAGIC return code from rpmReadPackageHeader()
  like other read errors (#9433).
- showMatches(): Backported --querybynumber looping fix (#9773).
2006-09-21 16:20:26 +00:00
f431605c03 4.0.4-alt66 2006-05-14 18:21:28 +04:00
5416277102 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
8517bad154 4.0.4-alt65 2006-04-04 16:49:57 +00:00
001a83bacc 4.0.4-alt64 2006-03-20 14:53:07 +00:00
b796bc7aa9 4.0.4-alt63 2006-03-09 17:00:56 +00:00
d6c62ed1b4 4.0.4-alt62 2006-03-07 16:22:36 +00:00
26b2ff4529 4.0.4-alt61 2006-02-24 01:39:20 +00:00
a21f483419 set %_verify_elf_method to arch=normal,fhs=relaxed,rpath=normal,textrel=normal,unresolved=relaxed 2006-02-24 00:54:46 +00:00
8c87828ea8 4.0.4-alt60 2006-02-21 15:56:00 +00:00
1adc750c2c 4.0.4-alt59 2006-02-08 17:04:28 +00:00
9506eb04e8 Implemented pkgconfig reqprov support and enabled it by default. 2006-02-02 01:51:38 +00:00
f40a06a6df 4.0.4-alt57 2006-01-16 16:12:44 +00:00
e9ca3621fa Link rpmmodule.so with -lpython%__python_version. 2006-01-14 22:48:02 +00:00
74cb94d8b3 Relocate rpmrc and rpmpopt from %_libdir/ to %_prefix/lib/. 2006-01-14 22:02:07 +00:00
5ccf95cd08 Link librpmdb with -lpopt. 2006-01-14 21:58:13 +00:00
2bcb867f69 4.0.4-alt56 2006-01-14 20:54:03 +00:00
97f3494766 4.0.4-alt56 2006-01-14 20:49:26 +00:00
23308cc3ba Relaxed python-devel build deps. 2006-01-14 17:48:14 +00:00
5e648555a4 Add ldd 2006-01-14 17:44:32 +00:00
218297376b 4.0.4-alt56 2006-01-14 17:05:35 +00:00
27bc781f82 Change PAM modules deps format from pam_module.so to PAM(pam_module.so). 2006-01-11 16:41:14 +00:00
ee68c02d9b 4.0.4-alt55 2006-01-11 01:01:04 +00:00
12455b69ec Fixed one more typo in last changelog message. 2005-12-01 14:24:38 +00:00
61a62d0330 Quoted %configure in the recent changelog message. 2005-11-30 23:08:50 +00:00
93720f8357 4.0.4-alt54 2005-11-30 17:28:40 +00:00
42f7bd6406 4.0.4-alt53 2005-10-19 17:47:26 +00:00
6e6ebb00f1 define _upgrade_honor_buildtime to 1 by default, add --ignorebuildtime to disable 2005-10-18 10:43:12 +00:00
0279ecc07c - Set umask 022 for install scripts and triggers execution.
- Backported epoch handling fix to package upgrade algorithm.
- Backported my own changes to the package upgrade algorithm:
  + Remove old files on "-U --force" even if package NEVRs match.
  + When comparing package versions on -U or -F, optionally
    take build dates into account.
2005-10-17 22:58:37 +00:00
ff4c7da2bd 4.0.4-alt52 2005-10-15 19:18:12 +00:00
c73cd19f7f When processing undefined macros, issue warnings instead of errors for short macros which cannot be defined. 2005-10-13 11:07:02 +00:00
53b2430a32 4.0.4-alt51 2005-10-13 00:44:53 +00:00
17d8b47d16 rpmrc.in: define optflags for noarch 2005-10-10 15:32:18 +00:00
537938eb7a 4.0.4-alt50 2005-10-10 14:33:11 +00:00
fe9e970228 Quoted %attr in %install 2005-10-06 19:53:50 +00:00
90b84b1709 Introduced %_allow_undefined_macros to pass undefined macros 2005-10-06 19:22:39 +00:00
40909e9d9a platform.in: Fixed %% quotation. 2005-10-06 01:22:24 +00:00
228f52209f when found unknown macro, skip known tags and set error status 2005-10-06 00:55:41 +00:00
77ddcd14f7 fixed macro errors 2005-10-05 23:38:41 +00:00
74c53b0f46 4.0.4-alt49 2005-10-05 23:27:06 +00:00
da9c771e90 corrected license tags; 4.0.4-alt48 2005-09-04 21:09:18 +00:00
81ae84ec65 4.0.4-alt47 2005-07-01 10:48:08 +00:00
6d1f8f98b8 4.0.4-alt46 2005-06-29 22:36:46 +00:00
a0957b8e6f 4.0.4-alt45 2005-06-16 16:24:08 +00:00
1aac8d2a2b platform.in: new macro: %%_rpmlibdir 2005-06-15 16:07:27 +00:00
669a44bacd 4.0.4-alt44 2005-06-15 13:30:27 +00:00
41dedfcb7a rpm-build: removed net-tools from dependencies 2005-05-26 13:56:27 +00:00
14201512bf 4.0.4-alt43 2005-05-10 15:18:44 +00:00
a7b4ae3abc %_rpmdir is already busy, use %_rpmlibdir 2005-02-10 14:27:05 +00:00
2f3c4036c3 fixed typo 2005-02-10 14:01:03 +00:00
41d5517318 4.0.4-alt42 2005-02-10 14:00:33 +00:00
5f997dd506 4.0.4-alt41 2004-10-31 19:10:12 +00:00
b8ece77750 4.0.4-alt40 2004-06-29 15:28:37 +00:00
dae8ffba77 removed %add_buildrequires, changed macros to modify %_buildrequires_build directly 2004-06-27 22:31:10 +00:00
72ab1d77ea find-provides: parse unrecognized __init__.py files as python files 2004-06-27 22:00:50 +00:00
7c9121008f fixed typo iin %add_python_lib_path() 2004-06-27 16:39:26 +00:00
519b565885 4.0.4-alt39 2004-06-27 13:54:27 +00:00
69ce82333b 4.0.4-alt38 2004-05-17 15:51:28 +00:00
9058ebe09c 4.0.4-alt37 2004-04-28 17:28:03 +00:00
ae754d250e 4.0.4-alt36 2004-03-01 16:52:49 +00:00
c390d03ac4 4.0.4-alt35 2004-02-29 20:21:22 +00:00
f6e2d37e95 assorted backports from 4_0-20030325 2004-02-29 14:14:02 +00:00
2f57ee4005 Fixed build with fresh autotools 2004-02-27 13:45:04 +00:00
775619a080 find_lang: implemented support for symlinks in /usr/share/locale/ 2004-02-26 15:11:46 +00:00
0be0628ba9 4.0.4-alt33.1 2004-02-22 18:31:31 +00:00
705bf85df1 4.0.4-alt33 2004-02-04 13:39:42 +00:00
669c9a5498 fixed %%__cc, %%__cpp, %%__cxx macros (reported by aris@) 2004-02-04 13:37:46 +00:00
a6624cea82 4.0.4-alt33 2004-02-03 21:35:23 +00:00
210aa64339 4.0.4-alt32 2004-01-29 14:11:56 +00:00
755319ba64 4.0.4-alt31 2004-01-27 14:59:36 +00:00
e790f3b69a rewritten duplicates detection algorithm 2004-01-26 18:03:23 +00:00
8327af7d30 4.0.4-alt30 2004-01-25 18:21:22 +00:00
6cb9a9a472 - lib/depends.c(rangeMatchesDepFlags,alAllSatisfiesDepend):
when using rpmRangesOverlap for versioned requires, ensure that
  provides are also versioned.
2004-01-22 12:43:59 +00:00
019922ff46 rpmRangesOverlap: changed algorithm so EVRs will be compared if at least one of compared packages has EVR information 2004-01-22 09:26:21 +00:00
dee6d1cd47 removed c++ from build dependencies 2004-01-21 16:25:27 +00:00
985f2b1512 implemented %%_keep_libtool_files support 2004-01-21 16:08:37 +00:00
da6b8ee250 build with python22 again 2004-01-21 15:59:40 +00:00
6c0aa1917f build with current python again 2004-01-21 15:57:43 +00:00
dd94d13d5f relocated rpm*attr definitions 2004-01-20 17:01:09 +00:00
0f987dc142 4.0.4-alt29 2004-01-20 16:22:47 +00:00
ab12fc3c63 fixed typo in changelog 2003-11-27 09:23:40 +00:00
5b1319a47e ensure that file objects in /usr/ are user-writable 2003-11-26 12:43:15 +00:00
82e7618919 4.0.4-alt28 2003-11-26 09:28:19 +00:00
88d32a1bc4 makefiles cleanup4 2003-11-26 09:08:44 +00:00
403dd13ab7 makefiles cleanup4 2003-11-26 09:08:24 +00:00
fb3b612bb9 brp-fix-perms, fixup-libraries: strip executable bit from non-executable libraries 2003-11-26 09:01:23 +00:00
5ed5b722f5 rpmbuild --rebuild/--recompile: implemented support for new macros:
%_rpmbuild_clean and %_rpmbuild_packagesource.
2003-11-25 16:02:07 +00:00
bf53120f79 BuildPreReq: python22 (tmp fix) 2003-11-25 14:51:02 +00:00
04d9f8a8f3 brp-cleanup: remove lib*.la files from /lib, /usr/lib, and /usr/X11R6/lib 2003-11-25 13:50:49 +00:00
f619b6e9ec %configure --disable-rpath 2003-11-25 09:54:30 +00:00
512c0aa00f Fixed Makefiles to correct librpm*-4.0.4.so dependencies. 2003-11-25 08:40:28 +00:00
298ea42153 Do not package .la files 2003-11-24 20:43:54 +00:00
6758244271 4.0.4-alt27.1 2003-11-24 17:01:12 +00:00
07f34e0199 define and use RPMCONFIGDIR 2003-11-09 17:42:53 +00:00
4f3ee1db1f 4.0.4-alt27 2003-11-09 17:10:20 +00:00
d4b2ce608f added /usr/lib/rpm/functions 2003-11-09 16:11:55 +00:00
c8ba99ca02 4.0.4-alt26.3 2003-11-09 13:34:10 +00:00
90406b716b fixed typos 2003-11-08 20:30:53 +00:00
fe9941aa17 Backported %%_unpackaged_files_terminate_build support. 2003-11-08 20:03:25 +00:00
08e9323c9d 4.0.4-alt26.1 2003-11-07 19:39:49 +00:00
abd70eea19 4.0.4-alt26 2003-09-27 18:20:24 +00:00
9933ff270d 4.0.4-alt25 2003-09-22 14:01:19 +00:00
add3df58ff 4.0.4-alt25 2003-09-22 13:07:25 +00:00
9157f15f2c 4.0.4-alt24 2003-09-12 17:24:00 +00:00
254121ad43 4.0.4-alt23 2003-08-21 17:53:05 +00:00
173d81e962 4.0.4-alt22.1 2003-08-16 16:46:11 +00:00
14d733ade8 4.0.4-alt22 2003-07-21 13:57:51 +00:00
9766fef01c adjusted BuildPreReq 2003-07-20 20:57:07 +00:00
6e0d1c08e4 4.0.4-alt21.3 2003-07-20 20:25:34 +00:00
1139d53b51 4.0.4-alt21.2 2003-07-19 20:34:21 +00:00
9d9800eed6 4.0.4-alt21.1 2003-07-09 17:23:50 +00:00
dc563701ed find-provides: do not ignore symlinks when parsing PAM scripts 2003-07-02 16:49:13 +00:00
0a5e38121b rpm-4.0.4-alt21 2003-07-02 14:40:36 +00:00
22248440cc 4.0.4-alt20.2 2003-06-28 16:51:22 +00:00
30ecdb6c5b 4.0.4-alt20.1 2003-06-20 11:20:47 +00:00
b02fc789ea 4.0.4-alt20 2003-05-25 22:03:13 +00:00
e398f2cbd4 autodeps/linux.prov.in 2003-05-25 21:58:45 +00:00
fefb0c30b5 brp-strip: removed perms-based lookup optimization 2003-05-14 11:29:51 +00:00
fad3472482 4.0.4-alt19 2003-05-13 13:13:36 +00:00
c47d1f2835 convertrpmrc.sh: relocated to build subpackage 2003-05-10 09:27:51 +00:00
103ea85a45 reduced package dependencies 2003-05-10 09:11:04 +00:00
9615a81160 4.0.4-alt19 2003-05-09 14:55:36 +00:00
97e8ab5d60 reduced package dependencies 2003-05-09 10:31:05 +00:00
906d5c74b2 fixed gzclose error handling 2003-05-06 15:09:48 +00:00
5e7a8feabc 4.0.4-alt17 2003-05-05 11:28:29 +00:00
7e4079f8d7 updated rpm-build requires 2003-05-05 11:23:01 +00:00
36efd74f60 updated buildrequires 2003-05-05 11:02:29 +00:00
a7e9c97f66 - Updated package dependencies. 2003-05-05 09:42:01 +00:00
0f12d7d775 4.0.4-alt17 2003-05-03 14:41:54 +00:00
799993ff88 New groups (#0002429) 2003-04-25 17:00:33 +00:00
7b8bc46bfe Implemented shell functions requires/provides autodetection 2003-04-25 16:51:52 +00:00
c243e50fce Implemented shell functions provides autodetection 2003-04-25 15:53:21 +00:00
843c407200 4.0.4-alt15 2003-04-22 15:18:26 +00:00
74bc2bed73 4.0.4-alt15 2003-04-22 13:36:33 +00:00
febc1c6628 4.0.4-alt15 2003-04-22 12:03:15 +00:00
e1dc2977fe 4.0.4-alt14 2003-02-02 20:25:37 +00:00
387d58e75f 4.0.4-alt14 2003-02-01 18:51:19 +00:00
4ff33abfe6 Imported from Owl with ALT adaptions 2002-12-30 09:54:09 +00:00
00eb73d94b Fixed skiplists processing 2002-12-29 23:33:01 +00:00
699b8fb6a9 4.0.4-alt12 2002-12-09 23:24:53 +00:00
3eaa2c8a76 removed autotools redifinition 2002-12-09 11:32:49 +00:00
b36d2a4ad9 platform.in 2002-12-07 22:32:14 +00:00
b7df04c0d4 4.0.4-alt11 2002-11-06 10:09:11 +00:00
5a10b48180 requires: autoconf-common, automake-common 2002-10-27 23:04:31 +00:00
d4869ccec2 new macros: %set_{autoconf,automake,libtool}_version 2002-10-27 22:33:13 +00:00
045894de8d new group: System/Servers/ZProducts 2002-10-25 12:09:50 +00:00
b599359e63 4.0.4-alt8 2002-10-23 13:21:32 +00:00
2db1b107d7 renamed tarball 2002-10-23 09:57:55 +00:00
472cd609ab migrated to new gettext 2002-10-23 09:51:55 +00:00
1d3e389652 migrated to new gettext 2002-10-23 09:42:35 +00:00
85a507c587 migrated to new gettext 2002-10-23 09:31:31 +00:00
59593120cf 4.0.4-alt8 2002-10-22 15:12:01 +00:00
2ce121dc42 4.0.4-alt7 2002-10-07 09:02:04 +00:00
78127a6907 New macro: %_customdocdir (affects DOCDIR processing) 2002-10-04 22:21:50 +00:00
43348ffb12 fixed changelog 2002-10-04 21:46:59 +00:00
6a3255df1b fixed sliplists processing 2002-10-04 21:37:04 +00:00
18e627558c added groups: Education, Games/Educational 2002-10-04 10:53:06 +00:00
648cfce5df fixed changelog 2002-10-03 23:31:56 +00:00
de9b0619a9 fixed changelog 2002-10-03 22:51:06 +00:00
7bc601af63 4.0.4-alt5 2002-10-03 17:27:46 +00:00
8271848861 fixed typo 2002-10-03 12:27:09 +00:00
c4414a7928 new method now gets executed after %install: fixup 2002-10-02 15:08:15 +00:00
5745b785f8 rpm-build: added buildreq ignore rules 2002-10-02 08:40:17 +00:00
c68dcc3265 new _topdir/_skiplist macros 2002-09-27 13:41:26 +00:00
50daf82590 4.0.4-alt4 2002-09-09 13:13:59 +00:00
64d81fa68f 4.0.4-alt4 2002-09-09 10:53:54 +00:00
37e2ce7ce3 brp-strip: added --skip-files option 2002-09-05 11:58:17 +00:00
de78e5f057 fixed typo in %install_info/%uninstall_info macros (sb) 2002-09-05 11:07:06 +00:00
9961361c82 added glibc-devel-static requirement autogeneration 2002-09-04 12:52:33 +00:00
d988e4b1e7 4.0.4-alt2 2002-09-03 17:15:00 +00:00
b15f753820 4.0.4-alt1 2002-08-29 17:30:10 +00:00
094f66cda1 back to 4.0.4-alt0.12 2002-08-29 15:19:07 +00:00
53603ae5e6 4.0.4-alt1 2002-08-29 15:10:56 +00:00
011da06881 added Id 2002-08-28 10:51:13 +00:00
c6c88cc7a8 imported from rpm-4.0.4-alt0.11 source package 2002-08-28 10:50:42 +00:00