2016-06-21 14:48:12 +03:00
%define oname rpm
Name : rpm-build
2022-02-06 11:00:00 +03:00
Version : 4.0.4.181
2021-09-09 11:00:00 +03:00
Release : alt1
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
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
2003-11-07 22:39:49 +03:00
%def_without build_topdir
2010-03-31 19:39:22 +04:00
%def_with selinux
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%def_with profile
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
2016-06-21 14:48:12 +03:00
Summary : Scripts and executable programs used to build packages
Summary(ru_RU.UTF-8): Файлы, необходимые для установки SRPM-пакетов и сборки RPM-пакетов
2020-01-03 22:33:48 +03:00
License : GPLv2+
2016-06-21 14:48:12 +03:00
Group : Development/Other
Obsoletes : spec-helper
2019-01-11 02:20:03 +03:00
Requires : librpmbuild = %version-%release
2019-01-21 02:40:39 +03:00
Requires : %_bindir /subst
Requires : autoconf
Requires : autoconf-common
Requires : automake
Requires : automake-common
2016-06-21 14:48:12 +03:00
Requires : bash >= 0:3.1.17-alt4
2019-01-21 02:40:39 +03:00
# Due to 'readelf --dyn-syms':
Requires : binutils >= 1:2.20.51.0.7
Requires : bison
2016-06-21 14:48:12 +03:00
Requires : bzip2 >= 1:1.0.2-alt4
2019-01-21 02:40:39 +03:00
Requires : coreutils
Requires : cpio
Requires : elfutils >= 0.143-alt1
Requires : gcc
Requires : gettext-tools
Requires : glibc-devel
Requires : gnu-config
2016-06-21 14:48:12 +03:00
Requires : gzip >= 0:1.3.3-alt2
2019-01-21 02:40:39 +03:00
Requires : info-install >= 4.11
Requires : kernel-headers
Requires : libtool
Requires : m4
2018-01-18 00:53:02 +03:00
# due to -O option in $MAKEFLAGS
Requires : make >= 4.0
2016-06-21 14:48:12 +03:00
Requires : mktemp >= 1:1.3.1
Requires : patch >= 2.5
2019-01-21 02:40:39 +03:00
Requires : pkgconfig-recursion
Requires : pkgconfig-reqprov
Requires : procps
Requires : psmisc
2016-06-21 14:48:12 +03:00
Requires : rpm-build-perl >= 0.76
2021-04-28 23:00:00 +03:00
Requires : rpm-macros-python
2021-05-01 11:00:00 +03:00
Requires : rpm-macros-python3
2019-01-21 02:40:39 +03:00
Requires : rpmspec
Requires : sed
Requires : service
Requires : shadow-utils
Requires : tar >= 0:1.13.22-alt1
Requires : which
Requires : xz
2016-06-21 14:48:12 +03:00
Conflicts : rpm-build-tcl <= 0.2
Conflicts : rpm-build-mono <= 1.0
2002-08-28 14:50:42 +04:00
Url : http://www.rpm.org/
2011-01-06 06:04:23 +03:00
# http://git.altlinux.org/gears/r/rpm.git
2010-08-17 15:21:12 +04:00
Source : rpm-%version-%release.tar
2002-08-28 14:50:42 +04:00
%{?_with_apidocs:BuildPreReq: ctags doxygen}
2017-01-14 16:42:53 +03:00
%{?_with_libelf:BuildPreReq: libelf-devel}
2012-10-09 04:01:42 +04:00
%{?_with_selinux:BuildPreReq: libselinux-devel >= 2.0.96}
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%{?_with_profile:BuildPreReq: coreutils >= 6.0}
2002-08-28 14:50:42 +04:00
2019-02-26 22:17:43 +03:00
BuildPreReq : automake >= 1.7.1, autoconf >= 2.53, libbeecrypt-devel >= 4.2.1
2010-08-07 04:57:18 +04:00
BuildPreReq : rpm >= 3.0.6-ipl24mdk, %_bindir /subst
2002-08-28 14:50:42 +04:00
2021-04-29 21:50:16 +03:00
BuildRequires : debugedit
2011-01-08 10:12:04 +03:00
2009-04-23 18:16:18 +04:00
# Automatically added by buildreq on Thu Apr 23 2009 and edited manually.
2021-04-28 23:00:00 +03:00
BuildRequires : libdb4.7-devel libelf-devel liblzma-devel libpopt-devel zlib-devel
2002-08-28 14:50:42 +04:00
2016-06-21 14:48:12 +03:00
%package -n lib%oname
2002-08-28 14:50:42 +04:00
Summary : Shared libraries required for applications which will manipulate RPM packages
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Файлы, необходимые для разработки приложений, взаимодействующих с RPM-пакетами
2020-01-03 22:33:48 +03:00
License : GPLv2+ or LGPLv2.1+
2002-08-28 14:50:42 +04:00
Group : System/Libraries
2004-01-20 19:22:47 +03:00
%package -n librpmbuild
Summary : Shared library required for applications which will build RPM packages
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Разделяемая библиотека для разработки приложений, собирающих RPM-пакеты
2020-01-03 22:33:48 +03:00
License : GPLv2+ or LGPLv2.1+
2004-01-20 19:22:47 +03:00
Group : System/Libraries
2016-06-21 14:48:12 +03:00
Requires : lib%oname = %version-%release
2004-01-20 19:22:47 +03:00
2016-06-21 14:48:12 +03:00
%package -n lib%oname-devel
2002-08-28 14:50:42 +04:00
Summary : Development files for applications which will manipulate RPM packages
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Файлы, необходимые для разработки приложений, взаимодействующих с RPM-пакетами
2020-01-03 22:33:48 +03:00
License : GPLv2+ or LGPLv2.1+
2002-08-28 14:50:42 +04:00
Group : Development/C
2016-06-21 14:48:12 +03:00
Provides : %oname-devel = %version-%release
Obsoletes : %oname-devel
Requires : lib%oname = %version-%release, librpmbuild = %version-%release
2008-03-30 04:41:55 +04:00
Requires : libpopt-devel
2002-08-28 14:50:42 +04:00
2016-06-21 14:48:12 +03:00
%package -n lib%oname-devel-static
2002-08-28 14:50:42 +04:00
Summary : Static libraries for developing statically linked applications which will manipulate RPM packages
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Статические библиотеки, необходимые для разработки статических приложений, взаимодействующих с RPM-пакетами
2020-01-03 22:33:48 +03:00
License : GPLv2+ or LGPLv2.1+
2002-08-28 14:50:42 +04:00
Group : Development/C
2016-06-21 14:48:12 +03:00
Requires : lib%oname-devel = %version-%release
2017-11-20 04:42:20 +03:00
Requires : libbeecrypt-devel-static, libdb4.7-devel-static, libpopt-devel-static, zlib-devel-static
2002-08-28 14:50:42 +04:00
2002-08-29 19:10:56 +04:00
%package build-topdir
Summary : RPM package installation and build directory tree
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Сборочное дерево, используемое для установки SRPM-пакетов и сборки RPM-пакетов
2005-09-05 01:09:18 +04:00
License : GPL
2002-08-29 19:10:56 +04:00
Group : Development/Other
2019-01-21 02:40:39 +03:00
Requires : %oname-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
2009-12-01 16:06:10 +03:00
Summary(ru_RU.UTF-8): Статическая версия менеджера пакетов RPM
2005-09-05 01:09:18 +04:00
License : GPL
2004-01-20 19:22:47 +03:00
Group : System/Configuration/Packaging
2019-01-21 02:40:39 +03:00
Requires : %oname = %version-%release
2002-08-28 14:50:42 +04:00
2009-12-01 16:06:10 +03:00
%description -l ru_RU.UTF-8
RPM - это мощный неинтерактивный менеджер пакетов, используемый для сборки,
установки, инспекции, проверки, обновления и удаления отдельных программных
пакетов. Каждый такой пакет состоит из набора файлов и информации о пакете,
включающей название, версию, описание пакета, и т.д.
2002-08-28 14:50:42 +04:00
2016-06-21 14:48:12 +03:00
%description -n lib%oname
2002-08-28 14:50:42 +04:00
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.
2016-06-21 14:48:12 +03:00
%description -n lib%oname-devel
2002-08-28 14:50:42 +04:00
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.
2016-06-21 14:48:12 +03:00
%description -n lib%oname-devel-static
2002-08-28 14:50:42 +04:00
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.
2016-06-21 14:48:12 +03:00
%description
2002-08-28 14:50:42 +04:00
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.
2019-02-19 14:23:37 +03:00
%package checkinstall
Summary : Run tests for %name immediately when this package is installed
Group : Other
BuildArch : noarch
Requires : %name
# rpminstall-tests-checkinstall first uses rpm-build to build packages,
# then tests how rpm installs them. Useful for testing rpm-build, too.
2020-07-03 14:33:57 +03:00
Requires : rpminstall-tests-archcompat-checkinstall
2019-02-19 14:23:37 +03:00
Requires : rpminstall-tests-checkinstall
%description checkinstall
%summary
2002-08-28 14:50:42 +04:00
%prep
2021-09-08 11:00:00 +03:00
%setup -n rpm-%version-%release
2002-08-28 14:50:42 +04:00
%build
2010-08-17 15:21:12 +04:00
gettextize --force --quiet --no-changelog --symlink
2017-11-15 12:24:54 +03:00
install -pv -m0644 /usr/share/automake/mkinstalldirs .
2004-02-27 16:45:04 +03:00
autoreconf -fisv -I m4
2009-09-24 11:09:30 +04:00
# avoid extra build dependencies
export ac_cv_path___CPIO=/bin/cpio
export ac_cv_path___UNZIP=/usr/bin/unzip
export ac_cv_path___LZMA=/usr/bin/lzma
export ac_cv_path___XZ=/usr/bin/xz
export ac_cv_path___GPG=/usr/bin/gpg
export ac_cv_path___SSH=/usr/bin/ssh
2012-10-09 04:01:42 +04:00
export LDFLAGS=" - L $ P W D / s t u b "
2002-08-28 14:50:42 +04:00
%configure \
%{?_with_apidocs} %{?_without_apidocs} \
%{?_with_db} %{?_without_db} \
2010-03-31 19:39:22 +04:00
%{subst_with selinux} \
2017-01-14 16:42:53 +03:00
--disable-static \
2003-11-26 12:28:19 +03:00
--program-transform-name=
2002-08-28 14:50:42 +04:00
2012-10-09 04:01:42 +04:00
# create a stub libselinux.a so that -lselinux would work in -static mode
mkdir stub
ar cq stub/libselinux.a
ln -s %_libdir /libselinux.so stub/
2011-06-14 00:37:26 +04:00
set_c_cflags=" $ ( s e d - n ' s / ^ C F L A G S = / / p ' l i b / M a k e f i l e ) - W - W n o - m i s s i n g - p r o t o t y p e s - W n o - o v e r r i d e - i n i t % { ! ? _ e n a b l e _ d e b u g : - O 3 } - f n o - b u i l t i n - m e m c m p "
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%make_build -C lib set.lo CFLAGS=" $ s e t _ c _ c f l a g s "
2012-09-01 00:11:21 +04:00
%make_build
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
2022-04-26 11:00:00 +03:00
rpmquery -a --provides |grep -F '= set:' |sort >P
rpmquery -a --requires |grep -F '= set:' |sort >R
2012-10-09 06:14:24 +04:00
join -o 1.3,2.3 P R |shuf >setcmp-data
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%if _with profile
2017-01-14 16:42:53 +03:00
rm lib/set.lo lib/librpm.la
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%make_build -C lib set.lo librpm.la CFLAGS=" $ s e t _ c _ c f l a g s - f p r o f i l e - g e n e r a t e "
./tools/setcmp <setcmp-data >/dev/null
2017-01-14 16:42:53 +03:00
ls -l lib/.libs/set.gcda
rm lib/set.lo lib/librpm.la
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%make_build -C lib set.lo CFLAGS=" $ s e t _ c _ c f l a g s - f p r o f i l e - u s e "
%make_build
2012-10-09 06:14:24 +04:00
%else
./tools/setcmp <setcmp-data >/dev/null
spec: compile set.c with -fprofile-* options
callgrind results for "apt-cache unmet", 4.0.4-alt100.6:
2,215,614,910 PROGRAM TOTALS
1,126,021,045 ???:decode_set
486,259,420 ???:rpmsetcmp
147,177,041 ???:strcmp
79,769,617 ???:strlen
61,764,819 ???:0x0000000000033080'2
54,573,169 ???:memcpy
31,477,402 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
callgrind results for "apt-cache unmet", this commit (built in hasher):
1,502,995,357 PROGRAM TOTALS
625,132,308 ???:decode_base62_golomb
374,940,745 ???:rpmsetcmp
91,031,162 ???:strcmp
69,615,481 ???:strlen
61,764,819 ???:0x0000000000033080'2
30,928,154 ???:memcpy
26,108,178 ???:strcpy
24,471,167 ???:pkgCache::DepIterator::AllTargets()
Average user time for "apt-shell <<<unmet", 4.0.4-alt100.6:
2.55s
Average user time for "apt-shell <<<unmet", this commit (built in hasher):
1.72s
2011-01-04 10:03:24 +03:00
%endif #with profile
2002-08-28 14:50:42 +04:00
%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
2011-06-07 10:30:59 +04:00
# check
lib/test-set
2020-11-10 00:35:37 +03:00
make check
2011-06-07 10:30:59 +04:00
2002-08-28 14:50:42 +04:00
%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
2017-01-14 16:42:53 +03:00
rm %buildroot%_libdir /librpm{,build,db,io}.so
2002-08-28 14:50:42 +04:00
2002-10-02 12:40:17 +04:00
# buildreq ignore rules.
2017-11-15 12:24:54 +03:00
install -pD -m0644 rpm-build.buildreq -T %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.
2016-06-21 14:48:12 +03:00
#./scripts/find-lang --with-man %oname rpm2cpio --output %oname.lang
RPMCONFIGDIR=./scripts ./scripts/find-lang %oname rpm2cpio --output %oname.lang
2002-08-28 14:50:42 +04:00
2005-10-10 18:33:11 +04:00
pushd %buildroot%_rpmlibdir
2018-07-26 17:43:35 +03:00
for f in *-alt-%_target_os; do
n=`echo " $ f " |sed -e 's/-alt//' `
2006-11-30 19:35:18 +03:00
[ -e " $ n " ] || ln -s " $ f " " $ n "
2002-08-28 14:50:42 +04:00
done
popd
2017-11-17 17:43:56 +03:00
ls -d %buildroot%_rpmlibdir /*-%{_target_os}* |
2006-11-30 19:35:18 +03:00
grep -Fv /brp- |
2016-06-21 18:37:08 +03:00
sed -e " s | ^ % b u i l d r o o t | % % a t t r ( - , r o o t , % o n a m e ) | g " >>rpmbuild.platform
2002-08-28 14:50:42 +04:00
2013-01-11 02:59:47 +04:00
%if "%_lib" == "lib"
2018-06-08 16:20:31 +03:00
if [ -s /lib/libc.so.6 -a -s /lib/libz.so.1 -a -s /lib/librt.so.1 -a -n " $ ( g e t c o n f L F S _ C F L A G S ) " ]; then
readelf --wide --symbols /lib/libc.so.6 /lib/libz.so.1 /lib/librt.so.1 |
2013-01-11 02:59:47 +04:00
sed -n 's/^[[:space:]]*[0-9]\+:[[:space:]]\+[0-9a-f]\+[[:space:]]\+[0-9]\+[[:space:]]\+FUNC[[:space:]]\+[^[:space:]]\+[[:space:]]\+DEFAULT[[:space:]]\+[0-9]\+[[:space:]]\+\([^@[:space:]]\+\)@\?.*/\1/p' |
sort -u
fi > all-funcs
2016-12-19 16:55:27 +03:00
sed -r -n 's/^(.+)64(_.*|$)/\1\2/p' all-funcs |
2013-01-11 02:59:47 +04:00
sort -u |
2018-06-08 16:20:31 +03:00
egrep -v '^(wcs|str)' |
2013-01-11 02:59:47 +04:00
comm -12 - all-funcs |
LC_ALL=C sort -u \
> %buildroot%_rpmlibdir /verify-elf-non-lfs-funcs.list
%endif
2017-11-15 12:24:54 +03:00
mv -T %buildroot%_rpmlibdir /rpm{,build}rc
mv -T %buildroot%_rpmlibdir /{,build}macros
2016-06-21 14:48:12 +03:00
2021-04-28 23:00:00 +03:00
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
2002-08-28 14:50:42 +04:00
%pre
2008-02-27 18:19:47 +03:00
[ ! -L %_rpmlibdir /noarch-alt-%_target_os ] || rm -f %_rpmlibdir /noarch-alt-%_target_os ||:
2005-10-10 18:33:11 +04:00
2004-01-20 20:01:09 +03:00
%files -n librpmbuild
%_libdir /librpmbuild-*.so
2016-06-21 14:48:12 +03:00
%define rpmattr %attr(755,root,%oname)
%define rpmdirattr %attr(2755,root,%oname) %dir
%define rpmdatattr %attr(644,root,%oname)
%define rpmdbattr %attr(644,root,%oname) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
2004-01-20 20:01:09 +03:00
2016-06-21 14:48:12 +03:00
%files -n lib%oname
2005-02-10 17:27:05 +03:00
%rpmdirattr %_rpmlibdir
2016-06-21 18:37:08 +03:00
%rpmdatattr %_rpmlibdir /rpmbuildrc
%rpmdatattr %_rpmlibdir /buildmacros
2004-01-20 19:22:47 +03:00
%_libdir /librpm-*.so
%_libdir /librpmdb-*.so
%_libdir /librpmio-*.so
2016-06-21 18:37:08 +03:00
%files -f rpmbuild.platform
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
%_rpmlibdir /rpmt
%rpmattr %_rpmlibdir /rpmb
2011-02-04 01:22:05 +03:00
%rpmattr %_rpmlibdir /debuginfo.*
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
2012-01-25 18:25:17 +04:00
%rpmattr %_rpmlibdir /brp-alt
%rpmattr %dir %_rpmlibdir /brp.d
%rpmattr %_rpmlibdir /brp.d/*
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /*_files
2008-03-17 23:30:44 +03:00
%rpmattr %_rpmlibdir /cpp.*
2016-12-06 20:08:14 +03:00
%rpmattr %_rpmlibdir /is_elf_so_executable
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-provides
%rpmattr %_rpmlibdir /find-requires
2011-01-09 16:55:49 +03:00
%rpmattr %_rpmlibdir /find-debuginfo-files
2020-07-05 01:08:25 +03:00
%rpmattr %_rpmlibdir /process-debuginfo
2021-07-28 05:09:31 +03:00
%rpmattr %_rpmlibdir /process-lto
2008-01-25 22:01:10 +03:00
%rpmattr %_rpmlibdir /find-scriptlet-requires
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /fixup-*
%rpmattr %_rpmlibdir /files.*
2008-06-16 12:16:01 +04:00
%rpmattr %config %_rpmlibdir /*-files.req.list
2007-03-06 23:32:51 +03:00
%rpmattr %_rpmlibdir /lib.*
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /pam.*
2016-04-05 21:57:18 +03:00
%rpmattr %_rpmlibdir /percolate
2006-02-02 04:51:38 +03:00
%rpmattr %_rpmlibdir /pkgconfig.*
2007-10-29 14:16:35 +03:00
%rpmattr %_rpmlibdir /pkgconfiglib.*
2019-01-14 23:56:55 +03:00
%rpmattr %_rpmlibdir /provided_symbols
2008-11-13 00:57:57 +03:00
%rpmattr %_rpmlibdir /rpmlib.*
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.*
2007-03-07 12:36:29 +03:00
%rpmattr %_rpmlibdir /static.*
2019-01-14 23:56:55 +03:00
%rpmattr %_rpmlibdir /suggest_bpp
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-09 21:11:03 +03:00
%rpmattr %_rpmlibdir /symlinks.*
2019-12-06 17:06:37 +03:00
%rpmattr %_rpmlibdir /systemd-services.*
2011-09-22 00:43:46 +04:00
%rpmattr %_rpmlibdir /tmpdir.sh
2005-02-10 17:27:05 +03:00
%rpmattr %_rpmlibdir /verify-elf
2006-01-11 04:01:04 +03:00
%rpmattr %_rpmlibdir /*.awk
2010-09-11 02:07:19 +04:00
# set-version helpers
%rpmattr %_rpmlibdir /mkset
%rpmattr %_rpmlibdir /setcmp
2020-12-14 19:03:09 +03:00
%rpmattr %_prefix /libexec/rpm-build
2013-01-11 02:59:47 +04:00
%if "%_lib" == "lib"
%rpmdatattr %_rpmlibdir /verify-elf-non-lfs-funcs.list
%endif
2016-12-16 19:44:28 +03:00
%rpmdatattr %_rpmlibdir /rpmpopt*
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
2016-06-21 14:48:12 +03:00
%attr (0755,root,%oname) %dir %_usrsrc/RPM
%attr (0770,root,%oname) %dir %_usrsrc/RPM/BUILD
%attr (2770,root,%oname) %dir %_usrsrc/RPM/SPECS
%attr (2770,root,%oname) %dir %_usrsrc/RPM/SOURCES
%attr (2775,root,%oname) %dir %_usrsrc/RPM/SRPMS
%attr (0755,root,%oname) %dir %_usrsrc/RPM/RPMS
%attr (2775,root,%oname) %dir %_usrsrc/RPM/RPMS/*
2003-11-07 22:39:49 +03:00
%endif #with build_topdir
2002-08-29 19:10:56 +04:00
2019-02-19 14:23:37 +03:00
%files checkinstall
2002-08-28 14:50:42 +04:00
%changelog
2022-02-06 11:00:00 +03:00
* Sun Feb 06 2022 Dmitry V. Levin <ldv@altlinux.org> 4.0.4.181-alt1
- lib.req: upgraded " l i b r a r y n o t f o u n d " warnings to errors:
these warnings are real packaging errors,
they also cause further ldd errors down the line.
2021-09-10 11:00:00 +03:00
* Tue Nov 16 2021 Vladimir D. Seleznev <vseleznv@altlinux.org> 4.0.4.180-alt1
- platform.in: added %%pre_service_stop_posttrans_start and
%%post_service_posttrans_restart.
- README.ALT-ru_RU.UTF-8: updated (by Dmitry V. Levin).
2021-11-03 02:04:05 +03:00
* Wed Nov 03 2021 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4.179-alt1
- brp-debuginfo, process-debuginfo: added support of zstd-compressed modules.
- brp-sign-kmodules:
+ added support of zstd-compressed modules;
+ changed to skip and warn about modules compressed with unsupported method.
2021-09-09 11:00:00 +03:00
* Thu Sep 09 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4.178-alt1
- process-lto: enhanced error diagnostics.
2021-08-25 11:00:00 +03:00
* Wed Aug 25 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt177
- Reverted the change introduced in 4.0.4-alt174.
2021-08-25 02:58:35 +03:00
* Wed Aug 25 2021 Alexey Shabalin <shaba@altlinux.org> 4.0.4-alt176
- platform.in: Added more systemd macros.
2021-08-24 22:35:31 +03:00
* Tue Aug 24 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt175
- platform.in: Parallelize LTO with -flto=auto.
- process-lto: Fix suggestion text.
2021-08-24 11:00:00 +03:00
* Tue Aug 24 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt174
- Added support for --runstatedir configure option.
2021-08-23 20:29:00 +03:00
* Mon Aug 23 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt173
- platform.in: Enable LTO by default.
- brp: Add brp-strip-lto & process-lto scripts.
2021-08-18 01:21:31 +03:00
* Wed Aug 18 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt172
- Fix regression introduced by forgotten file usage.
2021-08-12 13:19:25 +03:00
* Thu Aug 12 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt171
- Use file4 instead of file.
2021-07-06 16:18:08 +03:00
* Tue Jul 06 2021 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt170
- rpm-build: do not record directory sizes in packages.
2021-06-04 19:47:11 +03:00
* Fri Jun 04 2021 Arseny Maslennikov <arseny@altlinux.org> 4.0.4-alt169
- Introduced %%_smp_build_ncpus macro.
2021-05-01 11:00:00 +03:00
* Sat May 01 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt168
- rpm-build: added rpm-macros-python3 to requirements.
2021-04-29 22:16:03 +03:00
* Thu Apr 29 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt167
- Use external debugedit.
2021-04-29 15:00:00 +03:00
* Thu Apr 29 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt166
- Moved brp-bytecompile_python and brp-hardlink_pyo_pyc to rpm-build-python.
2021-04-28 23:00:00 +03:00
* Wed Apr 28 2021 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt165
- Replaced rpm-build-python with rpm-macros-python in rpm-build requirements.
- Removed python-devel from BuildRequires.
2020-12-29 06:57:01 +03:00
* Wed Jan 06 2021 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt164
- ldd.in: fix trace_elf error diagnostics (ldv).
- rpmio: Workaround another liblzma memory allocation failure on armh.
- rpmio+pack: Update rpmio_flags 'T' with actual threads used.
- rpmio: Make xzdio errors more informative.
- rpmio: Fix lzopen_internal mode parsing when 'Tn' is used.
2020-12-21 11:00:00 +03:00
* Mon Dec 21 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt163
- Added fixup method: gnuconfig.
2020-12-20 01:43:47 +03:00
* Sat Dec 19 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt162
- Downgrade XZ->LZMA automatically for small payloads (by Alexey Tourbin).
- Added payload compression string diagnostics.
- Fixed exit status of " r p m b u i l d - - v e r s i o n " command.
2020-12-17 00:49:04 +03:00
* Fri Dec 18 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt161
- debuginfo: strip --reloc-debug-sections for kernel modules.
- rpmio: Lower memory limit on 32-bit arches for xz compression, again.
- brp-debuginfo: Add debug sources check.
- rpmio: Include rpmmacro.h to fix compilation warning.
2020-12-14 22:00:50 +03:00
* Tue Dec 15 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt160
- Add a wrapper for install in %%install section to skip strip.
2020-12-13 02:35:04 +03:00
* Sun Dec 13 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt159
- rpmio: Lower memory limit on 32-bit systems for xz compression.
- rpmio: Make liblzma errors more verbose.
2020-12-10 04:28:05 +03:00
* Thu Dec 10 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt158
- Prevent exceeding 32 bit memory limitations with xz compression.
2020-12-08 21:56:55 +03:00
* Tue Dec 08 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt157
- Add support and enable multi-threaded xz payload compression.
- Add affinity aware %%getncpus macro.
- platform: change %%__nprocs to use %%getncpus instead of nproc(1).
2020-11-15 05:27:16 +03:00
* Sat Nov 14 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt156
- debugedit: Do not 'edit_dwarf2' when just extracting build-id.
- debuginfo: Fix 'warning: File listed twice' for debug sources.
2020-11-12 22:12:55 +03:00
* Thu Nov 12 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt155
- debugedit: Fix 'Unhandled relocation 0 in .debug_info section' on e2k.
- debuginfo: Fix source paths with `..` by creating appropriate empty dirs
under `/usr/src/debug` tree (closes: #39175).
2020-11-11 11:00:00 +03:00
* Wed Nov 11 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt154
- addReqProv: issue a warning and ignore self-provides,
providePackageNVR already does the right thing.
2020-11-10 00:35:37 +03:00
* Tue Nov 10 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt153
- debugedit: Copy debugedit with its tests from upstream.
2020-11-04 18:52:46 +03:00
* Wed Nov 04 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt152
- debuginfo: Allow kbuilds with the output directory.
- debugedit: Fix 'canonicalization unexpectedly shrank by one character'
(closes: #39184).
- brp-sign-kmodules: Sign kernel modules after kernel build.
2020-08-28 00:03:48 +03:00
* Fri Aug 28 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt151
- debuginfo: Do not try to use eu-elfcompress if it does not exist.
- debuginfo: Fix adding non-existent files into debuginfo package.
2020-08-24 11:00:00 +03:00
* Mon Aug 24 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt150
- Removed obsolete ldconfig, update menu, and install info macros.
- Implemented canonicalization of symlink destinations.
- Backported:
+ added a warning on absolute symlinks;
+ disabled calculation of digests for ghost files.
2020-08-24 22:38:47 +03:00
* Mon Aug 24 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt149
- find-debuginfo-files: Fix processing of root directory (closes: #38842).
2020-08-22 17:26:30 +03:00
* Sat Aug 22 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt148
- debuginfo: Warn if stripped ELFs are found.
- debuginfo: Implement %%_stripped_files_terminate_build.
- debuginfo: Try to uncompress if debugedit failed to extract sources.
2020-08-21 19:23:06 +03:00
* Fri Aug 21 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt147
- debuginfo: Show warnings if .debug sections are absent.
2020-07-09 18:28:36 +03:00
* Thu Jul 09 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt146
- brp-debuginfo: Re-enable processing of kernel modules.
- debuginfo.req: Fix 'vmlinux' processing error on ppc64le.
- process-debuginfo: Do not call eu-elfcompress if it doesn't exist.
2020-07-08 11:00:00 +03:00
* Wed Jul 08 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt145
- brp-debuginfo: fixed regression (in handling of packages containing
ELF relocatable objects) introduced in 4.0.4-alt142.
2020-07-07 13:43:29 +03:00
* Tue Jul 07 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt144
- debuginfo: Fix processing of hard-linked binaries.
2020-07-06 23:55:37 +03:00
* Mon Jul 06 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt143
- debuginfo: Improve search for vmlinux binary.
2020-07-05 01:08:25 +03:00
* Sun Jul 05 2020 Vitaly Chikunov <vt@altlinux.org> 4.0.4-alt142
- Generate debuginfo for kernel packages.
- Process debuginfo in parallel using process-debuginfo script.
- debugedit -n to avoid recomputing build-id.
2020-06-28 15:55:40 +03:00
* Sun Jun 28 2020 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt141
- Added /usr/lib/rpm/armv8l-alt-linux/macros for builds on armv8l machines;
added armv8l to the %%arm list and optflags for it for builds targeting it.
(Fixes 4.0.4-alt108:
- installplatform, rpmrc.in: made armv8l compatible with armh.)
2020-05-29 11:50:29 +03:00
* Fri May 29 2020 Andrew Savchenko <bircoph@altlinux.org> 4.0.4-alt140
- Export FCFLAGS as modern FFLAGS replacement for gfortran.
2020-04-21 20:37:55 +03:00
* Tue Apr 21 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt139
- ldd.in: made preloading of PIE objects work again.
- Set the value of SOURCE_DATE_EPOCH environment variable (if any)
as the source package buildtime.
2020-04-07 11:11:19 +03:00
* Tue Apr 07 2020 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt138
- find-package, shebang.req: introduced RPM_FINDPACKAGE_MANDATORY=1.
When an interpreter is invoked by name, as in " # ! / u s r / b i n / e n v p y t h o n 3 2 " ,
and is missing, this will now force the dependency on /usr/bin/python32.
2020-01-04 13:43:44 +03:00
* Sat Jan 04 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt137
- Fixed %%autopatch and %%patch regression introduced in previous release.
2020-01-03 22:33:48 +03:00
* Fri Jan 03 2020 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt136
- Generate requirements on binaries used in systemd service files
(by Anton V. Boyarshinov)
- Made %%autopatch and %%patch accept -pg (by Vladimir D. Seleznev).
- Fixed build with new gettext.
2019-11-24 14:58:18 +03:00
* Sun Nov 24 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt135
- Fixed build with glibc >= 2.28.
2019-11-01 19:16:23 +03:00
* Fri Nov 01 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt134
- Backported RPMTAG_VCS support from rpm.org.
2019-09-26 22:40:36 +03:00
* Thu Sep 26 2019 Vladimir D. Seleznev <vseleznv@altlinux.org> 4.0.4-alt133
- Added %%autopatch support.
2019-05-11 17:15:00 +03:00
* Sat May 11 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt132
- Added %%_pointer_size, %%_is_ilp32, and %%_is_lp64 macros.
2019-04-19 08:10:27 +03:00
* Fri Apr 19 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt131
- Fixed syntax check regression introduced in the latest release.
2019-04-16 21:46:34 +03:00
* Tue Apr 16 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt130
- %%configure : added --disable-silent-rules.
- Disallowed Provides specifying version ranges.
- Disallowed syntax errors in qualifiers of Requires and BuildRequires tags.
2019-02-27 05:47:37 +03:00
* Wed Feb 27 2019 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt129
- Fixed deps optimization " d u e t o r e p e n t a n c y " : if subpkg A requires subpkg B,
and B has a dependency on C, a weaker dependency on C is removed from A
(say, without an epoch or disttag).
2019-02-25 00:51:55 +03:00
* Mon Feb 25 2019 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt128
2019-02-21 15:47:36 +03:00
- Reverted one of the changes (for disttag-unaware tools compatibility)
from 4.0.4-alt127 (useful in rare cases, but bad for external dependencies
on virtual Provides when interpreted by the old rpm):
+ %%EVR macro (for intersubpackage deps) upgraded to include %%disttag
- Always fix interpackage deps that need Epoch or Disttag (ALT#36180).
(This completes the improvement of 4.0.4-alt100.63.)
2019-02-25 09:32:32 +03:00
- Made deps optimization more aware of disttag:
+ build/reqprov.c: made addReqProv() aware of the disttag of
the package (affects deps optimization).
+ add disttag to struct availablePackage (like buildtime; affects
rpm -U & interdep.c)
[rpm-4.13.0.1-alt5 alike]
+ Implemented DistTag support when comparing package versions (with
help by Vladimir D. Seleznev).
[rpm-4.13.0.1-alt6 alike]
+ rpmEVRcmp() (and hence rpmRangesOverlap()) made asymmetric w.r.t.
underspecified release. (Provides: N = V can't anymore satisfy
Requires: N = V-R.) (with help of Vladimir D. Seleznev)
2019-02-12 17:20:00 +03:00
2019-02-19 14:19:05 +03:00
* Tue Feb 19 2019 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt127
- Make " n e w " packages (with disttags) be treated better
by the " o l d " disttag-unaware rpm in some cases; primarily those with
< and/or > Conflicts on another subpackage. This form of Conflicts
is used to ensure that no subpackages from different releases/builds
get installed together. (A better way to express this is to add a
common subpackage that all other subpackages depend on.) This change
doesn't affect the way the " n e w " rpm would treat packages with such
deps (ALT#35930):
+ rewrite < and > dependencies so that they have almost the same meaning when
treated by old disttag-unaware tools;
+ %%EVR macro (for intersubpackage deps) upgraded to include %%disttag
(given the other change, this is only useful for making the rare
Conflicts: subpkg = %%EVR more compatible with disttag-unaware tools).
- checkinstall subpackage added.
2019-01-31 21:02:12 +03:00
* Thu Jan 31 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt126
- imz@:
+ shell.req: correctly detect #!/bin/env bash (ALT#35376).
+ platform.in: completely expand %%_libsuff (/usr/lib%%nil was ugly).
- Fixed getopt(3) use in parameterized macros parser.
2019-01-21 02:40:39 +03:00
* Sun Jan 20 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt125
- spec: replaced deprecated PreReq tags with Requires tags.
- Added automatic conversion of deprecated PreReq tags to Requires tags.
- Disallowed extra qualifiers with BuildPreReq tag.
- Disallowed unknown qualifiers with Requires and BuildRequires tags.
- Allowed abbreviated qualifiers with Requires and BuildRequires tags.
- Moved ProvidedSymbols() and SuggestBPP() to separate files.
- lib.prov: Added printing of the number of provided symbols
and the bpp value for each library.
- lib.req: Updated the list of standard libraries with guaranteed versioning.
- suggest_bpp: Fixed harmless off-by-one error in bpp estimation.
2019-01-14 03:32:44 +03:00
* Mon Jan 14 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt124
- addReqProv: fixed too aggressive merge of PreReqs introduced
in 4.0.4-alt122.
- Applied llvm changes (by lakostis@; closes: #34671):
+ cpp.req: skip cpp checks for llvm;
+ verify-elf: bypass lint checks by request.
2019-01-11 02:20:03 +03:00
* Thu Jan 10 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt123
- Dropped %%_allow_deps_with_beginning_dot support
(introduced in 4.0.4-alt119).
2019-01-11 02:20:03 +03:00
* Thu Jan 10 2019 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt122
- Dropped $RPM_STRICT_INTERDEPS support
(introduced in 4.0.4-alt110).
- Made name, version, release, and disttag check stricter
(by vseleznv@ and me).
- Changed the generator of package self-provides
and the generator of strict intersubpackage dependencies
to use [E:]V-R[:D] format instead of [E:]V-R
(by vseleznv@ and me).
- addReqProv: implemented dep flags merge:
when a stronger requirement is added while a weaker one already exists
with incompatible flags, try to merge these flags to produce a new
stronger requirement. For example,
" P r e R e q : % n a m e = % v e r s i o n " + " R e q u i r e s : % n a m e = % v e r s i o n - % r e l e a s e "
now results to " P r e R e q : % n a m e = % v e r s i o n - % r e l e a s e " .
2018-12-21 06:20:01 +03:00
* Fri Dec 21 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt121
- verify-elf: disabled stack verification and elflint on RISC-V (arei@).
- platform.in: removed harmless bash4 noise from %%filter_from_* macros
(closes: #35803).
2018-12-17 02:44:22 +03:00
* Mon Dec 17 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt120
- lib.prov, lib.req: enhanced ProvidedSymbols (glebfm@ and me).
- Added ppc64le support (glebfm@).
2018-10-03 14:41:25 +03:00
* Wed Oct 03 2018 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt119
- Add _allow_deps_with_beginning_dot macro to allow dependencies
beginning with a dot character (such as ones generated by replaceDeps
function) in spec file (vseleznv@).
2018-09-03 13:56:18 +03:00
* Mon Sep 03 2018 Vladimir D. Seleznev <vseleznv@altlinux.org> 4.0.4-alt118
- Added support for RPM_ADD_CHANGELOG_{NAME,TEXT,TIME} environment variables.
2018-08-28 21:05:40 +03:00
* Tue Aug 28 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt117
- 0common-files.req.list: removed /etc/syslog.d/.
2018-07-26 18:10:02 +03:00
* Wed Aug 08 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt116
- Removed alternatives from requirements.
2018-07-26 17:43:35 +03:00
* Thu Jul 26 2018 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt115
- rpmrc: added mips64* and mips*r6 support.
- verify-elf: disabled stack verification and elflint on mips* (iv@).
- Fixed installation of platform macros on armh arch.
2018-06-30 15:59:44 +03:00
* Sat Jun 30 2018 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt114
2018-06-30 15:56:09 +03:00
- cpio.c: Fixed the conversion of 8-digit hex file sizes from cpio header.
Packages with a 2GB+ file should now be installable.
2018-06-26 13:03:42 +03:00
* Tue Jun 26 2018 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt113
2018-06-26 12:54:10 +03:00
- Implemented limited support for large files: a 2GB+ file can now be packaged,
but the total size of uncompressed cpio payload is capped at 4 GB.
- Automatically downgrade LZMA compression levels 7-9 -> 6 on small payloads.
2018-06-08 16:20:31 +03:00
* Fri Jun 08 2018 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt112
- imz@:
+ Turned on running %%__find_ {conflicts,obsoletes} if they are defined.
+ shell.req.files: included #!/usr/bin/env sh.
+ verify-elf: allowed standalone use (without failing due to grep's status).
- macro.c: increased maximal macro depth.
- Introduced %%_libsuff and %%_is_libsuff macros.
- Added support of mips{,n32,64}{,el}, riscv64, and s390x targets.
- Added non-lfs symbols from librt.so.1 library to verify_lfs check.
- Filtered string functions from the list of non-lfs symbols.
2018-05-22 03:09:29 +03:00
* Tue May 22 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt111
- ldd: changed to try interpreters listed in /usr/bin/ldd.
2018-05-24 00:04:04 +03:00
- platform: changed %%__nprocs to use nproc(1) instead of /proc/stat.
2018-05-22 03:09:29 +03:00
2018-04-17 19:25:39 +03:00
* Tue Apr 17 2018 Vladimir D. Seleznev <vseleznv@altlinux.org> 4.0.4-alt110
- Added support for RPM_STRICT_INTERDEPS environment variable.
2018-03-27 20:41:56 +03:00
* Mon Mar 26 2018 Andrew Savchenko <bircoph@altlinux.org> 4.0.4-alt109
- Add e2k arch and subarches:
- Modify installplatform for e2k.
- Add e2k arch, subarches and all macros for them.
- Tag changes (by vseleznev):
- Add RPMTAG_IDENTITY, RPMTAG_AUTOINSTALLED.
- respect device ID when remap inodes.
2018-01-18 00:55:12 +03:00
* Thu Jan 18 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt108
- platform.in:
+ %%_smp_mflags: changed to use %%__nprocs ;
+ added -O option to MAKEFLAGS.
- installplatform, rpmrc.in: made armv8l compatible with armh (by Sergey Bolshakov).
2018-01-07 03:30:31 +03:00
* Sun Jan 07 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt107
- compare_deps: fixed a bug in handling epochs.
- platform.in:
+ %%optflags_core: added -frecord-gcc-switches (see: #34162);
+ %%make_build: implemented as a simple command (closes: #34237).
- genCpioListAndHeader: implemented remapping of device and inode numbers
(by Vladimir D. Seleznev and me; closes: #34398).
2017-11-20 04:42:20 +03:00
* Mon Nov 20 2017 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt106
- Added support for SOURCE_DATE_EPOCH environment variable
(by Vladimir D. Seleznev; closes: #34200).
- Dropped bzdio support.
2017-10-26 17:23:23 +03:00
* Thu Oct 26 2017 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt105
- brp-check_contents: enabled strict error checking by default.
2017-10-25 06:16:59 +03:00
* Wed Oct 25 2017 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt104
- Introduced brp-check_contents.
2017-04-18 19:50:48 +03:00
* Tue Apr 18 2017 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt103
- When scanning files for deps, debuginfo, fixup, and verify_elf,
ignore ELF files generated by GNU Guile.
2017-01-14 16:21:50 +03:00
* Sat Jan 14 2017 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt102
- verify-elf: fixed passing of LD_PRELOAD in verify_unresolved.
2016-12-20 17:49:39 +03:00
* Tue Dec 20 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt101
- verify-elf: made verify_lfs check shared objects too.
- Relaxed check for gcc package name in {cpp,pkgconfiglib}.req generators.
- rpm-build: add R: rpmspec.
2016-12-19 17:07:39 +03:00
* Mon Dec 19 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.99
2016-12-20 17:49:39 +03:00
- Updated generator of non-LFS functions list.
2016-12-19 17:07:39 +03:00
- Dropped fake provides made for rpm 4.13.0 bootstrap.
2016-12-16 19:44:28 +03:00
* Fri Dec 16 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.98
- Restored rpmpopt file.
2016-12-08 19:19:28 +03:00
* Thu Dec 08 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.97
- fixup-libraries: fixed recognition of PIEs (ldv@).
- verify-elf: treat PIEs as executables in the check for unresolved symbols (ldv@).
- Disabled rpm's installer part.
- Built rpm-build in " c o m p a t " mode with rpm-4.13.
2016-11-30 16:32:44 +03:00
* Wed Nov 30 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.96
- verify-elf: don't confuse the initial verify_rpath() in case
of two RUNPATH/RPATHs (ALT#32826).
2016-11-27 14:03:30 +03:00
* Sun Nov 27 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.95
- verify-elf: honor RUNPATH in addition to RPATH, too (like in lib.req).
- (unnoticeable) shell.req: generalize the shebang regexp w.r.t. other
hardcoded locations of /usr/bin/env. (No need to be too strict here:
shebang.req should catch bad locations. It's not our job.)
- %%distribution: ALT Linux --> ALT (ALT#32707).
2016-05-24 21:34:00 +03:00
* Tue May 24 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.94
- shell.req: use the version of (ba|)sh from the shebang.
- find-{requires,provides}: run all scripts even for empty lists of files.
2016-04-06 03:30:21 +03:00
* Wed Apr 6 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.93
- find-requires fixed for packages consisting completely of symlinks.
2016-04-04 22:00:02 +03:00
* Mon Apr 04 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.92
- find-requires: treat symlinks leading to some real content all way
through the same package as that content (" p e r c o l a t i o n v i a s y m l i n k s " ).
- find-{requires,provides}: in case of an error in it, the pipe to it
will be broken (must not change the visible behavior of rpm-build).
2016-03-28 23:56:54 +03:00
* Mon Mar 28 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt100.91
- brp-verify_elf: handle all rules for setting LD_PRELOAD in the form
of pairs of RPM_LD_PRELOAD_@ and RPM_FILES_TO_LD_PRELOAD_@ env vars.
- verify-elf: substitute LD_PRELOAD with " $ V E R I F Y _ E L F _ L D _ P R E L O A D "
before ldd (i.e., any prior value of LD_PRELOAD will be cleared!)
- examples of usage of the above facilities:
rpm-build-python3-0.1.9.3 and rpm-build-python.
2016-03-10 19:27:08 +03:00
* Thu Mar 10 2016 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.90
- lib.req: made " n o s y m b o l b i n d i n g s " condition fatal.
- relative: fixed potential heap buffer overflow (by Gleb F-Malinovskiy).
- rpmrc.in: armv7: do not force FPU kind, rely on compiler defaults
(by Sergey Bolshakov).
2016-03-10 19:14:33 +03:00
* Thu Mar 10 2016 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.89.1
- ldd: reverted recent change (closes: #31870).
2016-03-09 18:23:58 +03:00
* Wed Mar 09 2016 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.89
- brp-bytecompile_python: exclude paths listed
in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606).
- ldd: pass --list to rtld.
2015-12-02 21:51:48 +03:00
* Wed Dec 02 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.88
- compress_files: changed default method to xz.
2015-11-30 21:52:16 +03:00
* Mon Nov 30 2015 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.87
- rpm-build: removed texinfo from requirements.
2015-11-18 20:53:31 +03:00
* Wed Nov 18 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.86
- Made rpm2cpio exit code accurate for large packages.
2015-09-15 14:09:54 +03:00
* Tue Sep 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.85
- Added aarch64 architecture support.
2015-05-21 18:54:44 +03:00
* Thu May 21 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.84
- set.c: rewritten without nested functions.
- find-package: added support for newer naming of gcc and
libstdc++-devel.
2015-05-18 13:01:14 +03:00
* Mon May 18 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.83
- platform.in: added support for gcc >= 5.
2015-03-20 17:55:04 +03:00
* Fri Mar 20 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.82
- platform.in: removed -Wtrampolines from %%optflags_warnings (enabled
by default in gcc >= 4.9.2-alt3).
2015-01-28 20:55:30 +03:00
* Wed Jan 28 2015 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.81
- platform.in: added -Wtrampolines to %%optflags_warnings.
- librpmbuild: rewritten without using nested functions.
- verify-elf: fixed regression in verify_lfs.
2015-01-27 00:05:28 +03:00
* Tue Jan 27 2015 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.80
- verify-elf: resurrected verify_stack.
2014-11-19 20:26:33 +03:00
* Wed Nov 19 2014 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.79
- rpmbuild: implemented finer control for %%_deps_optimization
(by viy@; closes: #30476).
2014-06-24 19:06:57 +04:00
* Tue Jun 24 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.0.4-alt100.78
- Backported Disttag.
- psm.c: write installed/removed package buildtime to syslog.
2014-02-25 15:58:41 +04:00
* Tue Feb 25 2014 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.77
- fixup-binconfig:
extended library search path stripping algorithm to handle rpaths.
- pkgconfig.{req,prov}:
allowed pkgconfig names to start with " + " (closes: #29737).
2014-02-16 03:00:18 +04:00
* Sun Feb 16 2014 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.76
- cpp.req: adapted parser to handle cpp 4.8 output.
- rpmdb: fixed miscompilation by gcc 4.8.
2013-10-29 04:52:21 +04:00
* Tue Oct 29 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.75
- platform.in: added %%add_debuginfo_skiplist and related macros.
- debugedit: enhanced error diagnostics.
2013-10-29 01:54:44 +04:00
* Mon Oct 28 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.74
- debugedit: updated from rpm.org.
2013-10-28 18:22:25 +04:00
* Mon Oct 28 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.73
- fixup-pkgconfig: workaround some broken pkgconfig files (closes: #29427).
- Fixed build with new automake.
2013-04-09 00:02:55 +04:00
* Mon Apr 08 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.72
- Fixed build with new gettext.
2013-04-03 05:20:46 +04:00
* Wed Apr 03 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.71
- rpmbuild: enhanced interdep to ignore packages that are not going
to be written.
2013-03-12 03:18:03 +04:00
* Mon Mar 11 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.70
- find-lang:
+ enhanced regexps;
+ enabled --with-qt option support (closes: #28288).
2013-03-08 21:13:05 +04:00
* Fri Mar 08 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.69
- %%_configure_update_config: handle the case when %%_configure_script
is a symlink.
- platform.in: added more systemd macros:
%%_binfmtdir , %%_modulesloaddir , %%_presetdir , %%_sysctldir ,
%%_tmpfilesdir , %%_udevhwdbdir , %%_udevrulesdir .
- po: fixed typo (by icesik@; closes: #28614).
- find-lang: added QT .qm files support and --with-qt option (closes: #28288).
2013-01-29 20:16:14 +04:00
* Tue Jan 29 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.68
- rpmbuild: fixed potential use after free introduced in 4.0.4-alt31.
2013-01-29 04:54:43 +04:00
* Tue Jan 29 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.67
- rpmbuild: enhanced interdep to ignore packages that are not going
to be written.
2013-01-28 20:25:51 +04:00
* Mon Jan 28 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.66
2013-01-29 04:54:43 +04:00
- rpmbuild: avoid adding duplicate debuginfo requirements.
2013-01-28 20:25:51 +04:00
2013-01-27 06:13:33 +04:00
* Mon Jan 28 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.65
2013-01-29 04:54:43 +04:00
- rpmbuild: fixed old bugs in deps comparator related to release tags.
2013-01-27 06:13:33 +04:00
2013-01-27 01:12:56 +04:00
* Sun Jan 27 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.64
2013-01-29 04:54:43 +04:00
- rpmbuild: enhanced interdep algorithm further so that manual
requirements containing " < " or " > " operators are now left intact,
while all generated requirements on subpackages are now made strict.
2013-01-27 01:12:56 +04:00
2013-01-26 22:11:17 +04:00
* Sat Jan 26 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.63
2013-01-29 04:54:43 +04:00
- rpmbuild:
2013-01-26 22:11:17 +04:00
- Fixed Epoch handling for deps whose senses are identical.
- Enhanced interdep to add strict interpackage requirements
and missing Epochs automatically when appropriate.
- Lowered " n o n - s t r i c t d e p e n d e n c y " and " d e p e n d e n c y n e e d s E p o c h "
errors back to warnings bacause of the change listed above.
- Removed no longer needed %%_allowed_nonstrict_interdeps support.
2013-01-25 01:21:08 +04:00
* Fri Jan 25 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.62
- platform.in: added %%EVR macro for use in inter-package dependencies.
2013-01-29 04:54:43 +04:00
- rpmbuild: upgraded " d e p e n d e n c y n e e d s E p o c h " warning to error.
2013-01-25 01:21:08 +04:00
2013-01-24 06:50:31 +04:00
* Thu Jan 24 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.61
- fixup-desktop: fixed regexp.
2013-01-29 04:54:43 +04:00
- rpmbuild: added %%_allowed_nonstrict_interdeps macro to control how
2013-01-24 06:50:31 +04:00
interdep check errors are treated; the macro is a list of space
separated pairs of allowed non-strict deps, elements in pairs are
separated by commas. By default, the macro is not defined so
the list is empty and therefore non-strict deps are not allowed.
2013-01-11 03:00:31 +04:00
* Fri Jan 11 2013 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.60
- verify-elf: implemented LFS check (closes: #28290).
2012-12-24 18:09:56 +04:00
* Mon Dec 24 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.59
- set.c: fixed sentinel allocation (by Alexey Tourbin).
2012-12-24 03:10:25 +04:00
* Mon Dec 24 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.58
- rpmrc.in: changed to use -mtune=generic for all x86 flavours.
- pkgconfig.req.files: changed to ignore file type and treat
all non-symlinks the same way.
- Added %%getenv builtin macro.
- Added %%_tmpdir builtin macro,
changed default %%_tmppath value to %%_tmpdir (closes: #25117).
2012-10-09 04:47:26 +04:00
* Tue Oct 09 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.57
- Build selinux support in dynamically linked objects only.
- %%configure : export -m* part of %%optflags as ASFLAGS (for assembler)
along with other *FLAGS exported for compilers.
2012-09-01 00:13:54 +04:00
* Fri Aug 31 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.56
- Removed obsolete getdate.y.
2012-08-31 03:08:53 +04:00
* Fri Aug 31 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.55
- %%patch: added -F<N> support (by Igor Vlasenko; closes: #27662).
- 0ldconfig.filetrigger: execute " t e l i n i t u " if appropriate
(see: #27666).
2012-08-17 20:41:30 +04:00
* Fri Aug 17 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.54
- Added armh arch support (by Sergey Bolshakov; closes: #26253).
- GROUPS: added Graphical desktop/MATE (by Igor Vlasenko; closes: #27626).
- %%patch: added -F/-d options and appropriate macros for better
spec file compatibility (by Igor Vlasenko; closes: #27627).
- %%configure : update config.sub and config.guess right before configure.
- debugedit: backported DWARF-4 support from rpm.org.
2012-08-08 17:16:07 +04:00
* Wed Aug 08 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.53
- brp-fix-perms: fixed " f i n d - p e r m " syntax.
2012-07-12 14:03:37 +04:00
* Thu Jul 12 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.52
- 0common-files.req.list: added /etc/sudoers.d directory.
2012-05-24 21:50:40 +04:00
* Thu May 24 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.51
- find-lang: added --all-name option (by Igor Vlasenko; closes: #27284).
2012-05-21 05:33:43 +04:00
* Mon May 21 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.50
- Fixed build with ld --no-copy-dt-needed-entries.
2012-05-11 01:31:58 +04:00
* Fri May 11 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.49
- platform.in: Added %%_unitdir macro.
- Fixed build with new automake.
2012-03-19 20:19:55 +04:00
* Mon Mar 19 2012 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.48
- parseSpec:
+ fixed long lines processing;
+ made size of line buffer configurable via %%_spec_line_buffer_size.
2012-03-15 07:34:01 +04:00
* Thu Mar 15 2012 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.47
- set.c: Reimplemented base62+golomb decoder using Knuth's coroutines.
2012-03-19 20:19:55 +04:00
- set.c: Increased cache size from 160 to 256 slots, 75 percent hit ratio.
2012-03-15 07:34:01 +04:00
- set.c: Implemented 4-byte and 8-byte steppers for rpmsetcmp main loop.
2012-02-19 19:34:49 +04:00
* Sun Feb 19 2012 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.46
- set.c: Fixed bad sentinel due to off-by-one error in alt100.28.
- set.c: Improved linear cache search by using contiguous memory block.
- set.c: Improved decoding by combining and processing 24 bits at a time.
- set.c: Reimplemented downsampling using merges instead of full qsort(3).
- cpp.req: Implemented global/hierarchical mode in which subordinate files
are processed implicitly, resulting in fewer failures and major speed-up.
- cpp.req: Recover missing refs due to cpp " o n c e - o n l y h e a d e r " optimization.
2012-01-25 18:25:17 +04:00
* Wed Jan 25 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 4.0.4-alt100.45
- Introduced %%_rpmlibdir /brp.d/ directory to allow existance of various brp-*
scripts not only in rpm-build package.
- brp-hardlink_pyo_pyc: splitted from brp-bytecompile_python
2012-01-20 13:20:55 +04:00
* Fri Jan 20 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 4.0.4-alt100.44
- GROUPS: add Development/Python3 (by Vitaly Kuznetsov) and Other (by Igor
Vlasenko).
- %%_sharedstatedir : change to /var/lib (suggested by Alexey Gladkov).
2011-12-13 19:43:22 +04:00
* Tue Dec 13 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.43
- 0common-files.req.list: removed /etc/sysctl.d directory.
- verify-elf: check RPATH for non-ascii symbols, illegal absolute and
relative paths, and paths to standard libraries.
2011-12-06 22:38:37 +04:00
* Tue Dec 06 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.42
- cpp.req: do not insist on trying c++ mode when c++ support is not installed.
- find-debuginfo-files: fixed packaging of symlinks.
- rpmbuild: added " - b t " %%check-only option.
2011-12-01 06:23:47 +04:00
* Thu Dec 01 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.41
- Partially reverted the change to file permissions handling on package
removal or upgrade that was introduced in 4.0.4-alt100.32.
Permissions to access regular files are now erased only if
these files are set[ug]id executables.
- find-lang: handle more exotic GNOME help locale directories (closes: #26417).
2011-10-22 16:34:45 +04:00
* Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 4.0.4-alt100.40.1
- Rebuild with Python-2.7
2011-10-21 01:30:08 +04:00
* Fri Oct 21 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.40
- brp-cleanup: perl cleanup routines moved to rpm-build-perl
2011-10-11 03:04:20 +04:00
* Tue Oct 11 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.39
- Backported CVE-2011-3378 fixes from rpm.org.
2011-12-01 06:23:47 +04:00
- find-lang: handle %_datadir /help/%%lang/%name subdirs (closes: #26417).
2011-10-11 03:04:20 +04:00
2011-10-07 00:39:45 +04:00
* Fri Oct 07 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.38
- find-lang: added support for new GNOME help files location (closes: #26417).
2011-10-03 06:29:12 +04:00
* Mon Oct 03 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.37
- set.c: fixed assertion failure with malformed " e m p t y s e t " set-string.
- build/files.c: fixed SIGPIPE to avoid " b r o k e n p i p e " messages in scripts.
2011-09-23 03:39:13 +04:00
* Fri Sep 23 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.36
- removed support for repackaging and rollbacks (rpm.org).
- removed brp-strip & related macros (superseded by brp-debuginfo).
2011-09-22 02:57:10 +04:00
* Thu Sep 22 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.35
- cpp.req: track included files down to the first external file.
2011-09-18 05:57:39 +04:00
* Sun Sep 18 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.34
- cpp.req: process subpackage *.pc files before other *.pc files, to handle
subtle cases like separate -gtk2-devel and -gtk3-devel subpackages.
2011-09-08 04:11:07 +04:00
* Thu Sep 08 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.33
- debuginfo.req: fixed handling of exotic sonames written as pathnames
(closes: #26247).
2011-09-08 01:47:02 +04:00
* Thu Sep 08 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.32
- Imported an Owl patch to remove unsafe file permissions (chmod'ing
files to 0) on package removal or upgrade to prevent continued access
to such files via hard-links possibly created by a user
(CVE-2005-4889, CVE-2010-2059).
- verify-elf: added /lib/../lib64 to the list of prohibited RPATH entries.
2011-09-04 19:47:18 +04:00
* Sun Sep 04 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.31
- Imported ru and uk translations from Roman Savochenko.
2011-08-06 22:59:19 +04:00
* Sat Aug 06 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.30
- build.c, parsePrep.c: Quote buildSubidr in autogenerated shell
scripts, to allow spaces (by Igor Vlasenko; closes: #25998).
2011-07-12 22:47:53 +04:00
* Tue Jul 12 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.29
- GROUPS: added Engineering (by Igor Vlasenko; closes: #25868).
2011-06-18 22:57:57 +04:00
* Sat Jun 18 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.28
- set.c: Implemented various optimizations (20-30%% speed-up).
2011-05-25 03:21:53 +04:00
* Wed May 25 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.27
- find-{provides,requires}: fixed regression introduced along with
cleanup in 4.0.4-alt100.25.
2011-05-20 19:17:40 +04:00
* Fri May 20 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.26
- fixup-desktop: Fixed to edit files in place (closes: #25645).
- platform.in: Removed obsolete %%update_wms/%%clean_wms and
%%update_scrollkeeper/%%clean_scrollkeeper macros (by Igor Vlasenko).
2011-05-16 03:39:18 +04:00
* Mon May 16 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.25
- fixup-desktop: new file that does trivial fixes in desktop files
(by Igor Vlasenko; closes: #25605).
- ru.po: removed ambiguous translations for " s o u r c e " , " p a t c h " and " i c o n "
(closes: #24857).
2011-04-05 00:29:44 +04:00
* Tue Apr 05 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.24
- platform.in: Added %%systemd_unitdir macro.
2011-03-14 05:59:44 +03:00
* Mon Mar 14 2011 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.23
- build/reqprov.c: fixed optimization of subpackage self-requirements.
- build/interdep.c: fixed check for cycles introduced along with
pruning of requirements in 4.0.4-alt100.18.
2011-02-27 07:39:08 +03:00
* Sun Feb 27 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.22
- cpp.req: New dependency generator for C and C++ header files.
- Reverted " p k g - c o n f i g - - p r i n t - r e q u i r e s - p r i v a t e " change introduced in alt100.2.
2011-02-09 14:17:15 +03:00
* Wed Feb 09 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.21
- build/files.c: Fixed RPMTAG_SIZE for src.rpm packages (broken in alt100.16).
2011-02-09 07:20:36 +03:00
* Wed Feb 09 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.20
2011-02-09 14:17:15 +03:00
- find-requires, shell.req: Improved support for 'buildreq -bi' .
2011-02-09 07:20:36 +03:00
2011-02-08 09:07:10 +03:00
* Tue Feb 08 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.19
- build/interdep.c: Diagnose mssing Epoch in subpackage dependencies.
- build/interdep.c: Diagnose non-strict dependencies between subpackages.
2011-02-07 07:45:18 +03:00
* Mon Feb 07 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.18
- lib.req: Indirect functions need dependency on rtld(GNU_IFUNC).
- build/interdep.c: Prune already required deps between dependent subpackages.
2011-02-06 01:02:06 +03:00
* Sun Feb 06 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.17
- build/files.c: Missing error check resulted in " B a d C S A d a t a " error.
- build/checkFiles.c: Disabled intersection check for /usr/src/debug.
2011-02-05 07:28:59 +03:00
* Sat Feb 05 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.16
- find-debuginfo-files: Create /usr/lib/debug/.build-id links.
- build/pack.c: Added support for %%_debuginfo_payload macro.
- brp-debuginfo, platfrom.in: Impelemnted %%brp_strip_{debug,none} macros.
- debuginfo.{req,prov}: Implemented soname-based debug dependencies.
- build/interdep.c: Prune extra deps between dependent subpackages.
- build/files.c: Calculate RPMTAG_SIZE after build/interdep.c optimizations.
2011-01-31 07:34:46 +03:00
* Mon Jan 31 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.15
- build/files.c (runPkgScript): New helper function for autodep-like scripts.
- build/files.c (makeDebugInfo): Implemented automatic *-debuginfo packages.
- find-debuginfo-files: Initial revision, makes *-debuginfo %%files list.
- GROUPS: added Development/Debug.
- build/interdep.c: Initial revision, inter-package analysis and optimizations.
- build/interdep.c: Prune /usr/src/debug dups among dependent subpackages.
2011-01-30 04:20:31 +03:00
* Sun Jan 30 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.14
- debugedit.c: Imported from rpm.org.
- brp-debuginfo: Initial revision, replaces brp-strip.
- verify-elf: Do not descend into /usr/lib/debug.
- build/checkFiles.c: Skip /usr/lib/debug and /usr/src/debug for now.
- platform.in: Always use -g in %%optflags.
2011-01-23 02:31:53 +03:00
* Sun Jan 23 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.13
- Removed --fileid query selector and Filemd5s rpmdb index (rpm.org).
- Removed ancient dependency loop whiteout mechanism (rpm.org).
- rpmdb.c: Do not exclude Requires(pre) dependencies from rpmdb index.
- Implemented %%__find_ {requires,provides}_filter macros (lower-level) and
%%filter_from_{requires,provides} (higher-level, compatible with Fedora).
2011-01-21 21:13:40 +03:00
* Fri Jan 21 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.12
- build/checkFiles.c: Fixed %%exclude vs unpackaged regression.
- header.c: Optimized header loading and access routines.
2011-01-16 10:26:25 +03:00
* Sun Jan 16 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.11
- build/files.c (addFile): Replaced myftw() with fts(3).
- build/checkFiles.c: Reimplemented check for unpackaged files using fts(3).
- python: Backported forceArray changes from rpm5.org (Alexander Myltsev).
2011-01-11 17:01:07 +03:00
* Tue Jan 11 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.10
2011-01-16 10:26:25 +03:00
- platform.in: Fixed %%configure options for noarch packages.
2011-01-11 17:01:07 +03:00
2011-01-07 07:00:15 +03:00
* Fri Jan 07 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.9
- set.c: Tweak LRU first-time insertion policy.
2011-01-06 06:04:23 +03:00
* Thu Jan 06 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.8
- macro.c: Replaced repeated bsearch+qsort calls with custom
bsearch+memmove-like routine; rpm startup time is now 10x faster.
2011-01-04 11:14:18 +03:00
* Tue Jan 04 2011 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.7
- set.c: Reverted Kirill's changes.
- set.c: Applied aggressive optimization techniques (30%% speed-up).
2010-12-07 20:43:44 +03:00
* Tue Dec 07 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.6
- rpmRangesOverlap: Optimized out unneeded calls to printDepend().
- set.c: Cleaned up and optimized (Kirill Shutemov).
2010-12-04 13:34:18 +03:00
* Sat Dec 04 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt100.5
- set.c: Implemented LRU caching (2x speed-up, 1M footprint).
2010-11-24 01:00:39 +03:00
* Tue Nov 23 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.4
- Compiled set.c with -O3.
2010-11-18 01:05:17 +03:00
* Thu Nov 18 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.3
- Rebuilt with liblzma.so.5.
2010-11-02 01:37:38 +03:00
* Tue Nov 02 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.2
- pkgconfig.req: pass --print-requires-private to pkg-config.
- find-lang: support manpage paths with more than one symbol after dot
(closes: #24466).
2010-10-20 13:39:05 +04:00
* Wed Oct 20 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt100.1
- Changed release numeration:
alt99.M51 series is for branch 5.1, alt100 is for Sisyphus (Alexey Tourbin).
- rpmrc: Updated for ARM (Mihail Yakushin).
2010-10-04 03:54:21 +04:00
* Mon Oct 04 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.49
- lib.req: Implemented set-versions for soname dependencies.
- build/parseReqs.c: Enabled dependencies on rpmlib(SetVersions).
2010-09-24 15:16:50 +04:00
* Fri Sep 24 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.48
- 0common-files.req.list: Added /etc/sysctl.d, /lib/udev/rules.d,
/lib64/udev and /lib64/udev/rules.d entries.
2010-09-20 21:47:22 +04:00
* Mon Sep 20 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.47
- set.c (rpmsetcmp): Fixed check for set2 decoding error.
- brp-cleanup: Updated for /usr/lib64/perl5 and /usr/share/perl5.
2010-09-11 02:48:56 +04:00
* Sat Sep 11 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.46
- set.c: Implemented base62, golomb, and set-string routines.
- depends.c (rpmRangesOverlap): Added support for set-versions.
- rpmlibprov.c: Added rpmlib(SetVersions) feature.
- %_rpmlibdir /mkset: Command-line helper for making set-versions.
- lib.prov: Implemented soname set-versioning with exported symbols.
2010-08-25 20:03:28 +04:00
* Wed Aug 25 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.45
- Added SELinux support (by Mikhail Efremov and me).
2010-08-22 03:26:42 +04:00
* Sun Aug 22 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.44
- depends.c: Permit self-conflicting packages.
- verify.c: Updated verifyDependencies() for self-conflicting packages.
2010-08-18 15:12:31 +04:00
* Wed Aug 18 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.43
- depends.c: A better solution to dbProvCache dangling pointers without
resorting to strdup (ALT#23811).
2010-08-17 19:22:39 +04:00
* Tue Aug 17 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.42
- Added .gitignore file, improved support for in-tree building.
- Removed %%__ccache * macros (rpm will use default ccache settings).
2010-08-13 01:01:34 +04:00
* Fri Aug 13 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.41
- Migrated to beecrypt-4.2.1 (by Kirill A. Shutemov).
2010-08-05 19:15:11 +04:00
* Thu Aug 05 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.40
- build/files.c (parseForSimple): Fix potential NULL pointer dereference
(Dmitry V. Levin, ALT#23813).
- depends.c (dbSatisfiesDepend): Use strdup for dbProvCache keys
to avoid dangling pointers (ALT#23811).
2010-07-12 11:41:51 +04:00
* Mon Jul 12 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.39
- depends.c: Introduced ts->erasedPackages list of headers.
- depends.c: Replaced dbi-based dependes cache with rpmhash-based
providename cache (based on rpm.org changes by Panu Matilainen).
2010-07-03 04:24:42 +04:00
* Sat Jul 03 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.38
- shebang.req (ShebangReq): fixed the check for absolute pathname
introduced in previous release (closes: #23716).
2010-07-01 20:21:02 +04:00
* Thu Jul 01 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.37
- shebang.req (ShebangReq): Ensure that interpreter is specified
as an absolute pathname (closes: #20096).
- platform.in: Enabled %%check in buildreq mode (closes: #23030).
- pkgconfig.req (PkgconfigReqProv): Relaxed version check.
2010-04-21 12:04:08 +04:00
* Wed Apr 21 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.36
- rpmdb.c: Make rpmdb index list hard-wired, remove unused require-
and provideversion indexes (Panu Matilainen).
2010-04-14 18:40:56 +04:00
* Wed Apr 14 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.35
- brp-verify_elf: Disabled lint check on ARM.
2010-04-08 11:27:02 +04:00
* Thu Apr 08 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.34
- find-package: Introduced FINDPACKAGE-COMMANDS output.
2010-03-27 01:55:29 +03:00
* Sat Mar 27 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.33
- brp-strip: Speed up by optimizing file(1) invocations.
2010-03-26 19:07:30 +03:00
* Fri Mar 26 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.32
- build/files.c (checkHdrIntersect): Avoid quadratic behaviour.
2010-03-16 20:07:58 +03:00
* Tue Mar 16 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.31
- rpmpopt.in: Do remove extra newline before %%{CHANGELOGTEXT} (4.0.4-alt93).
2010-03-16 15:07:21 +03:00
* Tue Mar 16 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.30
- order.c: Factored from depends.c.
- order.c: Added missing error message.
2010-03-12 11:22:47 +03:00
* Fri Mar 12 2010 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.29
- al.c: Introduced " f a s t h a s h " to improve bsearch performance.
2010-01-13 02:47:20 +03:00
* Wed Jan 13 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.28
- lib.req: Recognize STB_GNU_UNIQUE symbols and add rtld(GNU_UNIQUE)
requirement for objects that contain such symbols.
- platform.in: Added %%_aclocaldir and %%_locksubsysdir macros
(closes: #22710).
2009-12-21 04:27:28 +03:00
* Mon Dec 21 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.27
2010-03-12 11:22:19 +03:00
- brp-bytecompile_python: Hardlink identical .pyc and .pyo files.
2009-12-21 04:27:28 +03:00
2009-12-20 20:01:41 +03:00
* Sun Dec 20 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.26
- rpmrc.c (is_pentiumN): Added models with nonzero extended model
(reported by Alexander Sharapov).
- brp-verify_elf: Fixed typo introduced by previous release.
- brp-verify_elf: Added " d e f a u l t " mode.
- verify-elf: Omit duplicate lines from eu-findtextrel's output.
2009-12-20 01:58:01 +03:00
* Sun Dec 20 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.25
- verify-elf: Implemented new " l i n t " method using " e u - e l f l i n t - - g n u - l d " ;
for now, enabled lint=relaxed mode (just warnings) by default.
- verify-elf: Improved " t e x t r e l " diagnostics by using eu-findtextrel.
- verify-elf: Fixed typos in " r p a t h " method.
2009-12-01 16:08:13 +03:00
* Tue Dec 01 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.24
- Recoded README.ALT-ru_RU.KOI8-R -> README.ALT-ru_RU.UTF-8.
- Rebuilt with python-2.6.x.
2009-10-04 12:56:29 +04:00
* Sun Oct 04 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.23
2009-10-04 12:47:37 +04:00
- depends.c: avoid expression dependent on evaluation order
- depends.c: implemented automatic realloc
- al.c: factored from depends.c
- al.c: reimplemented alProvIndex and alDirIndex/alFileIndex routines
2009-10-01 04:45:02 +04:00
* Thu Oct 01 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.22
2009-10-01 04:42:15 +04:00
- Removed support for availablePackages/suggestedPackages.
- Removed rebuilddb db_filter_dups code (Panu Matilainen).
2009-09-29 16:38:57 +04:00
* Tue Sep 29 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.21
2009-09-29 16:06:38 +04:00
- rpmio, rpmbuild: Added support for .xz/.lzma compressed sources and patches.
- Removed old scripts in /usr/lib/rpm.
2009-09-26 02:56:35 +04:00
* Sat Sep 26 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.20
2009-09-26 02:49:13 +04:00
- rpmio: Tweak lzma preset options for better compression.
2009-09-24 12:49:32 +04:00
* Thu Sep 24 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.19
2009-09-24 12:37:05 +04:00
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-09 12:17:42 +04:00
* Wed Sep 09 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.18
- Backported %%check from rpm-4.2.
- Implemented automated %%check control using
--enable/--disable/--with/--without check/test controls.
- Bumped librpmbuild soname to reflect ABI change intoduced
along with %%check support.
2009-07-14 03:06:29 +04:00
* Tue Jul 14 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.17
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
2009-07-01 23:11:36 +04:00
* Wed Jul 01 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.16
2009-07-01 23:06:15 +04:00
- find-package: Removed contents_index_all search, enabled file-level dependencies.
2009-06-27 01:11:50 +04:00
* Fri Jun 26 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.15
- pam.req.in:
+ Handle lines with optional modules.
+ Handle lines with leading whitespaces.
+ Handle lines with conditional controls.
- brp-cleanup.in wrt PAM config files:
+ Changed pam_stack replacement from " i n c l u d e " to " s u b s t a c k " .
+ Changed spacing.
2009-06-21 00:22:58 +04:00
* Sun Jun 21 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.14
2009-06-21 00:20:56 +04:00
- shell.req.files: Adjusted /bin/ash script detection.
2009-06-17 06:44:25 +04:00
* Wed Jun 17 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.13
2009-06-17 06:40:01 +04:00
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
dependencies.
2009-06-14 05:40:53 +04:00
* Sun Jun 14 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.12
2009-06-14 05:37:13 +04:00
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-13 09:14:24 +04:00
* Sat Jun 13 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.11
2009-06-13 08:58:10 +04:00
- rpmdb: Minor fingerprint cache improvement.
2009-05-21 02:25:04 +04:00
* Wed May 20 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.10
- brp-compress: Avoid non-standard info directories (closes: #19993).
- rpm-build: Implemented info files verification.
2009-05-11 00:32:49 +04:00
* Mon May 11 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.9
2009-05-11 00:31:52 +04:00
- Re-enabled LZMA compression for rpm itself.
2009-05-11 00:01:11 +04:00
* Mon May 11 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.8
2009-05-10 23:34:49 +04:00
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
When scanning a large number of packages (with e.g. rpmquery), readahead
might cause negative effects on the buffer cache.
2009-04-24 02:54:29 +04:00
* Thu Apr 23 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.7
- platform.in (%%configure ): Do not run libtoolize, to avoid
" l i b t o o l v e r s i o n m i s m a t c h " disaster.
- python: Fixed build with libtool.
2009-04-23 18:18:13 +04:00
* Thu Apr 23 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.6
2009-04-23 18:17:11 +04:00
- rpmdb: Rebuilt with libdb4.7.
2009-04-23 17:51:22 +04:00
* Thu Apr 23 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.5
2009-04-23 17:18:49 +04:00
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-19 00:34:48 +04:00
* Sat Apr 18 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt98.4
2009-04-18 22:56:45 +04:00
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %%_logrotatedir , %%_runtimedir (closes: #13639).
2009-04-14 20:55:49 +04:00
- 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-03-26 11:39:34 +03:00
* Thu Mar 26 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.3
2009-03-26 11:21:54 +03:00
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-10 14:41:07 +03:00
* Tue Mar 10 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.2
2009-03-10 14:32:59 +03:00
- Removed prehistoric multilib support.
2009-03-09 21:08:59 +03:00
* Mon Mar 09 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt98.1
2009-03-09 21:06:06 +03:00
- alt97.M50 release series is for branch 5.0, alt98 is for Sisyphus.
2009-03-09 20:55:33 +03:00
- Updated %%config algorithm to avoid unnecessary *.rpmnew, *.rpmsave,
and *.rpmorig files (credits: Panu Matilainen, Tomas Mraz).
+ If new package keeps the same config file, updating the file on disk
is skipped (rhbz#194246). This provides limited support for replacing
config files with custom symbolic links.
+ If pre-existing file is the same as the one being installed for
the first time, backup action is suppress (rhbz#128622).
+ Backup action is also disabled but for regular files and symlinks.
2009-02-25 03:52:01 +03:00
* Wed Feb 25 2009 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.16
- platform.in: Imported %%makeinstall _std macro from rpm-build-perl.
- 0common-files.req.list: Removed /etc/tex-fonts.d directory.
2008-12-16 03:37:08 +03:00
* Tue Dec 16 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.15
- Added buildreq ignore rule for /usr/lib/rpm/macros.d/*
2008-12-13 02:49:46 +03:00
* Fri Dec 12 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.14
- psm.c (psmTriggerPosttrans):
Handle null " t r a n s a c t i o n f i l e i n f o " pointer properly (closes: #18079).
2008-11-23 01:24:02 +03:00
* Sun Nov 23 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.13
- Introduced /usr/lib/rpm/macros.d/ (closes: #17948).
- GROUPS: Added " G r a p h i c a l d e s k t o p / S u g a r " (closes: #17950).
- platform.in:
+ Marked update menu, window managers registration, scrollkeeper
database synchronization and ldconfig macros as obsolete.
+ Removed obsolete %%php_version and %%php_release macros (Alexey Gladkov).
+ Added %_rpmmacrosdir macro.
2008-11-13 03:19:52 +03:00
* Thu Nov 13 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.12
- verify-elf: Removed no longer needed workaround for PIE executables on ARM.
- 0common-files.req.list: Added /etc/sysconfig/limits.d (service).
- librpm, librpmbuild: Removed %%post/%%postun scripts.
- librpm: Fixed crash bug in saveTriggerFiles().
2008-11-13 01:01:07 +03:00
* Wed Nov 12 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.11
2008-11-13 03:19:52 +03:00
- Implemented post-transaction filetriggers, loosely based on filetriggers.patch
2008-11-13 00:45:04 +03:00
from Mandriva Linux (see %_rpmlibdir /posttrans-filetriggers for details)
2008-11-13 03:19:52 +03:00
- Implemented %_rpmlibdir /0ldconfig.filetrigger, so that packages with
2008-11-13 00:45:04 +03:00
shared libraries need not to invoke ldconfig(1) in they %%post-scriptlets
2008-11-13 03:19:52 +03:00
- rpmlib.req: Automatically generate rpmlib(PosttransFiletriggers) dependency
2008-11-13 00:58:22 +03:00
for packages which provide %_rpmlibdir /*.filetrigger programs
2008-11-13 00:45:04 +03:00
2008-11-10 05:46:39 +03:00
* Mon Nov 10 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.10
2008-11-13 03:19:52 +03:00
- Improved install/upgrade package reordering (in tsort algorithm,
2008-11-10 05:30:09 +03:00
changed " p r e s e n t a t i o n o r d e r " to " c h a i n s a w o r d e r " )
2008-10-28 03:42:07 +03:00
* Tue Oct 28 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.9
- rpmevrcmp, rpmvercmp: Imported from rpm-utils (closes: #13627).
- GROUPS: Added " D e v e l o p m e n t / T o o l s " (ALT#17550).
2008-10-20 20:21:29 +04:00
* Mon Oct 20 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.8
- Fixed build with new toolchain.
- brp-cleanup: Remove .gitignore files as well.
- fixup-libraries: Enhance recognition of ELF executables.
2008-10-06 10:00:15 +04:00
* Mon Oct 06 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.7
2008-09-22 22:52:58 +04:00
- build/reqprov.c: when folding duplicate dependencies, Requires(pre)
or Requires(post) should not opimitze out bare Requires
2008-10-06 09:57:01 +04:00
- build/files.c: execute find-requires before find-scriptlet-requires
- 0common-files.req.list: added /etc/rc.d/init.d (service)
2008-09-22 22:52:58 +04:00
2008-10-02 20:08:46 +04:00
* Thu Oct 02 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.6
- build/parsePrep.c (doUntar): Remove " - L " option from " u n z i p " invocation
(Igor Vlasenko; closes: ALT#17407).
2008-09-16 11:11:47 +04:00
* Tue Sep 16 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.5
2008-09-16 11:02:21 +04:00
- build/spec.c: don't allow multiple definition of PatchX or SourceX
(Jindrich Novy, rhbz#458261, rhbz#458260)
2008-09-14 13:20:11 +04:00
* Sun Sep 14 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.4
2008-09-14 13:18:14 +04:00
- shebang.req: check for trailing <CR> in interpreter path or name;
also, validate argc, since neither execve(2) nor env(1) split arguments
2008-08-29 17:03:04 +04:00
* Fri Aug 29 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt96.3
- find-lang: Updated usage (Slava Semushin; closes: ALT#15492).
- GROUPS: Added " D e v e l o p m e n t / E r l a n g " (ALT#16691).
2008-08-29 02:09:41 +04:00
* Fri Aug 29 2008 Kirill A. Shutemov <kas@altlinux.ru> 4.0.4-alt96.2
- add support of armv5tel and fix armv5tejl
2008-08-20 00:04:27 +04:00
* Wed Aug 20 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96.1
2008-08-20 00:00:10 +04:00
- find-package: updated check for file path components being alternatives
2008-07-20 16:31:19 +04:00
* Sun Jul 20 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt96
- lib.req: use CanonPath() to deal with RPATH like $ORIGIN/../lib
- fixup-{libtool,pkgconfig}: quote substitution text (Dmitry V. Levin, #11437)
- pdeath_execute.c: remove X_OK check, use execvp(3)
- rpm: in %post-script, remove /var/cache/apt/*.bin
2008-06-24 14:07:31 +04:00
* Tue Jun 24 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt95
- build/files.c: re-fixed RPMTAG_SIZE calculation (cf. #2634)
- files.req: implemented modular /usr/lib/rpm/*-files.req.list,
for dependencies on directories
2008-06-15 01:02:21 +04:00
* Sun Jun 15 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt94
- %_rpmlibdir /macros: enabled LZMA payload compression (w2.lzdio) by default
- parsePreamble.c, parseSpec.c: allow " B u i l d A r c h : n o a r c h " subpackages
2008-06-15 06:36:00 +04:00
- parseSpec.c: fixed duplicating 'rpmbuild -bE' output (Kirill Shutemov, #5662)
2008-06-15 01:02:21 +04:00
- psm.c: fixed chown attempts for src.rpm introduced in alt93
- psm.c: also, when installing src.rpm, drop suid/sgid bits
- rpmrc.c: recognize new Intel CPUs (Dmitry V. Levin)
- rpmrc.c: classify SSE2-capable Intel CPUs as " p e n t i u m 4 "
- find-package: corrected host-system lookup for commands
2008-06-04 18:04:15 +04:00
* Wed Jun 04 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt93
- rpmio.c: implemented rsyncable gzdio compression
- rpmio.c: applied SUSE patches for LZMA payload compression
and decompression (LZMA compression disabled by default)
- transaction.c: updated conflict algorithm for overlapping paths:
exact st_mode and uid/gid match is required; md5 check is skipped
for %%ghost files
- build/files.c, build/parseReqs.c: allow versioned path dependencies
- build/files.c: added /usr/share/gtk-doc/html to hardcoded docDirs list
- build/files.c (isDoc): fixed docDirs match algorithm (Panu Matilainen)
- scripts, macros: use `chmod -c' where appropriate (verbosity change)
- rpmpopt (--setugids): use `chown -c -h' (no dereference)
- rpmpopt (--changelog): remove extra newline after %%{CHANGELOGNAME} (jbj)
- brp-cleanup: remove .cvsignore files (dottedmag)
- doc/manual: spelling corrections (jbj)
2008-04-08 19:36:51 +04:00
* Tue Apr 08 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt92
- shebang.req: Do not read the whole script (Alexey Tourbin).
- rpmReadPackageManifest: Fixed comments handling.
2008-03-31 06:30:33 +04:00
* Mon Mar 31 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt91
- build/files.c: check if the same files are packaged into a few subpackages
2008-03-30 05:57:16 +04:00
* Sun Mar 30 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt90
- reverted the rest of dependency optimization
- stripped redundant librpm-devel dependencies
- build/files.c: fixed a few possibilities of invalid cpio entries, including
`dir/.*' construct in %%files section (which globs `dir/.' and `dir/..',
and thus should not be used in specfiles)
- lib/psm.c: in syslog messages, discriminate between no epoch and zero epoch
2008-03-03 20:40:38 +03:00
* Mon Mar 03 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt89
- platform.in: Changed several macro definitions to avoid extra
autodependencies when used in shell scripts.
2008-02-27 19:32:07 +03:00
* Mon Feb 25 2008 Dmitry V. Levin <ldv@altlinux.org> 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-24 18:55:54 +03:00
* Sun Feb 24 2008 Alexey Tourbin <at@altlinux.ru> 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-03-30 05:53:28 +04:00
(you may need to adjust %%_tmppath in ~/.rpmmacros)
2008-02-24 18:55:54 +03:00
2008-02-23 01:37:47 +03:00
* Fri Feb 22 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt86
- pam.req: Added substack support.
- Renamed rpm-python subpackage to python-module-rpm.
2008-02-22 23:02:53 +03:00
* Fri Feb 22 2008 Alex V. Myltsev <avm@altlinux.ru> 4.0.4-alt85
- rpm-python: fix segfaults with Python 2.5.
2008-02-23 09:09:31 +03:00
* Sat Jan 26 2008 Grigory Batalov <bga@altlinux.ru> 4.0.4-alt84.1
- Rebuilt with python-2.5.
2008-01-18 23:10:11 +03:00
* Fri Jan 18 2008 Dmitry V. Levin <ldv@altlinux.org> 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-15 22:20:22 +03:00
* Tue Jan 15 2008 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt83
- platform.in:
+ Added %%warning macro.
+ Added %%autoreconf macro to replace %%__autoreconf ;
+ Added deprecation warning to %%__autoreconf macro.
2008-01-14 23:58:51 +03:00
* Mon Jan 14 2008 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt82
2007-12-03 15:04:24 +03:00
- reqprov.c (addReqProv): implemented optimization of " s e l f - r e q u i r e s "
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 " f i l e - l e v e l " 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 " s o n a m e - l e v e l "
dependencies on private libraries (see git log for details); this can
2008-01-14 23:58:51 +03:00
largely reduce the need for %%add_findprov_lib_path
2007-12-03 15:04:24 +03:00
2007-11-21 17:49:23 +03:00
* Wed Nov 21 2007 Alexey Tourbin <at@altlinux.ru> 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-10 16:13:48 +03:00
* Sat Nov 10 2007 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt80
- Merged ARM support changes made by Kirill Shutemov.
- Minor scripts/* cleanup.
2007-10-29 17:16:14 +03:00
* Mon Oct 29 2007 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt79
- shell.req: implemented strong self-requires elimination within
a package; if ANY shell script defines function " f o o " , dependencies
on " f o o " 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 " L i b s " field in *.pc
files; maps e.g. " - l f o o " -> /usr/lib/libfoo.so -> libfoo-devel
2007-09-30 15:05:06 +04:00
* Sun Sep 30 2007 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt78
2007-08-11 01:19:46 +04:00
- 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-09-24 21:44:26 +04:00
- shell.req: non-executable scripts are now processed as well as executable
ones; also, more shebang variants are recognized, e.g. " # ! / u s r / b i n / e n v b a s h "
- symlinks.req: new dependency generator for external symbolic links
- pkgconfig.req: pkg-config(1) errors no longer silently ignored
2007-09-30 15:05:06 +04:00
- rpm-build: decoupled rpm-build-tcl from the base build environment
2007-08-11 01:19:46 +04:00
2007-08-28 20:59:22 +04:00
* Tue Aug 28 2007 Dmitry V. Levin <ldv@altlinux.org> 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 " S y s t e m / L e g a c y l i b r a r i e s " (#12629).
- scripts/find-package.in (FindPackage):
Speedup index processing order by checking binary index prior to complete index.
2007-05-18 16:47:58 +04:00
* Fri May 18 2007 Dmitry V. Levin <ldv@altlinux.org> 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-04-10 01:13:58 +04:00
* Tue Apr 10 2007 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt76
- rpmRunTransactions:
Ignore unavailable mount points instead of bailing out.
2007-03-28 02:43:15 +04:00
* Wed Mar 28 2007 Dmitry V. Levin <ldv@altlinux.org> 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-17 23:09:40 +03:00
* Sat Mar 17 2007 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt74
- find-provides, find-requires:
+ Added support for files of type " M o n o / . N e t a s s e m b l y " to repair
Mono support when new file(1) is installed (#11088, ildar@).
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).
2007-03-28 02:43:15 +04:00
- files.req.list: Added /etc/udev/rules.d directory.
2007-02-23 02:57:37 +03:00
- 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.