Commit Graph

127 Commits

Author SHA1 Message Date
23e6847c11 platform.in: Override %__spec_check_pre 2009-09-09 10:40:59 +00:00
db3de70e0a Implement info files verification 2009-05-20 23:25:58 +00:00
c5b740c8d8 platform.in (%configure): Do not run libtoolize
With libtool >=1.9b, the libtool script will complain if it was built
from mismatched ltmain.sh and libtool m4 macro versions.

To avoid libtool version mismatch disaster, %configure itself
no longer calls libtoolize.  Note that autoreconf, unlike %configure,
runs libtoolize in proper order.
2009-04-23 22:15:41 +00:00
93430b8c85 4.0.4-alt98.4
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
- Dropped deprecated RPMTAG_RHNPLATFORM support.
- Dropped unused RPMTAG_PLATFORM support.
- rpmVersionCompare(): Added handling of omitted tags.
- rpmevrcmp: Changed to use rpmVersionCompare() instead of rpmEVRcmp().
- 0common-files.req.list: Added /etc/X11/wms-methods.d (Igor Vlasenko).
2009-04-18 20:34:48 +00:00
925bdb7cd4 4.0.4-alt97.M50.5
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 20:33:07 +00:00
9538baeb7d 4.0.4-alt95.M41.16
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 20:31:03 +00:00
b40f11aecb platform.in: Add %_runtimedir (ALT#13639) 2009-04-18 18:52:59 +00:00
722d84d86e platform.in: Add %_logrotatedir 2009-04-16 22:19:13 +00:00
ba484a92a3 platform.in: Add %_initddir for FC compatibility 2009-04-16 22:12:47 +00:00
Alexey Tourbin
4bf2a42fd8 4.0.4-alt98.2
- Removed prehistoric multilib support.
2009-03-10 14:41:07 +03:00
Alexey Tourbin
07c1a647d4 4.0.4-alt97.M50.2
- Removed prehistoric multilib support.
2009-03-10 14:39:35 +03:00
Alexey Tourbin
3995f6a271 4.0.4-alt95.M41.14
- Removed prehistoric multilib support.
2009-03-10 14:37:49 +03:00
Alexey Tourbin
aebc9a42dd removed prehistoric multilib support 2009-03-10 14:27:38 +03:00
6fc32e776a platform.in: Import %makeinstall_std macro from rpm-build-perl 2009-02-19 22:59:20 +00:00
Alexey Gladkov
4eecafff33 platform.in: Remove obsolete %php_version and %php_release
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
2008-11-22 21:16:30 +00:00
3d53b58d08 platform.in: Add %_rpmmacrosdir macro 2008-11-22 01:58:56 +00:00
d975fc66c1 Introduce /usr/lib/rpm/macros.d/ (ALT#17948) 2008-11-21 00:25:45 +00:00
d2f32045b0 platform.in: Mark scrollkeeper database synchronization macros as obsolete 2008-11-20 16:15:32 +00:00
a949a78dfb platform.in: Mark window managers registration macros as obsolete 2008-11-20 16:13:19 +00:00
c9231cb270 platform.in: Mark update menu macros as obsolete 2008-11-20 16:08:08 +00:00
da3de4082f platform.in: Mark all ldconfig macros as obsolete 2008-11-20 16:07:51 +00:00
Alexey Tourbin
8f885bb319 platform.in(%_fixperms): use 'chmod -c' 2008-05-05 03:13:11 +04:00
4c946a678d platform.in: Rewrite macros to avoid extra dependencies
Changed %update_menus, %clean_menus, %update_wms, %clean_wms,
%update_scrollkeeper, %clean_scrollkeeper macros definitions
to avoid extra autodependencies when used in shell scripts.
2008-03-03 17:39:04 +00:00
b023526895 Merge branch 'altlinux-4.0' 2008-01-15 19:15:52 +00:00
aa45567317 platform.in (%__autoreconf): Add deprecation warning 2008-01-07 22:44:30 +00:00
4b478a1305 platform.in: Add %warning() macro
Signed-off-by: Alex V. Myltsev <avm@altlinux.ru>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2008-01-07 22:41:47 +00:00
a3d0fe14b1 platform.in: Add %autoreconf macro (ALT#13925). 2008-01-07 22:38:10 +00:00
e6d18b0591 Merge branch 'altlinux-4.0' 2007-11-10 13:27:49 +00:00
a6f4e2a41e More %_target_platform tweaks: cleanup build_os filter; initialize %_gnueabi; replace %_gnu with %_gnueabi in %_target_platform 2007-11-10 13:26:21 +00:00
Kirill A. Shutemov
ddab849441 - %_gnu appended to %_target_platform
- %_gnu is -gnueabi for gnueabi targets
2007-11-10 15:45:30 +03:00
Alexey Tourbin
abce94e210 platform.in: removed tcl stuff from %___build_pre (moved to tcl.env in rpm-build-tcl) 2007-08-01 16:49:44 +04:00
Alexey Tourbin
198276caed platform.in: removed tcl macros (moved them into rpm-build-tcl) 2007-08-01 16:45:44 +04:00
Alexey Tourbin
d55243bd02 platform.in: removed perl macros 2007-03-28 16:52:33 +04:00
Alexey Tourbin
85b13554f1 platform.in: moved the reset of python macros to rpm-build-python/python,
except for %__python_version, which is used in rpm-build-python.spec
2007-03-19 14:15:39 +03:00
Alexey Tourbin
0551d4e07e platform.in: removed python from %___build_pre, will be re-added in rpm-build-python/python.env 2007-03-19 13:36:52 +03:00
Alexey Tourbin
da04721ca4 platform.in: made %___build_pre modular, by sourcing /etc/rpm/macros.d/*.env
A few notes.

RPM uses only ^/etc/rpm/macros.d/[[:alnum:]_-]*[[:alnum:]]$
files to load macros.  The dot is not possible here, so there
will be no conflict between *.env and non-env files.

/etc/rpm/macros.d is now possibly misused, since the name implies
there must be macros.  However, *.env files can have macros, too.
The difference is that the macros from *.env files are expanded
and placed into %___build_pre, i.e. some rpm-tmp.* shell scripts.
Totally different semantics, but that's still about macros.

At least one *.env file is required to make 'cat *.env' happy.
I think I will updated the dependency on rpm-build-python,
which whill provide python.env file.
2007-03-19 13:01:04 +03:00
Alexey Tourbin
83e2b0cfe7 find-package: introduced RPM_FINDPACKAGE_PATH, which makes PATH search fully configurable
$ RPM_FINDPACKAGE_PATH=/usr/bin /usr/lib/rpm/shell.req -v /dev/stdin <<<arpsend
shell.req: /dev/stdin: arpsend indexed by: /usr/bin/arpsend -> arpsend, /usr/sbin/arpsend -> vzctl
shell.req: /dev/stdin: arpsend -> /usr/bin/arpsend -> arpsend (via content index)
arpsend
$ RPM_FINDPACKAGE_PATH=/usr/sbin /usr/lib/rpm/shell.req -v /dev/stdin <<<arpsend
shell.req: /dev/stdin: arpsend indexed by: /usr/sbin/arpsend -> vzctl, /usr/bin/arpsend -> arpsend
shell.req: /dev/stdin: arpsend -> /usr/sbin/arpsend -> vzctl (via content index)
vzctl
$

Also added %add_findpackage_path() and %set_findpackage_path() to platform.in.
2007-03-12 15:06:04 +03:00
Alexey Tourbin
9717c12847 autodeps/linux.{req,prov}.in: implemented method dispatcher
find-requires is now a dispatcher for /usr/lib/rpm/*.req scripts (methods).
find-provides is now a dispatcher for /usr/lib/rpm/*.prov scripts (methods).

The algorithm is basically as follows:

1) Filter input file list through TOPDIR and SKIPLIST patterns.

2) Run the resulting file list through file(1), which output is (per line)

<input-file-name><tab><optional-single-space><file-magic-type>

3) For each req/prov methods, there must be corresponding *.files
filter (e.g. /usr/lib/rpm/perl.req.files for /usr/lib/rpm/perl.req).
We feed file(1) output to this filter; the filter must print the list
of <input-files-name>s (per line) which will be processed with the
corresponding req/prov method.

4) Each req/prov method is invoked with corresponding file list on its
standard input.  The method must output valid rpm dependencies (per line)
or exit with non-zero code.

Notes:

Unlike find-requires, find-provides runs file(1) with -L option.

RPM_FINDREQ_DEFAULT_METHOD and RPM_FINDPROV_DEFAULT go away.
All available methods are run by default.

The old code has been kept.  I am going to remove it gradually
as I factor particular req/prov scripts.
2007-03-11 15:00:20 +03:00
7227d450ca Merge branch 'master' of git.alt:/people/damir/packages/rpm 2007-02-11 22:08:09 +00:00
Damir Shayhutdinov
280e69d9a5 Added hooks for Java autoreq facility.
Signed-off-by: Damir Shayhutdinov <damir@altlinux.ru>
2007-02-10 19:16:04 +03:00
94bd71f657 platform.in: Change %optflags_kernel to %nil 2006-12-18 17:00:44 +00:00
f2f42b1c47 platform.in: Add %_target_libdir macro. 2006-11-29 18:15:01 +00:00
f283a6dc1a Implement mono reqprov hooks and enable them by default (#9426). 2006-10-04 16:18:31 +00:00
5416277102 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
67cb12effe set %_verify_elf_method to arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal 2006-04-04 16:46:59 +00:00
6b1b5ce9f6 %_verify_elf_method: change unresolved from relaxed to normal 2006-03-07 16:14:59 +00:00
d4e91888c0 %configure: export lt_cv_deplibs_check_method=pass_all 2006-03-06 00:09:34 +00:00
11d28a0ec7 %___build_pre: export RPM_TARGET_ARCH and RPM_TARGET_OS 2006-02-24 01:38:13 +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
04617b2165 updated %_x11*dir (#8825) 2006-02-21 15:53:42 +00:00