2002-10-23 13:57:55 +04:00
%define rpm_name rpm
2002-08-28 14:50:42 +04:00
%define rpm_version 4.0.4
2002-10-23 13:57:55 +04:00
%define srcname %rpm_name-4_0-%rpm_version
2002-08-28 14:50:42 +04:00
2002-10-23 13:57:55 +04:00
Name : %rpm_name
2002-08-28 14:50:42 +04:00
Version : %rpm_version
2007-02-23 02:57:37 +03:00
Release : alt73
2002-08-28 14:50:42 +04:00
%define ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
2003-05-03 18:41:54 +04:00
%define get_dep() %(rpm -q --qf '%%{NAME} >= %%|SERIAL?{%%{SERIAL}:}|%%{VERSION}-%%{RELEASE}' %1 2>/dev/null || echo '%1 >= unknown')
2002-08-28 14:50:42 +04:00
%define def_with() %{expand:%%{!?_with_%{1}: %%{!?_without_%{1}: %%global _with_%{1} --with-%{1}}}}
%define def_without() %{expand:%%{!?_with_%{1}: %%{!?_without_%{1}: %%global _without_%{1} --without-%{1}}}}
%define if_with() %if %{expand:%%{?_with_%{1}:1}%%{!?_with_%{1}:0}}
%define if_without() %if %{expand:%%{?_without_%{1}:1}%%{!?_without_%{1}:0}}
2005-06-15 20:07:27 +04:00
%define _rpmlibdir %_prefix/lib/rpm
2002-08-28 14:50:42 +04:00
%def_with python
2005-10-15 23:18:12 +04:00
%def_with libelf
2003-04-25 19:53:21 +04:00
%def_without apidocs
2002-08-28 14:50:42 +04:00
%def_without db
2002-08-29 19:10:56 +04:00
%def_without contrib
2003-11-07 22:39:49 +03:00
%def_without build_topdir
2002-08-28 14:50:42 +04:00
# XXX enable at your own risk, CDB access to rpmdb isn't cooked yet.
%define enable_cdb create cdb
Summary : The RPM package management system
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM
License : GPL
Group : System/Configuration/Packaging
Url : http://www.rpm.org/
2006-05-14 17:06:45 +04:00
Packager : Dmitry V. Levin <ldv@altlinux.org>
2002-08-28 14:50:42 +04:00
2002-09-03 21:15:00 +04:00
# 1. ftp://ftp.rpm.org/pub/rpm/dist/
# 2. cvs -d :pserver:anonymous@cvs.rpm.org:/cvs/devel export -r rpm-4_0 rpm
2002-10-23 13:57:55 +04:00
# 3. ALT Linux CVS
2006-05-14 17:06:45 +04:00
Source : %srcname.tar
2002-08-28 14:50:42 +04:00
2002-08-29 21:30:10 +04:00
Provides : %_sysconfdir /%name/macros.d
2004-01-21 18:57:43 +03:00
PreReq : lib%name = %version-%release, librpmbuild = %version-%release
2003-05-10 13:11:04 +04:00
PreReq : alt-gpgkeys, coreutils
2002-08-28 14:50:42 +04:00
# XXX glibc-2.1.92 has incompatible locale changes that affect statically
# XXX linked binaries like /bin/rpm.
Requires : glibc-core
2006-01-14 20:48:14 +03:00
%{?_with_python:BuildPreReq: python-devel}
2002-08-28 14:50:42 +04:00
%{?_with_apidocs:BuildPreReq: ctags doxygen}
2005-10-15 23:18:12 +04:00
%{?_with_libelf:BuildPreReq: libelf-devel-static}
2002-08-28 14:50:42 +04:00
2003-07-21 00:57:07 +04:00
BuildPreReq : automake >= 1.7.1, autoconf >= 2.53, rpm >= 3.0.6-ipl24mdk, %_bindir /subst
2002-08-28 14:50:42 +04:00
BuildConflicts : rpm-devel
2004-01-21 19:25:27 +03:00
# Automatically added by buildreq on Mon May 05 2003 and edited manually.
2006-03-20 17:53:07 +03:00
BuildRequires : bzlib-devel-static glibc-devel-static libbeecrypt-devel-static libdb4.4-devel-static libpopt-devel-static zlib-devel-static
2002-08-28 14:50:42 +04:00
%package -n lib%name
Summary : Shared libraries required for applications which will manipulate RPM packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL/LGPL
2002-08-28 14:50:42 +04:00
Group : System/Libraries
2003-05-05 13:42:01 +04:00
PreReq : zlib >= 1.1.4
PreReq : bzlib >= 1:1.0.2-alt2
PreReq : libpopt >= 1:1.7-alt3
PreReq : libbeecrypt >= 2.2.0-alt1
2006-03-20 17:53:07 +03:00
PreReq : libdb4.4
2002-08-28 14:50:42 +04:00
2004-01-20 19:22:47 +03:00
%package -n librpmbuild
Summary : Shared library required for applications which will build RPM packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL/LGPL
2004-01-20 19:22:47 +03:00
Group : System/Libraries
2004-01-21 18:57:43 +03:00
Requires : lib%name = %version-%release
2004-01-20 19:22:47 +03:00
2002-08-28 14:50:42 +04:00
%package -n lib%name-devel
Summary : Development files for applications which will manipulate RPM packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL/LGPL
2002-08-28 14:50:42 +04:00
Group : Development/C
Provides : %name-devel = %version-%release
Obsoletes : %name-devel
2004-01-21 18:57:43 +03:00
Requires : lib%name = %version-%release, librpmbuild = %version-%release
2006-03-20 17:53:07 +03:00
Requires : bzlib-devel, libbeecrypt-devel, libdb4.4-devel, libpopt-devel, zlib-devel
2002-08-28 14:50:42 +04:00
%package -n lib%name-devel-static
Summary : Static libraries for developing statically linked applications which will manipulate RPM packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL/LGPL
2002-08-28 14:50:42 +04:00
Group : Development/C
2002-09-03 21:15:00 +04:00
Requires : lib%name-devel = %version-%release
2006-03-20 17:53:07 +03:00
Requires : bzlib-devel-static, libbeecrypt-devel-static, libdb4.4-devel-static, libpopt-devel-static, zlib-devel-static
2002-08-28 14:50:42 +04:00
%package build
Summary : Scripts and executable programs used to build packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> SRPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL
2002-08-28 14:50:42 +04:00
Group : Development/Other
Obsoletes : spec-helper
2004-01-20 19:22:47 +03:00
PreReq : librpmbuild = %version-%release, %name = %version-%release
2002-08-28 14:50:42 +04:00
PreReq : shadow-utils
2003-05-03 18:41:54 +04:00
Requires : autoconf autoconf-common automake automake-common bison coreutils cpio
Requires : gcc gettext-tools glibc-devel file kernel-headers libtool m4 make
2005-05-26 17:56:27 +04:00
Requires : procps psmisc sed service sh texinfo which
2002-09-03 21:15:00 +04:00
Requires : bzip2 >= 1:1.0.2-alt4
2003-05-05 15:23:01 +04:00
Requires : gzip >= 0:1.3.3-alt2
Requires : info-install >= 0:4.5-alt2
2003-05-10 13:11:04 +04:00
Requires : mktemp >= 1:1.3.1
2003-05-03 18:41:54 +04:00
Requires : patch >= 2.5
2006-02-02 04:51:38 +03:00
Requires : pkgconfig-reqprov
2003-05-05 15:23:01 +04:00
Requires : tar >= 0:1.13.22-alt1
2002-08-29 19:10:56 +04:00
Requires : %_bindir /subst
2003-09-22 17:07:25 +04:00
Requires : rpm-build-perl
2004-05-17 19:51:28 +04:00
Requires : rpm-build-python
2004-10-31 22:10:12 +03:00
Requires : rpm-build-tcl
2002-08-29 19:10:56 +04:00
%package build-topdir
Summary : RPM package installation and build directory tree
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> SRPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL
2002-08-29 19:10:56 +04:00
Group : Development/Other
PreReq : %name-build = %version-%release
2002-08-28 14:50:42 +04:00
2004-01-20 19:22:47 +03:00
%package static
Summary : Static version of the RPM package management system
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM
2005-09-05 01:09:18 +04:00
License : GPL
2004-01-20 19:22:47 +03:00
Group : System/Configuration/Packaging
PreReq : %name = %version-%release
2002-08-28 14:50:42 +04:00
%package contrib
Summary : Contributed scripts and executable programs which aren't currently used
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL
2002-08-28 14:50:42 +04:00
Group : Development/Other
PreReq : %name-build = %version-%release
%description
The RPM Package Manager (RPM) is a powerful command line driven
package management system capable of installing, uninstalling,
verifying, querying, and updating software packages. Each software
package consists of an archive of files along with information about
the package like its version, a description, etc.
%description -l ru_RU.KOI8-R
RPM - <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ,
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2002-12-30 02:33:01 +03:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ,
2002-08-28 14:50:42 +04:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> .<2E> .
%description -n lib%name
This package contains shared libraries required to run dynamically linked
programs manipulating with RPM packages and databases.
2004-01-20 19:22:47 +03:00
%description -n librpmbuild
This package contains shared library required to run dynamically linked
programs building RPM packages.
2002-08-28 14:50:42 +04:00
%description -n lib%name-devel
This package contains the RPM C library and header files. These
development files will simplify the process of writing programs
which manipulate RPM packages and databases and are intended to make
it easier to create graphical package managers or any other tools
that need an intimate knowledge of RPM packages in order to function.
This package should be installed if you want to develop programs that
will manipulate RPM packages and databases.
%description -n lib%name-devel-static
This package contains the RPM C library and header files. These
development files will simplify the process of writing programs
which manipulate RPM packages and databases and are intended to make
it easier to create graphical package managers or any other tools
that need an intimate knowledge of RPM packages in order to function.
This package should be installed if you want to develop statically linked
programs that will manipulate RPM packages and databases.
%description build
This package contains scripts and executable programs that are used to
build packages using RPM.
2002-08-29 19:10:56 +04:00
%description build-topdir
This package contains RPM package installation and build directory tree.
2004-01-20 19:22:47 +03:00
%description static
This package contains statically linked version of the RPM program.
2002-08-28 14:50:42 +04:00
%description contrib
This package contains extra scripts and executable programs which arent
currently used.
%if _with python
%package python
Version : %{rpm_version} _%__python_version
Summary : Python bindings for apps which will manipulate RPM packages
Summary(ru_RU.KOI8-R): <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Python-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> RPM-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2005-09-05 01:09:18 +04:00
License : GPL/LGPL
2002-08-28 14:50:42 +04:00
Group : Development/Python
PreReq : lib%name = %rpm_version-%release
Requires : python = %__python_version
%description python
2006-01-14 20:48:14 +03:00
This package contains a module which permits applications written in
the Python programming language to use the interface supplied by RPM
(RPM Package Manager) libraries.
2002-08-28 14:50:42 +04:00
%endif #with python
%prep
2002-10-23 13:57:55 +04:00
%setup -q -n %srcname
2002-08-28 14:50:42 +04:00
find -type d -name CVS -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 rm -rf --
2002-08-28 14:50:42 +04:00
find -type f \( -name .cvsignore -o -name \*~ -o -name \*.orig \) -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 rm -f --
2002-08-28 14:50:42 +04:00
%build
2004-02-27 16:45:04 +03:00
gettextize --force --quiet
2006-11-30 19:35:18 +03:00
install -pv -m644 /usr/share/gettext/intl/Makevars* po/Makevars
2004-02-27 16:45:04 +03:00
autoreconf -fisv -I m4
2002-08-28 14:50:42 +04:00
export \
2003-05-05 15:02:29 +04:00
ac_cv_path_CTAGS=/usr/bin/ctags \
2003-05-10 13:11:04 +04:00
ac_cv_path_UNZIPBIN=/usr/bin/unzip \
2004-02-29 17:14:02 +03:00
ac_cv_path___CPIO=/bin/cpio \
2003-05-10 13:11:04 +04:00
ac_cv_path___GPG=/usr/bin/gpg \
2003-05-05 15:02:29 +04:00
ac_cv_path___SSH=/usr/bin/ssh \
#
2002-08-28 14:50:42 +04:00
%configure \
%{?_with_python} %{?_without_python} \
%{?_with_apidocs} %{?_without_apidocs} \
%{?_with_db} %{?_without_db} \
2003-11-26 12:28:19 +03:00
--program-transform-name=
2002-08-28 14:50:42 +04:00
# fix buggy requires if any
find scripts -type f -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 grep -EZl '(/usr/ucb|/usr/local/bin/perl|/usr/local/lib/rpm/bash)' -- |
2002-09-03 21:15:00 +04:00
xargs -r0 subst 's|/usr/ucb|%_bindir|g;s|/usr/local/bin/perl|/usr/bin/perl|g;s|/usr/local/lib/rpm/bash|/bin/sh|g' --
2002-08-28 14:50:42 +04:00
find -type f -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 grep -FZl /usr/sbin/lsattr -- |
2002-09-03 21:15:00 +04:00
xargs -r0 subst 's|/usr/sbin/lsattr|/usr/bin/lsattr|g' --
2002-08-28 14:50:42 +04:00
# fix vendor
find -type f -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 grep -FZl '%_host_cpu-pc-%_host_os' -- |
2002-09-03 21:15:00 +04:00
xargs -r0 subst 's/%_host_cpu-pc-%_host_os/%_host_cpu-alt-%_host_os/g' --
2002-08-28 14:50:42 +04:00
find -type f -name config.\* -print0 |
2006-11-30 19:35:18 +03:00
xargs -r0 grep -FZl '=pc' -- |
2002-09-03 21:15:00 +04:00
xargs -r0 subst 's/=pc/=alt/g' --
2002-08-28 14:50:42 +04:00
%make_build YACC='bison -y'
%if _with apidocs
2006-11-30 19:35:18 +03:00
rm -rf apidocs
2002-08-28 14:50:42 +04:00
make apidocs
%endif #with apidocs
%install
2005-10-10 18:33:11 +04:00
%make_install DESTDIR='%buildroot' install
2006-11-30 19:35:18 +03:00
chmod a-w %buildroot%_usrsrc/RPM{,/RPMS/*}
2002-08-28 14:50:42 +04:00
# Save list of packages through cron.
2006-11-30 19:35:18 +03:00
#mkdir -p %buildroot%_sysconfdir/cron.daily
#install -p -m750 scripts/%name.daily %buildroot%_sysconfdir/cron.daily/%name
2003-05-03 18:41:54 +04:00
#
2006-11-30 19:35:18 +03:00
#mkdir -p %buildroot%_sysconfdir/logrotate.d
#install -p -m640 scripts/%name.log %buildroot%_sysconfdir/logrotate.d/%name
2002-08-28 14:50:42 +04:00
2006-11-30 19:35:18 +03:00
mkdir -p %buildroot%_sysconfdir /%name/macros.d
2005-10-10 18:33:11 +04:00
touch %buildroot%_sysconfdir /%name/macros
cat << E_O_F > %buildroot%_sysconfdir /%name/macros.db1
2002-08-28 14:50:42 +04:00
%%_dbapi 1
E_O_F
2005-10-10 18:33:11 +04:00
cat << E_O_F > %buildroot%_sysconfdir /%name/macros.cdb
2002-08-28 14:50:42 +04:00
%{?enable_cdb:#%%__dbi_cdb %enable_cdb}
E_O_F
2006-11-30 19:35:18 +03:00
mkdir -p %buildroot%_localstatedir /%name
2002-08-28 14:50:42 +04:00
for dbi in \
Basenames Conflictname Dirnames Group Installtid Name Providename \
Provideversion Removetid Requirename Requireversion Triggername \
Sigmd5 Sha1header Filemd5s Packages \
__db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
__db.008 __db.009
do
2005-10-10 18:33:11 +04:00
touch " % b u i l d r o o t %_localstatedir / % n a m e / $ d b i "
2002-08-28 14:50:42 +04:00
done
# Prepare documentation.
bzip2 -9 CHANGES ||:
2006-11-30 19:35:18 +03:00
mkdir -p %buildroot%_docdir /%name-%rpm_version
install -p -m644 CHANGES* CREDITS README README.ALT* RPM-GPG-KEY RPM-PGP-KEY \
2005-10-10 18:33:11 +04:00
%buildroot%_docdir /%name-%rpm_version/
2006-11-30 19:35:18 +03:00
cp -a doc/manual %buildroot%_docdir /%name-%rpm_version/
rm -f %buildroot%_docdir /%name-%rpm_version/manual/{Makefile*,buildroot}
2002-08-28 14:50:42 +04:00
%if _with apidocs
2006-11-30 19:35:18 +03:00
cp -a apidocs/man/man3 %buildroot%_mandir /
cp -a apidocs/html %buildroot%_docdir /%name-%rpm_version/apidocs/
2002-08-28 14:50:42 +04:00
%endif #with apidocs
2002-12-30 12:54:09 +03:00
# rpminit(1).
2006-11-30 19:35:18 +03:00
install -pD -m755 rpminit %buildroot%_bindir /rpminit
install -pD -m644 rpminit.1 %buildroot%_man1dir/rpminit.1
2002-12-30 12:54:09 +03:00
2002-08-28 14:50:42 +04:00
# Valid groups.
2006-11-30 19:35:18 +03:00
install -p -m644 GROUPS %buildroot%_rpmlibdir /
2002-08-28 14:50:42 +04:00
2002-10-02 12:40:17 +04:00
# buildreq ignore rules.
2006-11-30 19:35:18 +03:00
install -pD -m644 rpm-build.buildreq %buildroot%_sysconfdir /buildreqs/files/ignore.d/rpm-build
2002-10-02 12:40:17 +04:00
2002-08-28 14:50:42 +04:00
chmod a+x scripts/find-lang
# Manpages have been moved to their own packages.
#./scripts/find-lang --with-man %name rpm2cpio --output %name.lang
2003-11-09 20:42:53 +03:00
RPMCONFIGDIR=./scripts ./scripts/find-lang %name rpm2cpio --output %name.lang
2002-08-28 14:50:42 +04:00
2005-10-10 18:33:11 +04:00
pushd %buildroot%_rpmlibdir
2002-08-28 14:50:42 +04:00
for f in *-alt-%_target_os; do
2006-11-30 19:35:18 +03:00
n=`echo " $ f " |sed -e 's/-alt//' `
[ -e " $ n " ] || ln -s " $ f " " $ n "
2002-08-28 14:50:42 +04:00
done
popd
2005-10-10 18:33:11 +04:00
/bin/ls -1d %buildroot%_rpmlibdir /*-%_target_os |
2006-11-30 19:35:18 +03:00
grep -Fv /brp- |
sed -e " s | ^ % b u i l d r o o t | % % a t t r ( - , r o o t , % n a m e ) | g " >>%name.lang
2002-08-28 14:50:42 +04:00
%pre
if [ -f %_localstatedir /%name/Packages -a -f %_localstatedir /%name/packages.rpm ]; then
echo "
You have both
%_localstatedir /%name/packages.rpm db1 format installed package headers
%_localstatedir /%name/Packages db3 format installed package headers
Please remove (or at least rename) one of those files, and re-install.
2003-05-03 18:41:54 +04:00
" > & 2
2002-08-28 14:50:42 +04:00
exit 1
fi
2005-10-10 18:33:11 +04:00
[ ! -L %_rpmlibdir /noarch-alt-%_target_os ] || %__rm -f %_rpmlibdir /noarch-alt-%_target_os ||:
2002-08-28 14:50:42 +04:00
%post
if [ -f %_localstatedir /%name/packages.rpm ]; then
%__chgrp %name %_localstatedir /%name/*.rpm
# Migrate to db3 database.
2005-02-10 17:27:05 +03:00
%_rpmlibdir /pdeath_execute $PPID %_rpmlibdir /delayed_rebuilddb
2002-08-28 14:50:42 +04:00
elif [ -f %_localstatedir /%name/Packages ]; then
%__chgrp %name %_localstatedir /%name/[A-Z]*
# Undo db1 configuration.
%__rm -f %_sysconfdir /%name/macros.db1
[ -n " $ D U R I N G _ I N S T A L L " -o -n " $ B T E _ I N S T A L L " ] ||
2005-02-10 17:27:05 +03:00
%_rpmlibdir /pdeath_execute $PPID %_rpmlibdir /delayed_rebuilddb
2002-08-28 14:50:42 +04:00
else
# Initialize db3 database.
%__rm -f %_sysconfdir /%name/macros.db1
%_bindir /rpmdb --initdb
fi
:
%post -n lib%name -p /sbin/post_ldconfig
%postun -n lib%name -p /sbin/postun_ldconfig
2004-01-20 19:22:47 +03:00
%post -n librpmbuild -p /sbin/post_ldconfig
%postun -n librpmbuild -p /sbin/postun_ldconfig
2004-01-20 20:01:09 +03:00
%files -n librpmbuild
%_libdir /librpmbuild-*.so
%define rpmattr %attr(755,root,%name)
%define rpmdirattr %attr(2755,root,%name) %dir
%define rpmdatattr %attr(644,root,%name)
%define rpmdbattr %attr(644,root,%name) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
2002-08-28 14:50:42 +04:00
%files -n lib%name
2005-02-10 17:27:05 +03:00
%rpmdirattr %_rpmlibdir
%rpmdatattr %_rpmlibdir /rpmrc
%rpmdatattr %_rpmlibdir /macros
2004-01-20 19:22:47 +03:00
%_libdir /librpm-*.so
%_libdir /librpmdb-*.so
%_libdir /librpmio-*.so
2002-08-28 14:50:42 +04:00
%files -n lib%name-devel
%_libdir /librpm.so
%_libdir /librpmdb.so
%_libdir /librpmio.so
%_libdir /librpmbuild.so
%_includedir /%name
%if _with apidocs
%_man3dir/*
%dir %_docdir /%name-%rpm_version
%_docdir /%name-%rpm_version/apidocs
%endif #with apidocs
%files -n lib%name-devel-static
%_libdir /*.a
%files -f %name.lang
%dir %_docdir /%name-%rpm_version
%_docdir /%name-%rpm_version/[A-Z]*
%_docdir /%name-%rpm_version/manual
2003-05-03 18:41:54 +04:00
#%config(noreplace,missingok) %_sysconfdir/cron.daily/%name
#%config(noreplace,missingok) %_sysconfdir/logrotate.d/%name
2002-08-28 14:50:42 +04:00
%dir %_sysconfdir /%name
2002-08-29 21:30:10 +04:00
%dir %_sysconfdir /%name/macros.d
%config (noreplace,missingok) %_sysconfdir /%name/macros
%config (noreplace,missingok) %_sysconfdir /%name/macros.??*
2002-08-28 14:50:42 +04:00
%rpmdirattr %_localstatedir /%name
%rpmdbattr %_localstatedir /%name/Basenames
%rpmdbattr %_localstatedir /%name/Conflictname
%rpmdbattr %_localstatedir /%name/__db.0*
%rpmdbattr %_localstatedir /%name/Dirnames
%rpmdbattr %_localstatedir /%name/Filemd5s
%rpmdbattr %_localstatedir /%name/Group
%rpmdbattr %_localstatedir /%name/Installtid
%rpmdbattr %_localstatedir /%name/Name
%rpmdbattr %_localstatedir /%name/Packages
%rpmdbattr %_localstatedir /%name/Providename
%rpmdbattr %_localstatedir /%name/Provideversion
%rpmdbattr %_localstatedir /%name/Removetid
%rpmdbattr %_localstatedir /%name/Requirename
%rpmdbattr %_localstatedir /%name/Requireversion
%rpmdbattr %_localstatedir /%name/Sigmd5
%rpmdbattr %_localstatedir /%name/Sha1header
%rpmdbattr %_localstatedir /%name/Triggername
2004-01-20 19:22:47 +03:00
/bin/rpm
%_bindir /rpm
%_bindir /rpm2cpio
2002-08-28 14:50:42 +04:00
%_bindir /rpmdb
%_bindir /rpm[eiu]
%_bindir /rpmsign
%_bindir /rpmquery
%_bindir /rpmverify
2002-12-30 12:54:09 +03:00
%_bindir /rpminit
2002-08-28 14:50:42 +04:00
2005-02-10 17:27:05 +03:00
%rpmdirattr %_rpmlibdir
%rpmattr %_rpmlibdir /delayed_rebuilddb
%rpmattr %_rpmlibdir /pdeath_execute
%rpmattr %_rpmlibdir /rpm[dikq]
%_rpmlibdir /rpm[euv]
%rpmdatattr %_rpmlibdir /rpmpopt*
%rpmdatattr %_rpmlibdir /GROUPS
2006-01-15 01:02:07 +03:00
%_prefix /lib/rpmpopt
%_prefix /lib/rpmrc
2002-08-28 14:50:42 +04:00
2002-12-30 12:54:09 +03:00
%_man1dir/rpminit.*
2002-08-28 14:50:42 +04:00
%_man8dir/rpm.*
%_man8dir/rpm2cpio.*
%files build
2002-10-02 12:40:17 +04:00
%config %_sysconfdir /buildreqs/files/ignore.d/*
2002-08-28 14:50:42 +04:00
%rpmattr %_bindir /gendiff
%_bindir /rpmbuild
%_bindir /relative
2005-02-10 17:27:05 +03:00
%rpmdirattr %_rpmlibdir
%_rpmlibdir /rpmt
%rpmattr %_rpmlibdir /rpmb
2006-01-11 04:01:04 +03:00
%rpmattr %_rpmlibdir /dump_ld_config
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /filesize
%rpmattr %_rpmlibdir /relative
%rpmattr %_rpmlibdir /functions
%rpmattr %_rpmlibdir /brp-*
%rpmattr %_rpmlibdir /*_files
%rpmattr %_rpmlibdir /check-files
%rpmattr %_rpmlibdir /convertrpmrc.sh
2006-01-14 20:44:32 +03:00
%rpmattr %_rpmlibdir /ldd
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /rpm2cpio.sh
%rpmattr %_rpmlibdir /find-lang
%rpmattr %_rpmlibdir /find-package
%rpmattr %_rpmlibdir /find-provides
%rpmattr %_rpmlibdir /find-requires
%rpmattr %_rpmlibdir /fixup-*
%rpmattr %_rpmlibdir /files.*
2007-03-06 23:32:51 +03:00
%rpmattr %_rpmlibdir /lib.*
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /pam.*
2006-02-02 04:51:38 +03:00
%rpmattr %_rpmlibdir /pkgconfig.*
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /shell.*
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-06 02:20:57 +03:00
%rpmattr %_rpmlibdir /shebang.*
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /verify-elf
%rpmattr %_rpmlibdir /Specfile.pm
2006-01-11 04:01:04 +03:00
%rpmattr %_rpmlibdir /*.awk
2002-08-28 14:50:42 +04:00
%_mandir /man?/gendiff.*
%_man8dir/rpmbuild.*
2003-11-07 22:39:49 +03:00
%if _with build_topdir
2002-08-29 19:10:56 +04:00
%files build-topdir
%attr (0755,root,%name) %dir %_usrsrc/RPM
%attr (0770,root,%name) %dir %_usrsrc/RPM/BUILD
%attr (2770,root,%name) %dir %_usrsrc/RPM/SPECS
%attr (2770,root,%name) %dir %_usrsrc/RPM/SOURCES
%attr (2775,root,%name) %dir %_usrsrc/RPM/SRPMS
%attr (0755,root,%name) %dir %_usrsrc/RPM/RPMS
%attr (2775,root,%name) %dir %_usrsrc/RPM/RPMS/*
2003-11-07 22:39:49 +03:00
%endif #with build_topdir
2002-08-29 19:10:56 +04:00
%if _with python
%files python
%_libdir /python*/site-packages/*module.so
%endif #with python
2004-01-20 19:22:47 +03:00
%files static
%_bindir /rpm.static
2002-08-29 19:10:56 +04:00
%if _with contrib
2002-08-28 14:50:42 +04:00
%files contrib
2005-02-10 17:27:05 +03:00
%rpmattr %dir %_rpmlibdir
%rpmattr %_rpmlibdir /cpanflute*
%rpmattr %_rpmlibdir /cross-build
%rpmattr %_rpmlibdir /find-prov.pl
%rpmattr %_rpmlibdir /find-provides.perl
%rpmattr %_rpmlibdir /find-req.pl
%rpmattr %_rpmlibdir /find-requires.perl
%rpmattr %_rpmlibdir /get_magic.pl
%rpmattr %_rpmlibdir /getpo.sh
%rpmattr %_rpmlibdir /javadeps
%rpmattr %_rpmlibdir /magic.*
%rpmattr %_rpmlibdir /rpmdiff*
%rpmattr %_rpmlibdir /trpm
%rpmattr %_rpmlibdir /u_pkg.sh
%rpmattr %_rpmlibdir /vpkg-provides.sh
%rpmattr %_rpmlibdir /vpkg-provides2.sh
2002-08-29 19:10:56 +04:00
%endif #with contrib
2002-08-28 14:50:42 +04:00
%changelog
2007-02-23 02:57:37 +03:00
* Thu Feb 22 2007 Dmitry V. Levin <ldv@altlinux.org> 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-01-11 17:36:35 +03:00
* Thu Jan 11 2007 Dmitry V. Levin <ldv@altlinux.org> 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 01:20:31 +03:00
* Thu Jan 11 2007 Dmitry V. Levin <ldv@altlinux.org> 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).
2006-11-30 19:35:18 +03:00
* Thu Nov 30 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt70
- platform.in: Add %%_target_libdir macro.
2006-11-19 02:49:11 +03:00
* Sun Nov 19 2006 Dmitry V. Levin <ldv@altlinux.org> 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-10-04 18:15:04 +04:00
* Wed Oct 04 2006 Dmitry V. Levin <ldv@altlinux.org> 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-09-21 20:20:26 +04:00
* Thu Sep 21 2006 Dmitry V. Levin <ldv@altlinux.org> 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 " f a l s e | n o | n o n e | o f f " as well as " s k i p " (#9854).
- scripts/brp-strip.in:
Recognize " s k i p " as well as " f a l s e | n o | n o n e | o f f " (#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-05-14 17:06:45 +04:00
* Sun May 14 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt66
- Fixed build with gcc-4.1.0.
2006-04-04 20:49:57 +04:00
* Tue Apr 04 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt65
- build/parsePreamble.c:
+ Ignore RPMTAG_BUILDROOT value completely.
- brp-verify_elf, verify-elf:
+ Implemented VERIFY_ELF_STACK=normal (lakostis).
- platform.in:
+ Set %%_verify_elf_method to
arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal
2006-03-20 17:53:07 +03:00
* Mon Mar 20 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt64
- rpmrc.c:
+ Backported defaultMachine changes from rpm-4_4 branch.
- rpmrc.in:
+ Added pentium2, pentium3, athlonxp.
+ Replaced -mcpu=i686 with -mtune=pentium4.
+ Added -mtune=athlon-xp for k6-compatibles.
- installplatform, macros.in:
+ Updated for new arches.
- Updated libdb4 build requirements.
2006-03-09 20:00:56 +03:00
* Thu Mar 09 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt63
- verify-elf:
+ Extended VERIFY_ELF_UNRESOLVED=normal to behave like strict
for executables too.
2006-03-07 19:22:36 +03:00
* Tue Mar 07 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt62
- platform.in:
+ %%configure : Export lt_cv_deplibs_check_method=pass_all.
+ %%_verify_elf_method: Changed unresolved from relaxed to normal.
- brp-verify_elf, verify-elf:
+ Implemented VERIFY_ELF_UNRESOLVED=normal (like strict
for standard paths and relaxed for others).
2006-02-24 03:54:46 +03:00
* Thu Feb 23 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt61
- find-provides:
+ Applied " n e w s t y l e p r o v i d e s " rules for sonameless libraries too.
- lib/rpmrc.c:
+ Extended %%_preScriptEnvironment to export RPM_TARGET_ARCH.
- brp-verify-elf, verify-elf:
+ Implement " a r c h " option.
- platform.in:
2006-02-24 04:39:20 +03:00
+ Extended %%___build_pre to export RPM_TARGET_ARCH.
2006-02-24 03:54:46 +03:00
+ Set %%_verify_elf_method to
arch=normal,fhs=relaxed,rpath=normal,textrel=normal,unresolved=relaxed
2006-02-21 18:56:00 +03:00
* Tue Feb 21 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt60
- verify-elf:
+ Fixed typo in VERIFY_ELF_UNRESOLVED support.
+ Prohibit rpaths starting/anding with " : " or containing " : : " .
- platform.in:
+ Updated %%_x11*dir macros (#8825).
+ Added %%_niconsdir , updated %%_miconsdir and %%_liconsdir (#9067).
2006-02-08 20:04:28 +03:00
* Wed Feb 08 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt59
- find-requires:
+ Do not strip arch-dependent path components when processing
dependencies on libraries from non-standard locations.
- fixup-{binconfig,libtool,pkgconfig}:
+ Redone %%_libdir processing in more generic way.
2006-02-02 04:51:38 +03:00
* Thu Feb 02 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt58
- Implemented pkgconfig reqprov support and enabled it by default.
2006-01-16 19:12:44 +03:00
* Mon Jan 16 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt57
- find-requires:
+ Fix ld-linux* dependencies handling.
- verify-elf:
+ Make fhs check really work.
+ Redirect output of unresolved check to stderr.
+ Prefix all messages with WARNING or ERROR depending on check mode.
2006-01-14 20:05:35 +03:00
* Sat Jan 14 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt56
- ldd: New helper.
2006-01-14 23:54:03 +03:00
- find-provides, find-requires:
+ Limit executables and libraries to ELF objects.
- find-requires:
+ Use ldd helper instead of system ldd.
- brp-verify-elf, verify-elf:
+ Implement " f h s " and " u n r e s o l v e d " options.
- platform.in:
+ Set %%_verify_elf_method to
fhs=relaxed,rpath=normal,textrel=normal,unresolved=relaxed
2006-01-15 00:58:13 +03:00
- Link librpmdb with -lpopt.
2006-01-15 01:48:02 +03:00
- Link rpmmodule.so with -lpython%%__python_version .
2006-01-14 20:05:35 +03:00
2006-01-11 04:01:04 +03:00
* Wed Jan 11 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt55
- platform.in:
+ Add macros: %%_desktopdir , %%_pixmapsdir (#8767).
- find-provides:
+ Handle *.pth files like other python files
(#8812, patch from Ivan Fedorov).
+ Remove old-style provides for sonames in non-default locations.
2006-01-11 19:41:14 +03:00
+ Change provides format of PAM modules from pam_module.so to
PAM(pam_module.so).
2006-01-11 04:01:04 +03:00
- find-requires:
+ Change output format for dependencies on sonames in non-default
locations (from basename style to pathname style).
2006-01-11 19:41:14 +03:00
- pam.req:
+ Change requires format of PAM modules from pam_module.so to
PAM(pam_module.so).
2006-01-11 04:01:04 +03:00
- dump_ld_config, shlib.req.awk: New helpers.
2005-11-30 20:28:40 +03:00
* Wed Nov 30 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt54
- build/parseSpec.c: Pass undefined macros in preprocess mode
(patch from raorn@).
- platform.in:
2005-12-01 17:24:38 +03:00
+ Added %%__autoreconf macro (#8307);
2005-12-01 02:08:50 +03:00
+ Added --disable-dependency-tracking to %%configure (#8558).
2005-11-30 20:28:40 +03:00
- rpminit, rpminit.1: Added public domain statements (#8433).
- python/Makefile.am: Fixed x86_64 support.
- Enabled build of python subpackage for x86_64.
2005-10-19 21:47:26 +04:00
* Wed Oct 19 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt53
- librpmdb: reverted incompatible part of rpmTagTable backport.
Reported by Alexey Tourbin.
2005-10-15 23:18:12 +04:00
* Sat Oct 15 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt52
- Relocated some code from librpm to librpmdb, do resolve
undefined references between libraries.
- domd5(): Backported prelink support.
2005-10-18 02:58:37 +04:00
- Changed build to link librpmdb with libelf by default.
- 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 - - f o r c e " even if package NEVRs match.
2005-10-18 14:43:12 +04:00
+ When comparing package versions on -U or -F, take
build dates into account.
2005-10-15 23:18:12 +04:00
2005-10-13 04:44:53 +04:00
* Thu Oct 13 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt51
- rpmio/macro.c, build/parseSpec:
+ When %%_allow_undefined_macros is set to true value,
pass undefined macros but issue warning messages.
+ When processing section where comments should be skipped,
pass undefined macros within comments but issue warning messages.
+ When processing %%prep, %%build, %%install and %%clean sections,
pass undefined macros and issue warning messages.
2005-10-13 15:07:02 +04:00
+ When processing undefined macros, issue warnings instead of errors
for short macros which cannot be defined.
2005-10-13 04:44:53 +04:00
2005-10-10 18:33:11 +04:00
* Mon Oct 10 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt50
- parseSpec.c:
2005-10-15 23:18:12 +04:00
+ Added %%docdir to tags_files_list.
2005-10-10 18:33:11 +04:00
+ Backported nested conditionals handling fix.
+ Backported multiline macro support.
- GROUPS: New group added: Networking/FTN (closes #7718).
- rpmbuild.8: Added --nosource/--nopatch descriptions (closes #8015).
2005-10-10 19:32:18 +04:00
- installplatform, platform.in, rpmrc.in:
2005-10-10 18:33:11 +04:00
+ Maintain noarch as self-contained architecture (mouse@).
2005-10-06 03:27:06 +04:00
* Thu Sep 29 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt49
2005-10-06 23:22:39 +04:00
- Changed expandMacro() and related callers to print error message
and set error status for undefined macros (closes #8089).
Introduced %%_allow_undefined_macros to pass undefined macros.
2005-10-06 03:27:06 +04:00
- Fixed rpmExpand* usage everywhere.
2005-10-06 05:22:24 +04:00
- platform.in: Fixed %% quotation.
2005-10-06 03:27:06 +04:00
- strip_files: Removed StripNote() code.
2005-09-05 01:09:18 +04:00
* Mon Sep 05 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt48
- brp-compress: handle RPM_COMPRESS_SKIPLIST environment variable.
- parseScript: do not generate RPMSENSE_INTERP dependencies
when autoReq is disabled.
- Corrected license tags (#6710).
2005-07-01 14:48:08 +04:00
* Fri Jul 01 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt47
- shell.req:
redirected test run of " b a s h - - r p m - r e q u i r e s " to /dev/null.
2005-06-30 02:36:46 +04:00
* Wed Jun 29 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt46
- lib/header.c:
parseFormat(): allocate necessary memory for arrays
(closes #6086).
- GROUPS:
new groups: Development/Documentation, Documentation
(closes #7182).
- shell.req:
use " b a s h " for Bourne-Again shell scripts, and " s h " for others
(closes #7242).
2005-06-16 20:24:08 +04:00
* Thu Jun 16 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt45
- Added x86_64 support (Mouse, closes #4903).
2005-06-30 02:36:46 +04:00
- Build this package without optimizations based on strict aliasing rules.
2005-06-16 20:24:08 +04:00
2005-06-15 17:30:27 +04:00
* Wed Jun 15 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt44
- librpmdb: Fixed locking issue (#990).
- rpm-build: Removed net-tools from dependencies.
2005-06-15 20:07:27 +04:00
- platform.in: new macro: %%_rpmlibdir .
2005-06-15 17:30:27 +04:00
2005-05-10 19:18:44 +04:00
* Tue May 10 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt43
- Rebuilt with glibc-2.3.5 and python-2.4.
2005-02-10 17:00:33 +03:00
* Thu Feb 10 2005 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt42
- Backported db-4.3 support.
- GROUPS: new group: System/X11.
- platform.in:
+ updated %%configure .
+ new macros: %%_x11x11dir, %%_pkgconfigdir .
+ export RPM_LIB and RPM_LIBDIR variables.
- pam.req: initial mulitlib support.
- brp-cleanup: fixed " f i n d - m a x d e p t h " warning.
- find-lang: made --custom-* options work both as script and script-file.
2004-10-31 22:10:12 +03:00
* Sun Oct 31 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt41
- brp-bytecompile_python: check that $RPM_PYTHON is executable (#4756).
- find-lang: changed --with-man mode (#5164).
- brp-fixup: fixed typo (#5273).
- platform.in: updated python support (Andrey Orlov, #5291).
- Added pentium4 arch support (Sir Raorn, #5259).
- Added tcl findreqprov support (Sergey Bolshakov, #5364).
2004-06-29 19:28:37 +04:00
* Tue Jun 29 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt40
- find-lang:
+ more tweaks (#4540).
+ more options (#3244).
2004-06-27 17:54:27 +04:00
* Sun Jun 27 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt39
- rpmio/macro.c(grabArgs):
+ fixed to avoid newline eat up (#366).
- lib/header.c:
+ changed headerFindI18NString() and others to follow
the gettext(3) rules (#1379).
- build.c(buildForTarget):
+ implemented %%_buildrequires_build support.
- find-lang:
+ corrected regexps (#4228).
- platform:
2004-06-28 02:31:10 +04:00
+ %%set_*_version: update %%_buildrequires_build (#3335);
2004-06-27 20:39:26 +04:00
+ run scrollkeeper-update quietly (#4485);
+ fixed typo in %%add_python_lib_path().
2004-06-28 02:00:50 +04:00
- find-provides:
+ parse unrecognized __init__.py files as python files,
patch from Andrey Orlov.
2004-06-27 17:54:27 +04:00
2004-05-17 19:51:28 +04:00
* Mon May 17 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt38
- Disallow root to install source packages by default.
- find-lang: handle symlinks in --with-gnome mode.
- find-requires:
+ updated hooks for python support, from Andrey Orlov.
- brp-bytecompile_python:
+ use new bytecompiler, from Andrey Orlov.
- platform:
+ added python to default lists of find{req,prov} methods.
2004-04-28 21:28:03 +04:00
* Mon Apr 26 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt37
- build/parseReqs.c(parseRCPOT): better error reporting (#3883).
- fixup-libraries: recognize PIE objects.
- platform: added more python macros, from Andrey Orlov.
- find-requires, find-provides:
+ updated hooks for python support, from Andrey Orlov
with minor tweaks.
2004-03-01 19:52:49 +03:00
* Mon Mar 01 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt36
- find-requires, find-provides:
+ Implemented hooks for python support, from Andrey Orlov
with minor tweaks.
2004-02-29 17:14:02 +03:00
* Sun Feb 29 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt35
2004-02-29 23:21:22 +03:00
- Backported db-4.1 support (#3464).
- Implemented db-4.2 support.
- rpmdb: enhanced rebuilding database messages.
2004-02-29 17:14:02 +03:00
2004-02-27 16:45:04 +03:00
* Fri Feb 27 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt34
2004-02-26 18:11:46 +03:00
- find_lang: implemented support for symlinks in /usr/share/locale/.
2004-02-22 21:31:31 +03:00
- platform: added force_* macros suggested by Alexey Morozov.
- headerFindI18NString: do not translate empty strings.
2005-10-06 03:27:06 +04:00
- expandMacro: handle single %% properly.
2004-02-27 16:45:04 +03:00
- Fixed build with fresh autotools.
2004-02-22 21:31:31 +03:00
2004-02-04 00:35:23 +03:00
* Tue Feb 03 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt33
- lib/psm.c(runScript):
+ executed scripts expect default SIGPIPE handler,
so reset it (fixes #2573).
- find-provides:
+ for symlinks to shared libraries, ignore symlinks to shorter
locations (workaround for libdb-4.0.so provides problem).
2004-02-04 16:37:46 +03:00
- macros:
2004-02-04 16:39:42 +03:00
+ fixed %%__cxx macro definition (reported by aris@),
was broken since 4.0.4-alt29.
2004-02-04 00:35:23 +03:00
2004-01-29 17:11:56 +03:00
* Thu Jan 29 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt32
- find-provides: changed output format of extra provides
for sonames found in non-default locations
(introduced in 4.0.4-alt30).
- build/reqprov.c(addReqProv):
+ enhanced duplicates elimination algorithm,
it now covers all known optimization cases;
+ implemented %%_deps_optimization support.
- Updated README.ALT-ru_RU.KOI8-R.
2004-01-27 17:59:36 +03:00
* Tue Jan 27 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt31
- build/parseReqs.c(parseRCPOT):
2005-10-06 03:27:06 +04:00
+ tokens must not contain '%%<=>' symbols since it is common
2004-01-27 17:59:36 +03:00
packaging error.
- build/reqprov.c(compare_deps):
+ fixes in duplicates detection algorithm introduced in
previous release.
- build/reqprov.c(addReqProv):
+ enhanced duplicates elimination algorithm;
it should cover most optimization cases.
2004-01-25 21:21:22 +03:00
* Sun Jan 25 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt30
- Reviewed all shell helpers for unneeded pattern
substitutions (#2743).
- find-provides: output extra provides for sonames found in
non-default locations.
- build/parseReqs.c(parseRCPOT):
2005-10-06 03:27:06 +04:00
tokens must not contain '%%' symbol since it is common
2004-01-25 21:21:22 +03:00
macros manipulation error.
- build/reqprov.c(addReqProv):
2004-01-26 21:03:23 +03:00
+ rewritten duplicates detection algorithm;
+ implemented " p r o v i d e d r e q u i r e s " detection.
2004-01-25 21:21:22 +03:00
- Build python module with latest python.
2004-01-20 19:22:47 +03:00
* Sun Jan 04 2004 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt29
- brp-cleanup: fixed possible cleanup misses.
2004-01-21 19:08:37 +03:00
- brp-cleanup, platform: implemented %%_keep_libtool_files support.
2004-01-20 19:22:47 +03:00
- verify-elf: verify SUID/SGID ELF objects as well.
- fixup-libraries: fix SUID/SGID libraries as well.
- find-lang: implemented --with-kde option (aris@, #2666).
- find-provides: simplify check for perl files (at@ request).
2004-01-21 18:57:43 +03:00
- rpmd, rpmi, rpmk: do not link with librpmbuild.
2004-01-20 19:22:47 +03:00
- /bin/rpm: build dynamically and relocate to %_bindir ;
provide symlink for compatibility.
- /usr/bin/rpm.static: package separately.
- /usr/lib/librpmbuild-4.0.4.so: package separately.
2005-02-10 17:27:05 +03:00
- Relocated %_rpmlibdir /{rpmrc,macros} to librpm subpackage.
2004-01-21 19:25:27 +03:00
- Removed c++ from build dependencies.
2004-01-22 15:43:59 +03:00
- lib/depends.c(rpmRangesOverlap):
changed algorithm so EVRs will be compared
2004-01-22 12:26:21 +03:00
if at least one of compared packages has EVR information.
2004-01-22 15:43:59 +03:00
- lib/depends.c(rangeMatchesDepFlags,alAllSatisfiesDepend):
when using rpmRangesOverlap for versioned requires, ensure that
provides are also versioned.
2004-01-20 19:22:47 +03:00
2003-11-26 12:28:19 +03:00
* Mon Nov 24 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt28
2003-11-24 20:01:12 +03:00
- brp-verify_elf:
" % % s e t _ v e r i f y _ e l f _ m e t h o d r e l a x e d " now affects textrel as well as rpath.
- verify-elf:
print textrel information even if textrel=relaxed.
- pam.{prov,req}: better error diagnostics.
2003-11-27 12:23:40 +03:00
- platform: corrected %%__python_version definition (#3311).
2003-11-25 11:40:28 +03:00
- Fixed Makefiles to correct librpm*-4.0.4.so dependencies.
2003-11-24 23:43:54 +03:00
- Do not package .la files.
2003-11-25 16:50:49 +03:00
- brp-cleanup: remove lib*.la files from /lib, /usr/lib, and /usr/X11R6/lib.
2003-11-26 15:43:15 +03:00
- brp-fix-perms, fixup-libraries:
+ strip executable bit from non-executable libraries;
+ ensure that file objects in /usr/ are user-writable.
2003-11-25 19:02:07 +03:00
- rpmbuild --rebuild/--recompile: implemented support for new macros:
%%_rpmbuild_clean and %%_rpmbuild_packagesource.
2003-11-26 12:28:19 +03:00
- Updated README.ALT-ru_RU.KOI8-R.
2003-11-24 20:01:12 +03:00
2003-11-09 20:10:20 +03:00
* Sun Nov 09 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt27
- helper shell scripts:
+ use printf instead of echo where appropriate;
2005-02-10 17:27:05 +03:00
+ moved common code to %_rpmlibdir /functions.
2003-11-09 16:34:10 +03:00
- Implemented %%_unpackaged_files_terminate_build support.
2005-02-10 17:27:05 +03:00
- rpm-build: do not package %_rpmlibdir /mkinstalldirs.
2003-11-07 22:39:49 +03:00
- Do not package build-topdir subpackage by default.
- verify_elf: implemented TEXTREL checking.
2003-11-09 16:34:10 +03:00
- Updated README.ALT-ru_RU.KOI8-R.
2003-11-07 22:39:49 +03:00
2003-09-27 22:20:24 +04:00
* Sat Sep 27 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt26
- gendiff: cleanup (#2558).
- build/files.c: fixed RPMTAG_SIZE calculation (#2634).
- New group: Graphical desktop/XFce (#3048).
- platform.in(%%configure ):
+ invoke libtoolize when configure.ac is present (#3049).
- pam.prov:
+ validate $PAM_NAME_SUFFIX.
- pam.req:
2003-11-24 20:01:12 +03:00
+ validate $PAM_SO_SUFFIX and $PAM_NAME_SUFFIX;
2003-09-27 22:20:24 +04:00
+ induce " b u i l d r e q - b i " to generate dependence on
libpam-devel package (#3050).
- Updated README.ALT-ru_RU.KOI8-R.
2003-09-22 17:07:25 +04:00
* Mon Sep 22 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt25
- find-package:
+ when dependence name starts with `/',
look into pkg contents binary index as well;
+ fixed package database checks.
- perl.{req,prov}: relocated to separate subpackage.
2003-09-22 18:01:19 +04:00
- tcl.req: fixed perl syntax (at).
2003-09-22 17:07:25 +04:00
2003-09-12 21:24:00 +04:00
* Fri Sep 12 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt24
2005-02-10 17:27:05 +03:00
- rpm-build: do not package %_rpmlibdir /config.* files (#2732).
2003-09-12 21:24:00 +04:00
- build/pack.c: create %%_srcrpmdir (#2353).
- rpmrc.in:
+ added armv5 arch support (#2801, Sergey Bolshakov).
- configure.in:
+ fixed build without python (#2802, Sergey Bolshakov).
- perl.{req,prov}:
+ new version from perl maintainer (Alexey Tourbin).
2003-08-16 20:46:11 +04:00
* Sat Aug 16 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt23
- autogen.sh:
+ removed all autotools restrictions.
- platform.in:
+ fixed typo in %%_scripts_debug support.
2003-08-21 21:53:05 +04:00
+ %%optflags_warnings: added " - - e n a b l e W e r r o r " support.
2003-08-16 20:46:11 +04:00
- find-requires:
+ updated to support ELF objects with private flags.
2003-07-21 17:57:51 +04:00
* Mon Jul 21 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt22
2003-09-12 21:24:00 +04:00
- lib/depends.c:
+ fixed " R e q u i r e s ( p o s t , p r e u n ) " problem.
- lib/psm.c:
+ do syslog only when geteuid() == 0.
2003-07-20 00:34:21 +04:00
- build/poptBT.c, build/rpmbuild.h, build.c, rpmqv.c:
+ implemented " r p m b u i l d - b M " (raorn).
2003-09-12 21:24:00 +04:00
- build/parsePreamble.c:
+ disabled readIcon() code (fixes #0002637).
2003-07-20 00:34:21 +04:00
- rpmpopt.in:
+ ignore build dependencies in " r p m * - C " (at);
+ added alias for " r p m - b M " .
2003-07-21 00:25:34 +04:00
- librpm: stripped off executable bits from libraries.
2003-07-09 21:23:50 +04:00
2003-06-20 15:20:47 +04:00
* Fri Jun 20 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt21
- platform.in:
+ always define RPM_BUILD_ROOT;
+ define PAM_SO_SUFFIX and PAM_NAME_SUFFIX;
2003-07-02 18:40:36 +04:00
+ define RPM_SCRIPTS_DEBUG if %%_scripts_debug is set;
+ removed " - f e x p e n s i v e - o p t i m i z a t i o n s " from %%optflags_optimization
2003-06-20 15:20:47 +04:00
since it's included in -O2 and -Os.
- find-provides:
2003-07-02 18:40:36 +04:00
+ enable shell trace mode if $RPM_SCRIPTS_DEBUG is set;
2003-07-02 20:49:13 +04:00
+ fixed " r e a d l i n k - f v " bug introduced in 4.0.4-alt20;
+ do not ignore symlinks when parsing PAM scripts.
2003-06-20 15:20:47 +04:00
- find-requires:
2003-07-02 18:40:36 +04:00
+ enable shell trace mode if $RPM_SCRIPTS_DEBUG is set.
2003-06-28 20:51:22 +04:00
- find-package:
+ updated pkg contents index code.
2003-06-20 15:20:47 +04:00
- pam.prov:
+ honor $PAM_NAME_SUFFIX.
- pam.req:
2005-10-06 03:38:41 +04:00
+ honor $PAM_SO_SUFFIX and $PAM_NAME_SUFFIX.
2003-09-12 21:24:00 +04:00
- build/files.c:
+ honor generateDepends() return code.
2003-06-28 20:51:22 +04:00
- rpminit:
+ do not be verbose by default;
+ parse -v/--verbose option.
2003-06-20 15:20:47 +04:00
2003-05-26 01:58:45 +04:00
* Mon May 26 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt20
2003-05-26 02:03:13 +04:00
- find-provides:
+ ignore symlinks when looking for non-library provides;
+ ignore symlinks for libraries without soname;
+ for libraries with soname, ignore all but files named as soname.
2003-05-26 01:58:45 +04:00
- pam.req: implemented include control directive support.
- brp-cleanup: PAM configuration policy enforcement.
2003-05-26 02:03:13 +04:00
- Updated README.ALT-ru_RU.KOI8-R.
2003-05-09 18:55:36 +04:00
* Fri May 09 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt19
- Reduced amount of rpm subpackage dependencies.
2003-05-13 17:13:36 +04:00
- Moved update-alternatives to separate package.
2003-05-10 13:27:51 +04:00
- convertrpmrc.sh: relocated to build subpackage.
2003-05-13 17:13:36 +04:00
- find-requires: more filename-based autodependencies.
- find-provides: limit path where to search library provides.
- platform.in: added macros for find-provides library
search path manipulations.
- perl.{req,prov}: new version from perl maintainer.
2003-05-14 15:29:51 +04:00
- brp-strip: removed perms-based lookup optimization.
2003-05-09 18:55:36 +04:00
2003-05-06 19:09:48 +04:00
* Tue May 06 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt18
- rpmio: fixed gzclose error handling.
2003-05-03 18:41:54 +04:00
* Thu May 01 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt17
- rpm2cpio: return proper exit code.
- Fixed perl provides autodetection (broken in -alt16).
2003-05-05 15:28:29 +04:00
- platform.in:
+ %%get_dep(): make valid string even for missing packages;
+ changed macros: %%post_service, %%preun_service
(due to new info-install package).
2003-05-03 18:41:54 +04:00
- New group: Sciences/Medicine.
- Do not package cron and logrotate scripts.
2003-05-05 13:42:01 +04:00
- Updated package dependencies.
2003-05-03 18:41:54 +04:00
2003-04-25 19:53:21 +04:00
* Thu Apr 24 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt16
2005-10-06 03:38:41 +04:00
- Fixed segfault on " r p m q u e r y - - q f ' % %{FILENAMES} ' b a s e s y s t e m " command.
2003-04-25 21:00:33 +04:00
- Implemented shell functions requires/provides autodetection
and enabled it by default.
- New groups (#0002429):
+ Development/Functional
+ Development/Haskell
+ Development/Lisp
+ Development/ML
+ Development/Scheme
2003-04-25 19:53:21 +04:00
- Do not build API docs by default.
2003-04-22 16:03:15 +04:00
* Tue Apr 22 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt15
2003-04-22 17:36:33 +04:00
- Fixed `rpmbuild -bE' return code (#0001021).
2003-04-22 16:03:15 +04:00
- platform.in:
+ export MAKEFLAGS variable (#0001796).
2003-04-22 17:36:33 +04:00
+ changed macros: %%post_service, %%preun_service
(due to new service package).
2003-04-22 16:03:15 +04:00
- update-alternatives.8: fixed atavism (#0002273).
- Updated libdb4 build requirements.
2003-04-22 19:18:26 +04:00
- find-package, platform.in: added pkg contents index support.
2003-04-22 16:03:15 +04:00
2003-02-01 21:51:19 +03:00
* Sat Feb 01 2003 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt14
- rpmio/macro.c: filter out non-alphanumeric macro files (#0001925).
- perl.req: fixed typo (#0002056).
- find-lang: added support for gnome omf files.
- build/build.c: unset all known locale environment variables
right before executing %%___build_cmd .
2003-02-02 23:25:37 +03:00
- ru.po: minor translation fixes.
2003-02-01 21:51:19 +03:00
2002-12-30 02:33:01 +03:00
* Mon Dec 30 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt13
- Fixed skiplists processing.
- rpminit(1): imported from Owl with ALT adaptions.
2002-12-08 01:32:14 +03:00
* Sun Nov 10 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt12
2002-12-10 02:24:53 +03:00
- lib/query.c: rpmQueryVerify[RPMQV_RPM]: parse file argument
(do glob and other expansions) only if glob_query is enabled
[and disabled it by default].
This change allows widespread constructions like
" f i n d - p r i n t 0 | x a r g s - r 0 r p m q u e r y - p - - " .
- find-requires: fixed perl script autodetection (#0001680).
2002-12-08 01:32:14 +03:00
- macros:
+ Removed some obsolete macros.
+ %%___build_pre : moved to platform;
+ Added warning about misspelled architecture.
2002-12-09 14:32:49 +03:00
+ Added %%__spec_ *_custom_{pre,post} macros.
2002-12-08 01:32:14 +03:00
- platform:
+ %%___build_pre : moved from macros.
+ Adjusted %%_configure_target macro,
now uses both --build and --host options.
+ Adjusted %%clean_buildroot,
2002-12-10 02:24:53 +03:00
now uses " % %__chmod - R f u + r w X " .
+ Reintroduced %%_fixperms macro,
now uses " % %__chmod - R f u + r w X , g o - w " .
2002-12-08 01:32:14 +03:00
+ Added CCACHE_CXX support.
2002-12-10 02:24:53 +03:00
- rpmpopt:
+ Added with/without/enable/disable aliases to rpmq/rpmquery.
2005-02-10 17:27:05 +03:00
- Fixed permissions on %_rpmlibdir in -build subpackage
2002-12-08 01:32:14 +03:00
(thanks to Ivan Zakharyaschev).
2002-11-06 13:09:11 +03:00
* Mon Nov 04 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt11
- Fixed error handling in shell scripts.
- platform: updated %%optflags_kernel for gcc-3.2.
- find-requires: added lookup for /etc/cron.*ly.
- Updates for perl-5.8.0 migration:
+ platform: added %%_perl_req_method/%%set_perl_req_method macros.
+ macros: %%___build_pre : export RPM_PERL_REQ_METHOD.
+ perl.{req,prov}: new version (Alexey Tourbin).
2002-10-28 01:33:13 +03:00
* Mon Oct 28 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt10
- New macros:
2003-11-08 23:30:53 +03:00
%%set_{autoconf,automake,libtool}_version.
2002-10-28 01:33:13 +03:00
2002-10-25 16:09:50 +04:00
* Fri Oct 25 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt9
- find-requires: added libperl/nolibperl options.
- New group: System/Servers/ZProducts.
2002-10-22 19:12:01 +04:00
* Tue Oct 22 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt8
2002-10-23 17:21:32 +04:00
- lib/header.c: headerFindI18NString: check for LANGUAGE first.
2002-10-22 19:12:01 +04:00
- perl.req: s/perl >= /perl-base >= / (Alexey Tourbin)
2002-10-23 17:21:32 +04:00
- Commented out old %%perl_* macros.
- Migrated to gettext-0.11.5.
2002-10-22 19:12:01 +04:00
2002-10-07 13:02:04 +04:00
* Mon Oct 07 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt7
- Fixed %%doc (was broken in -alt6).
2002-10-05 01:37:04 +04:00
* Sat Oct 05 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt6
2002-10-05 01:46:59 +04:00
- Fixed skiplists processing.
2005-10-06 03:38:41 +04:00
- New macro: %%_customdocdir (affects DOCDIR processing).
2002-10-05 01:37:04 +04:00
2002-10-04 03:31:56 +04:00
* Fri Oct 04 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt5
2002-10-03 21:27:46 +04:00
- lib/psm.c: fixed chroot(2) handling (aka " r p m i - - d b p a t h " problem).
2002-10-04 03:31:56 +04:00
- po/ru.po: translation fix (#0001286).
2002-10-03 21:27:46 +04:00
- New method now gets executed after %%install:
2002-10-04 03:31:56 +04:00
brp-fixup (controlled by %%_fixup_method macro).
2002-09-27 17:41:26 +04:00
- New macros:
2002-10-04 03:31:56 +04:00
+ %%_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_{topdir,skiplist};
+ %%set_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_{topdir,skiplist}();
+ %%add_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_skiplist();
+ %%__gcc_version {,_major,_minor,_patch,_base}.
2002-10-04 14:53:06 +04:00
- New groups:
+ Development/Objective-C;
+ Education;
+ Games/Educational.
2002-09-27 17:41:26 +04:00
2002-09-09 14:53:54 +04:00
* Mon Sep 09 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt4
- new brp method: verify_elf.
- platform:
+ set %%_verify_elf_method to " n o r m a l " ;
2003-11-08 23:30:53 +03:00
+ added %%set_verify_elf_method() macro;
2002-09-09 14:53:54 +04:00
+ set %%_configure_target to " - - b u i l d = % % { _ t a r g e t _ p l a t f o r m } " .
2002-09-05 15:07:06 +04:00
* Thu Sep 05 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt3
- Fixed typo in %%install_info/%%uninstall_info macros (sb).
2002-09-05 15:58:17 +04:00
- brp-strip:
+ added --skip-files option;
+ by default, skip all files matched by '*/debug/*' pattern.
2002-09-05 15:07:06 +04:00
2002-09-03 21:15:00 +04:00
* Mon Sep 02 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt2
- Removed README.ALT, added README.ALT-ru_RU.KOI8-R
(based on alt-packaging/rpm.spec).
- Use subst instead of perl for build.
2002-09-04 16:52:33 +04:00
- find-requires: added glibc-devel-static requirement autogeneration.
2002-09-03 21:15:00 +04:00
2002-08-29 21:30:10 +04:00
* Wed Aug 28 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt1
- rpmio:
+ implemented macrofiles globbing.
+ implemented MkdirP.
2002-08-29 19:10:56 +04:00
- build/pack.c, lib/psm.c: make use of MkdirP for build.
- rpmpopt:
+ cloned all rpmq aliases for rpmquery;
+ added --nowait-lock alias for rpm, rpmq and rpmquery;
+ added -C alias for rpmbuild.
- platform:
+ Changed default value for _strip_method to " n o n e " when " - - e n a b l e d e b u g " is used.
- macros:
+ added %%__subst ;
+ %%___build_pre : do %%__mkdir_p %%_builddir before chdir there.
2002-08-29 21:30:10 +04:00
- rpmrc: added %_sysconfdir /%name/macros.d/* to macrofiles search list.
- find-requires: added /etc/rpm/macros.d dependence autodetection.
2002-08-29 19:10:56 +04:00
- brp-cleanup, brp-compress, brp-strip, compress_files:
+ Added parameter filtering.
2002-08-29 21:30:10 +04:00
- rpm: provides %_sysconfdir /%name/macros.d
2002-08-29 19:10:56 +04:00
- rpm-build: requires %_bindir /subst.
- New group: Graphical desktop/GNUstep.
- Moved contrib subpackage under with/without logic control and disabled
packaging by default.
2005-10-06 03:38:41 +04:00
- Moved /usr/src/RPM from rpm-build subpackage to rpm-build-topdir
2002-08-29 19:10:56 +04:00
subpackage (for reference; it is no longer needed).
2002-08-28 14:50:42 +04:00
* Mon Aug 12 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt0.11
- Fixed %%basename builtin macro.
- Implemented %%homedir builtin macro.
* Sat Aug 03 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt0.10
- Updated code to snapshot 2002-06-15 of 4_0 branch.
- Migrated to: automake >= 1.6.1, autoconf >= 2.53.
- Refined database locking patch (controlled by %%_wait_for_lock).
- update-alternatives: enhanced --config option; various fixes.
- New group: Development/Ruby.
* Mon Jul 29 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt0.9
- Dropped compatibility symlink to alt-gpgkeys
(was added in previous release).
* Mon Jul 08 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt0.8
- Moved ALT GnuPG keyring to separate package (alt-gpgkeys).
- New rpm macros:
subst_with();
subst_enable().
- Merged patches from Ivan Zakharyaschev:
- Fixed a pair of swapped function dscriptions.
- Fixed a pair of segfaults in query format parser.
- Added a pair of new things to the query format:
the '>' -test, ':nothing' format variant and
implemented '-q --changes-since=<e:v-r>' upon them (docs added).
* Thu Jun 13 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt0.7
- Updated code to snapshot 2002-05-23 of 4_0 branch.
- runScript(): export RPM_INSTALL_ARG{1,2} variables.
- convert(): added full i18n support (it costs one more memleak).
- Support setting the BuildHost tag explicitly rather than only
from what the kernel thinks the system's hostname is (Owl).
- find-requires: include all versioned dependencies,
not only " G L I B C | G C C | B Z L I B " .
- New group: Development/Debuggers.
- Backported popt " r p m - b E " alias from rpm3 (Anton Denisov).
- New rpm macros:
+ ldconfig update (mhz):
post_ldconfig_lib
post_ldconfig_sys
post_ldconfig
postun_ldconfig
+ TCL directories (sb):
_tcllibdir
_tcldatadir
- %%___build_pre changes:
+ unset DISPLAY and XAUTHORITY unless explicitly redefined
by %%_build_display and %%_build_xauthority;
+ unset CCACHE_CC and CCACHE_DIR unless explicitly redefined
by %%__ccache_cc and %%__ccache_dir (ab).
* Mon Apr 22 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.6
- Updated code to snapshot 2002-04-19 of 4_0 branch.
* Fri Apr 12 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.5
- Updated code to snapshot 2002-04-11 of 4_0 branch (fixes #0000815).
* Fri Apr 05 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.4
- Updated code to snapshot 2002-04-04 of 4_0 branch.
- Updated gpg keyring (added: 21, dropped: 2, total: 54).
- New rpm macros:
defined()
undefined()
ifndef()
with()
without()
if_with()
if_without()
enabled()
disabled()
if_enabled()
if_disabled()
* Sat Mar 30 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.3
- Updated code to snapshot 2002-03-27 of 4_0 branch.
- New popt aliases:
--enable
--disable
- New rpm macros:
ifdef()
check_def()
def_with()
def_without()
def_enable()
def_disable()
post_ldconfig
postun_ldconfig
- Honor _enable_debug macro in optflags_* definitions.
- Use postun_ldconfig.
- Automated librpm and rpm-build versioned dependencies.
* Wed Mar 27 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.2
- Updated russian translations.
- New macros from ab:
rpm_check_field(p:)
php_version(n:)
php_release(n:)
* Mon Mar 25 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.4-alt0.1
- Updated code to snapshot 2002-03-22 of 4_0 branch.
- Updated librpm dependencies:
libpopt >= 1:1.7-alt3, zlib >= 1.1.4, bzlib >= 1:1.0.2-alt1, libdb4.
- New macros: %%get_SVR(), %%get_dep().
* Tue Jan 29 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt3
- brp-compress.in: implemented execute permissions removal from manpages.
- brp-fix-perms: do not attempt to fix symlinks
(fixes filesystem rebuild problem).
- brp-bytecompile_python: recompile also with optimization.
- platform.in: fixed %%__python_version definition.
- find-package: s/rpm -qf/rpmquery --whatprovides/g.
- rpmlib: do also RPMTAG_PROVIDENAME lookup for
rpmQueryVerify(RPMQV_WHATPROVIDES) items starting with " / " .
* Fri Jan 11 2002 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt2
- update-alternatives: test not for file readability but for file existance;
- new macros: update_wms, clean_wms, update_scrollkeeper, clean_scrollkeeper;
- obsolete macros: make_session.
* Mon Dec 10 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt1
- Built with new libdb3 (whith fixed chroot_hack),
updated libdb3 dependencies; so " r p m - - r o o t " option works again.
- find-requires: fixed soname version reference requires generation
(added GCC and BZLIB).
- Fixed russian translation (locking messages).
- Updated gpg keyring.
* Thu Dec 06 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.9.1
- Updated code to 4.0.3 release.
- rpm subpackage: fixed dependencies (glibc --> glibc-core).
- Added /usr/lib/perl5/man to default docdir list.
- Added permissions enforcing for documentation created by %%doc directive.
- Exit with nonzero if %%doc directive fails.
- Added permission policy enforcement (via brp-fix-perms script).
- Built with chroot_hack enabled, updated libdb3 dependencies.
Beware of --root option for now.
* Mon Nov 19 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.9
- Updated requires for build subpackage.
- find-requires: added more rules for files method: logrotate, vixie-cron, chrooted.
* Fri Nov 16 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.8
- Fixed macros:
%%configure .
- Fixed %%post script for installer and BTE.
- Fixed syslog messages (#0000157).
- Ignore icons in preprocess mode (ab).
* Tue Nov 13 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.7
- Fixed macros:
%%remove_optflags, %%add_optflags, %%__glibc_version_minor ,
%%install_info, %%uninstall_info.
- Fixed libpopt versioned prerequires.
* Mon Nov 12 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.6
- Database locking backport: fixed error checking.
- Fixed nested boolean expressions parsing.
* Fri Nov 09 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.5
- Backported database locking (use %%_wait_for_lock to control).
* Thu Nov 08 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.4
- Updated code from 4_0 branch:
* Mon Nov 5 2001 Jeff Johnson <jbj@redhat.com>
- fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- add RPHNPLATFORM and PLATFORM tags.
* Tue Nov 06 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.3
- Corrected directory attributes.
- Made " - - r e b u i l d d b - v " more verbose.
* Mon Nov 05 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.2
- Implemented automatic db3 migration.
- Updated russian translations.
* Thu Nov 01 2001 Dmitry V. Levin <ldv@alt-linux.org> 4.0.3-alt0.1
- Initial ALT prerelease (with partial ALT specific backport from rpm3)
based on 4.0.3 rh release 1.06.
TODO:
- backport database locking (--nowait-lock);
- update russian translations;
- implement automatic db3 migration.