%bcond_with systemd %bcond_without check # new vine linux release number %define _dist_release vl%(cat /etc/vine-release | cut -f3 -d" " | cut -f1 -d.) # rc #define _prever -rc1 %define with_python_subpackage 1%{nil} %define with_python_version 3.8%{nil} %define with_apidocs 1%{nil} # build against xz? %bcond_without xz # build with plugins? %bcond_with plugins # build with libarchive? (needed for rpm2archive) %bcond_without libarchive # build with zstd support? %bcond_without zstd # build with ndb backend? %bcond_without ndb # build with sqlite support? %bcond_without sqlite # build with bdb support? %bcond_without bdb # build with internal Berkeley DB? %bcond_with int_bdb # build with bdb_ro support? %bcond_without bdb_ro %define bdbver 5.3.28 # XXX legacy requires './' payload prefix to be omitted from rpm packages. %define _noPayloadPrefix 1 %define __prefix %{?_prefix}%{!?_prefix:/usr} %{?!_lib: %define _lib lib} %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define __bindir %{__prefix}/bin %define __includedir %{__prefix}/include %define __libdir %{__prefix}/%{_lib} %define __share %{__prefix}/share %define __mandir %{__share}/man %define rpmhome %{_prefix}/lib/rpm Summary: The RPM package management system. Summary(ja): RPM パッケージ管理システム Name: rpm Version: 4.16.1.3 %define rpm_version %{version} Release: 4%{_dist_release}%{?with_systemd:.systemd} Group: admin-tools Vendor: Project Vine Distribution: Vine Linux License: GPL %global srcver %{rpm_version}%{?snapver:-%{snapver}} %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpm_version} | cut -d'.' -f1-2).x} # ex. http://ftp.rpm.org/releases/rpm-4.16.x/rpm-4.16.1.tar.bz2 Source: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2 %if %{with int_bdb} Source1: db-%{bdbver}.tar.gz %endif Source10: rpmdb-rebuild.service # vine sources Source110: GROUPS_for_vine.txt Source120: GROUPS-DESC_for_vine.txt Source130: COMPAT32_for_vine # Patches already in upstream # Patches from fedora # Temporary band-aid for rpm2cpio whining on payload size mismatch (#1142949) Patch5: rpm-4.12.0-rpm2cpio-hack.patch # https://github.com/rpm-software-management/rpm/pull/473 Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch Patch7: 0001-Issue-deprecation-warning-when-creating-BDB-database.patch # These are not yet upstream Patch906: rpm-4.7.1-geode-i686.patch # Probably to be upstreamed in slightly different form Patch907: rpm-4.15.x-ldflags.patch # Not yet (all) upstream, debugedit DWARF5 # https://code.wildebeest.org/git/user/mjw/rpm/log/?h=gcc-dwarf5-4.16.1.2 Patch911: 0001-NFC-debugedit-Protect-macro-arguments-by-parentheses.patch Patch912: 0002-NFC-debugedit-Move-code-from-edit_dwarf2-to-edit_inf.patch Patch913: 0003-debugedit-Fix-missing-relocation-of-.debug_types-sec.patch Patch914: 0004-NFC-debugedit-Move-code-to-separate-functions.patch Patch915: 0005-debugedit-Implement-DWARF-5-unit-header-and-new-form.patch Patch916: 0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch # Downstream-only patches Patch1000: rpm-4.16.1.3-hashtab-use-after-free-fix.patch Patch1001: rpm-4.16.1.3-find_debuginfo_vendor_opts.patch Patch1002: 0001-Macroize-find-debuginfo-script-location.patch # Patches for Vine Linux Patch10000: 0001-rpm-4.12.0.1-vine.patch.patch Patch10001: 0002-rpm-4.9.1.2-shortcircuit.patch.patch Patch10002: 0003-rpm-4.9.1.2-legacyaliases.patch.patch Patch10003: 0004-rpm-4.4.3-no-terminate_build.patch.patch Patch10004: 0005-rpm-4.9.1.2-disable-python-requires.patch.patch Patch10005: 0006-rpm-4.12.0.1-disable-debug.patch.patch Patch10006: 0007-rpm-4.12.0.1-optflags.patch.patch Patch10007: 0008-rpm-4.8.0-default-buildarch.patch.patch Patch10008: 0009-rpm-4.4.2-add-default-srcdefattr.patch.patch Patch10009: 0010-rpm-4.10.0-brp-strip-static-archive-find-a-only.patc.patch Patch10010: 0011-rpm-4.9.1.2-force-v3-sigs.patch.patch Patch10011: 0012-rpm-4.9.1.2-enable-xz-payload.patch.patch Patch11000: rpm-4.16.1.3-ja.po.patch Patch12000: add-log.patch Conflicts: patch < 2.5 Requires(post): coreutils, shadow-utils Requires(postun): coreutils, shadow-utils Requires: popt >= 1.10.2.1 Requires: openssl >= 1.1.1 Requires: rpm-libs = %{version} %if %{without int_bdb} Requires: libdb-utils %endif Requires: vine-rpm-macros Obsoletes: rpm-perl < %{version} BuildRequires: gawk BuildRequires: elfutils-devel BuildRequires: elfutils-libelf-devel BuildRequires: readline-devel zlib-devel BuildRequires: openssl-devel BuildRequires: popt-devel BuildRequires: file-devel BuildRequires: gettext-devel BuildRequires: ncurses-devel BuildRequires: bzip2-devel >= 0.9.0c-2 BuildRequires: lua-devel BuildRequires: libcap-devel BuildRequires: libacl-devel BuildRequires: xz-devel BuildRequires: libarchive-devel BuildRequires: libzstd-devel BuildRequires: sqlite3-devel #BuildRequires: libselinux-devel BuildRequires: dbus-devel BuildRequires: audit-libs-devel %if %{without int_bdb} BuildRequires: libdb-devel >= 5.3.28 %endif %if %{with_python_subpackage} BuildRequires: python3-devel BuildRequires: python3-rpm-macros %endif BuildRoot: %{_tmppath}/%{name}-root %description The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package like its version, a description, etc. %description -l ja RPM パッケージマネージャ (RPM) は,ソフトウェアパッケージを インストール/アンインストール/チェック/問い合わせ/アップデート する機能を持った高機能パッケージマネージングシステムです. 各パッケージには,ファイルのアーカイブに加え,名前,バージョン, 説明などのパッケージ情報が含まれています. %package libs Summary: Libraries for manipulating RPM packages. Summary(ja): RPMパッケージを操作するライブラリ Group: system %description libs This package contains the RPM shared libraries. %description libs -l ja このパッケージには RPM の共有ライブラリが含まれています。 %package devel Summary: Development files for manipulating RPM packages. Summary(ja): RPM ライブラリ用の開発ファイル Group: programming Requires: rpm = %{rpm_version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: popt-devel%{_isa} %description devel This package contains the RPM C library and header files. These development files will simplify the process of writing programs that manipulate RPM packages and databases. These files are intended to simplify the process of creating graphical package managers or any other tools that need an intimate knowledge of RPM packages in order to function. This package should be installed if you want to develop programs that will manipulate RPM packages and databases. %description devel -l ja このパッケージには,RPMパッケージやデータベースを操作するための C ライブラリとヘッダが含まれています.これにより,RPMパッケージを 操作するツールを作成できます. %package build Summary: Scripts and executable programs used to build packages. Group: programming Provides: rpmbuild(VendorConfig) = 4.1-1 Requires: rpm = %{rpm_version}-%{release} Requires: elfutils, binutils Requires: findutils, sed, grep, gawk, diffutils, file, patch >= 2.5 Requires: zip, gzip, bzip2, cpio, tar, xz Requires: vine-rpm-build-macros %description build The rpm-build package contains the scripts and executable programs that are used to build packages using the RPM Package Manager. %description build -l ja このパッケージには,RPMを使ったパッケージを構築(ビルド)するのに必要な スクリプトおよびプログラムが収録されています. %if %{with_python_subpackage} %package -n python3-rpm Summary: Python bindings for apps which will manipulate RPM packages. Group: programming Requires: rpm = %{rpm_version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: python3 Obsoletes: rpm-python < 4.16 %description -n python3-rpm The rpm-python package contains a module that permits applications written in the Python programming language to use the interface supplied by RPM Package Manager libraries. This package should be installed if you want to develop Python programs that will manipulate RPM packages and databases. %description -n python3-rpm -l ja rpm-python パッケージには,RPM パッケージマネージャのライブラリに アクセスする為の Python モジュールが収録されています. %endif %package apidocs Summary: API documentation for RPM libraries Summary(ja): RPM ライブラリの API ドキュメント Group: documentation BuildArch: noarch %description apidocs This package contains API documentation for developing applications that will manipulate RPM packages and databases. %debug_package %prep %autosetup -n rpm-%{srcver} %{?with_int_bdb:-a 1} -p1 cp %{SOURCE110} %{SOURCE120} . %if %{with int_bdb} ln -s db-%{bdbver} db %endif sed -i -e "/_db_backend/ s/ bdb/ sqlite/g" macros.in %build autoreconf -f -i #sed -i -e 's|^mkinstalldirs =.*|mkinstalldirs = ../mkinstalldirs|g' po/Makefile* # Hardening hack taken from macro %%configure defined in redhat-rpm-config for i in $(find . -name ltmain.sh) ; do %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{?_hardened_ldflags}"~' $i done; %if %{with_python_subpackage} WITH_PYTHON="--enable-python" %else WITH_PYTHON="--disable-python" %endif ./configure \ --prefix=%{__prefix} \ --sysconfdir=/etc \ --localstatedir=/var \ --sharedstatedir=/var/lib \ --libdir=%{_libdir} \ --build=%{_target_platform} \ --host=%{_target_platform} \ --with-vendor=vine \ --enable-bdb=yes \ %{!?with_int_bdb: --with-external-db} \ %{!?with_plugins: --disable-plugins} \ --with-lua \ --without-selinux \ --with-cap \ --with-acl \ %{?with_ndb: --enable-ndb} \ %{?with_libimaevm: --with-imaevm} \ %{?with_zstd: --enable-zstd} \ %{?with_sqlite: --enable-sqlite} \ %{?with_bdb_ro: --enable-bdb-ro} \ $WITH_PYTHON \ --with-crypto=openssl \ --without-javaglue \ --without-perl make %{?_smp_mflags} make -C po ja.gmo pushd python %py3_build popd %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install # We need to build with --enable-python for the self-test suite, but we # actually package the bindings built with setup.py (#531543#c26) pushd python %py3_install popd cat > $RPM_BUILD_ROOT/%{rpmhome}/debugedit << END #!/bin/sh /usr/bin/debugedit "\$@" END cat > $RPM_BUILD_ROOT/%{rpmhome}/sepdebugcrcfix << END #!/bin/sh /usr/bin/sepdebugcrcfix "\$@" END cat > $RPM_BUILD_ROOT/%{rpmhome}/find-debuginfo.sh << END #!/bin/sh /usr/bin/find-debuginfo.sh "\$@" END %if %{with systemd} mkdir -p $RPM_BUILD_ROOT%{_unitdir} install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir} %if %{with bdb} mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir} echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/rpm.conf %endif %endif # Save list of packages through cron mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm mkdir -p $RPM_BUILD_ROOT/etc/rpm mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d mkdir -p $RPM_BUILD_ROOT%{rpmhome}/vine mkdir -p $RPM_BUILD_ROOT/var/lib/rpm # init an empty database for %ghost'ing for all supported backends for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite} %{?with_bdb:bdb}; do ./rpmdb --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb cp -va ${be}/. $RPM_BUILD_ROOT/var/lib/rpm/ done %find_lang rpm find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f # These live in perl-generators and python-rpm-generators now rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*} rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*} rm -rf $RPM_BUILD_ROOT/var/tmp # init an empty database for %ghost'ing for all supported backends for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite} %{?with_bdb:bdb}; do ./rpmdb --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb cp -va ${be}/. $RPM_BUILD_ROOT/var/lib/rpm/ done # move command to /bin/ mkdir -p %{buildroot}/bin mv -f %{buildroot}%{__bindir}/rpm %{buildroot}/bin/rpm ln -sf ../../bin/rpm %{buildroot}%{__bindir}/rpm # set i386 for _arch in i?86-linux/macros %ifarch x86_64 for macro in $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/i[3456]86-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/pentium?-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/athlon-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/geode-linux/macros do cp $macro $macro.orig sed -e 's/^%%_arch.*/%%_arch\t\t\ti686/g' $macro.orig > $macro rm -f $macro.orig done %endif # set compat32 enabling macros %ifarch i386 i586 i686 athlon for macro in $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/i[3456]86-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/pentium?-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/athlon-linux/macros \ $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/geode-linux/macros do cat %{SOURCE130} >> $macro done %endif # Get rid of unpackaged files %if 0 { cd $RPM_BUILD_ROOT # obsoleted files (macros for metainfo are provided by vine-rpm-macros) rm -f ./usr/lib/rpm/appdata.prov rm -f ./usr/lib/rpm/fileattrs/appdata.attr } %endif %if %{with check} %check make check TESTSUITEFLAGS=-j%{_smp_build_ncpus} || (cat tests/rpmtests.log; exit 1) # rpm >= 4.16.0 testsuite leaves a read-only tree behind, clean it up make clean %endif %clean rm -rf $RPM_BUILD_ROOT %posttrans # XXX this is klunky and ugly, rpm itself should handle this dbstat=/usr/lib/rpm/rpmdb_stat if [ -x "$dbstat" ]; then if "$dbstat" -e -h /var/lib/rpm 2>&1 | grep -q "doesn't match environment"; then rm -f /var/lib/rpm/__db.* fi fi %if %{with systemd} if [ -f /var/lib/rpm/Packages ]; then touch /var/lib/rpm/.rebuilddb fi %endif exit 0 %if %{with systemd} # Handle rpmdb rebuild service on erasure of old to avoid ordering issues # https://pagure.io/fesco/issue/2382 %triggerun -- rpm < 4.16 if [ -x /bin/systemctl ]; then systemctl --no-reload preset rpmdb-rebuild ||: fi %endif %pre if [ -f /var/lib/rpm/packages.rpm ]; then echo " You have (unsupported) /var/lib/rpm/packages.rpm db1 format installed package headers Please install rpm-4.0.4 first, and do rpm --rebuilddb to convert your database from db1 to db3 format. " exit 1 fi /usr/sbin/groupadd -g 37 rpm > /dev/null 2>&1 /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 rpm -s /sbin/nologin > /dev/null 2>&1 exit 0 %post # Establish correct rpmdb (db5) ownership. /bin/chown rpm.rpm /var/lib/rpm/[A-Z]* >/dev/null 2>&1 ||: exit 0 %postun if [ $1 = 0 ]; then /usr/sbin/userdel rpm /usr/sbin/groupdel rpm fi exit 0 %define rpmattr %attr(0755, rpm, rpm) %define rpmdbattr %attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) %files -f rpm.lang %defattr(-,root,root) %license COPYING %doc CREDITS doc/manual/[a-z]* %doc GROUPS*_for_vine.txt %if %{with systemd} %{_unitdir}/rpmdb-rebuild.service %if %{with bdb} %{_tmpfilesdir}/rpm.conf %endif %endif %config(noreplace,missingok) /etc/cron.daily/rpm %config(noreplace,missingok) /etc/logrotate.d/rpm %dir /etc/rpm #config(noreplace,missingok) /etc/rpm/macros.* %rpmdbattr %dir /var/lib/rpm %rpmdbattr /var/lib/rpm/* %rpmdbattr /var/lib/rpm/.*.lock %dir %{rpmhome}/macros.d %dir %{rpmhome}/vine %rpmattr /bin/rpm %{__bindir}/rpm %rpmattr %{__bindir}/rpm2archive %rpmattr %{__bindir}/rpm2cpio %rpmattr %{__bindir}/rpmdb %rpmattr %{__bindir}/rpmkeys %{__bindir}/rpmquery %rpmattr %{__bindir}/rpmsign %{__bindir}/rpmverify %rpmattr %{rpmhome}/rpmdb_* %attr(0644, rpm, rpm) %{rpmhome}/macros %attr(0644, rpm, rpm) %{rpmhome}/lua %attr(0644, rpm, rpm) %{rpmhome}/rpmpopt* %attr(0644, rpm, rpm) %{rpmhome}/rpmrc %rpmattr %{rpmhome}/rpm.* %rpmattr %{rpmhome}/rpm2cpio.sh %rpmattr %{rpmhome}/tgpg %attr(-, rpm, rpm) %{rpmhome}/platform %{__mandir}/man8/rpm.8* %{__mandir}/man8/rpmdb.8* %{__mandir}/man8/rpmkeys.8* %{__mandir}/man8/rpm2archive.8* %{__mandir}/man8/rpm2cpio.8* %{__mandir}/man8/rpmsign.8* %{__mandir}/man8/rpm-misc.8* %if %{with plugins} %{__mandir}/man8/rpm-plugins.8* %endif # XXX this places translated manuals to wrong package wrt eg rpmbuild %lang(fr) %{__mandir}/fr/man[18]/*.[18]* %lang(ko) %{__mandir}/ko/man[18]/*.[18]* %lang(ja) %{__mandir}/ja/man[18]/*.[18]* %lang(pl) %{__mandir}/pl/man[18]/*.[18]* %lang(ru) %{__mandir}/ru/man[18]/*.[18]* %lang(sk) %{__mandir}/sk/man[18]/*.[18]* %files libs %defattr(-,root,root) %{__libdir}/librpm.so.* %{__libdir}/librpmio.so.* %{__libdir}/librpmbuild.so.* %{__libdir}/librpmsign.so.* %files build %defattr(-,root,root) %rpmattr %{__bindir}/gendiff %rpmattr %{__bindir}/rpmbuild %rpmattr %{__bindir}/rpmspec %rpmattr %{rpmhome}/brp-* %rpmattr %{rpmhome}/check-* %rpmattr %{rpmhome}/debugedit %rpmattr %{rpmhome}/sepdebugcrcfix %rpmattr %{rpmhome}/find-debuginfo.sh %rpmattr %{rpmhome}/find-lang.sh %rpmattr %{rpmhome}/*provides* %rpmattr %{rpmhome}/*requires* %rpmattr %{rpmhome}/*deps* %rpmattr %{rpmhome}/*.prov %rpmattr %{rpmhome}/*.req %rpmattr %{rpmhome}/mkinstalldirs %attr(0755, rpm, rpm) %dir %{rpmhome}/fileattrs %rpmattr %{rpmhome}/fileattrs/* %{__mandir}/man1/gendiff.1* %{__mandir}/man8/rpmbuild.8* %{__mandir}/man8/rpmdeps.8* %{__mandir}/man8/rpmspec.8* %if %{with_python_subpackage} %files -n python3-rpm %defattr(-,root,root) %{python3_sitearch}/rpm/ %{python3_sitearch}/rpm-%{rpm_version}*.egg-info %endif %files devel %defattr(-,root,root) %{__mandir}/man8/rpmgraph.8* %rpmattr %{__bindir}/rpmgraph %{__libdir}/librp*[a-z].so %{__libdir}/pkgconfig/rpm.pc %{__includedir}/rpm %files apidocs %defattr(-,root,root) %license COPYING %doc doc/librpm/html/* %changelog * Wed May 08 2024 Tomohiro "Tomo-p" KATO 4.16.1.3-4 - imported patches from CentOS 9 stream. * Sat Nov 05 2022 Tomohiro "Tomo-p" KATO 4.16.1.3-3 - rebuilt with python3-3.11. * Mon Oct 04 2021 Tomohiro "Tomo-p" KATO 4.16.1.3-2 - rebuilt with openssl-3.0.0. - imported Patch1000 from rawhide. * Fri Apr 02 2021 Tomohiro "Tomo-p" KATO 4.16.1.3-1 - updated to 4.16.1.3. - fixed %%_sharedstatedir in macros. - updated Patch11000: ja.po. * Tue Mar 09 2021 Tomohiro "Tomo-p" KATO 4.16.1.2-2 - added missing directories. - dropped ldconfig scriptlets. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO 4.16.1.2-1 - updated to 4.16.1.2. - updated patches from fedora. - updated vine-patches. * Sat Aug 22 2020 Tomohiro "Tomo-p" KATO 4.12.0.1-4 - rebuilt with lua51-5.1.5. * Fri May 08 2020 Tomohiro "Tomo-p" KATO 4.12.0.1-3 - moved macros.vine to vine-rpm-macros. - dropped appdata macros. - imported metainfo.fileattr from upstream. - imported Patch10000 from upstream. * Tue Nov 24 2015 Daisuke SUZUKI 4.12.0.1-2 - add new utils (rpm2archive) * Mon Nov 23 2015 Daisuke SUZUKI 4.12.0.1-1 - update to 4.12.0.1 - add BR: libarchive-devel - use external bdb by default * Mon Jun 23 2014 Daisuke SUZUKI 4.11.2-1 - update to 4.11.2 - update internal bdb to 5.3.28 * Mon Aug 12 2013 Daisuke SUZUKI 4.11.1-1 - update to 4.11.1 * Wed May 08 2013 Daisuke SUZUKI 4.11.1-0.rc1 - update to 4.11.1-rc1 * Thu Feb 07 2013 Daisuke SUZUKI 4.11.0.1-1 - update to 4.11.0.1 - add %%_sourcedir to macros.vine * Wed Oct 31 2012 Daisuke SUZUKI 4.10.2-3 - use internal bdb(5.3.21) * Thu Oct 25 2012 Daisuke SUZUKI 4.10.1-2 - update vine patch - split vine specific macros to /etc/rpm/macros.vine - fix ruby macros - update ja.po (fix bogus translations) * Wed Oct 03 2012 Daisuke SUZUKI 4.10.1-1 - update to 4.10.1 * Mon Sep 17 2012 Daisuke SUZUKI 4.10.0-1 - update to 4.10.0 - add apidocs subpackage * Fri Apr 06 2012 Daisuke SUZUKI 4.9.1.3-1 - update to 4.9.1.3 * Tue Mar 13 2012 Daisuke SUZUKI 4.9.1.2-4 - add patch102-109 from upstream * Wed Feb 15 2012 Yoji TOYODA 4.9.1.2-3 - rebuild with python-2.7.2 * Fri Dec 23 2011 Daisuke SUZUKI 4.9.1.2-2 - fix vine patch - remove broken/dupreacted macro (__id_u) - add patch1340 to disable rpmbuild --sign functionality * Thu Dec 22 2011 Daisuke SUZUKI 4.9.1.2-1 - update to 4.9.1.2 - add patch1330 to enable xz payload (binary payload) - add BR: file-devel * Mon Jan 10 2011 Yoji TOYODA 4.8.1-3 - rebuild package (fix typo in /usr/lib/rpm/macros on i686) * Thu Jan 6 2011 Satoshi IWAMOTO 4.8.1-2 - add R: xz into rpm-build pkg - add BR: xz-devel * Sun Sep 19 2010 Daisuke SUZUKI 4.8.1-1 - update to 4.8.1 - add patch1320 to force gpg v3 signature on package signing - add --force-v3-sigs to gpg option - use internal dependency generator (upstream default) * Thu Mar 11 2010 Daisuke SUZUKI 4.8.0-6 - drop patch1160 to disable brp-strip-shared () - update patch1170 (enable legacymacros again) - add patch1300 to brp-compress xz/lzma support - add patch1310 to find static libs only on brp-strip-static-archive * Tue Feb 16 2010 KOBAYASHI Taizo - 4.8.0-5 - drop Requires: beecrypt and BuildRequires: beecrypt-devel - added Requires: nss * Fri Feb 12 2010 MATSUBAYASHI Kohji - 4.8.0-4 - rebuilt with gcc-4.4.3-3 on ppc * Fri Feb 5 2010 MATSUBAYASHI Kohji - 4.8.0-3 - modified Patch1230: add missing ppc-specific optflags, as in 4.4.2.3-12 * Tue Feb 02 2010 Shu KONNO 4.8.0-2 - add '--libdir=%%{_libdir}' to configure * Sun Jan 10 2010 Daisuke SUZUKI 4.8.0-1 - update to rpm-4.8.0 - change default buildarch to i686 add BR: lua-devel, lkibcap-devel, libacl-devel, nss-devel - build with external Berkeley DB (db4) * Thu Jul 16 2009 Kazutaka HARADA 4.4.2.3-12 - rebuild to fix absolute path of sed in macros * Tue Jul 07 2009 Kazutaka HARADA 4.4.2.3-11 - add Patch290 to find mono-dependencies automatically * Sun Jul 5 2009 Satoshi IWAMOTO 4.4.2.3-10 - update patch100 to add _compat32_arch macro (currently i386) - add "_with_compat32 1" into i[356]86, athlon's macro to force compat32 build - add BR: cvs * Sat May 16 2009 Daisuke SUZUKI 4.4.2.3-9 - add Patch30 backported from 4.6.0 - allocating in even sized chunks helps avoiding crazy memory fragmentation when resizing a lot (rhbz#472507) * Thu May 14 2009 Daisuke SUZUKI 4.4.2.3-8 - add Patch20-25 from upstream * Tue Apr 21 2009 Daisuke SUZUKI 4.4.2.3-7 - remove %ifos from spec file. - add python_site{lib,arch}, pyver macros - add emacsen_pkgdir macros - add macros for font package - update auto* files * Fri Oct 10 2008 Daisuke SUZUKI 4.4.2.3-6 - update Patch230 - add -fno-strict-aliasing -fno-schedule-insns2 to optflags (VineSeed:16128) * Sun Aug 17 2008 Daisuke SUZUKI 4.4.2.3-5 - rebuild with external libpopt * Mon Jul 28 2008 Daisuke SUZUKI 4.4.2.3-4 - rebuild with python-2.5 * Fri Apr 18 2008 Ryoichi INAGAKI 4.4.2.3-3 - rebuilt with neon-0.28.2 * Wed Apr 09 2008 Daisuke SUZUKI 4.4.2.3-2 - add Patch280 to fix external dependancy generator(revert patch) * Mon Apr 07 2008 Daisuke SUZUKI 4.4.2.3-1 - new upstream release * Thu Mar 20 2008 Satoshi IWAMOTO 4.4.2.3-0.rc1.3 - fix file section for x86_64 build * Wed Mar 19 2008 Daisuke SUZUKI 4.4.2.3-0.rc1.2 - fix typo in Patch100 (_dist_release macro) * Tue Mar 18 2008 Daisuke SUZUKI 4.4.2.3-0.rc1.1 - new upstream rc version - add new _dist_release macro seed http://trac.vinelinux.org/wiki/VersioningPolicy - use new release numbering policy * Wed Feb 27 2008 Takuya Kobayashi 4.4.2.2-0vl6 - update Patch260,Source100 - update Patch260 (fix typo in rpmbuild japanese manpage) * Wed Feb 20 2008 AKIYAMA Kazuhito 4.4.2.2-0vl5 - rebuild with expat-2.0.1 * Mon Feb 04 2008 MATSUBAYASHI Kohji 4.4.2.2-0vl4 - rebuild * Sun Feb 03 2008 MATSUBAYASHI Kohji 4.4.2.2-0vl3 - fix Patch230 (remove unnecessary white spaces) * Fri Oct 19 2007 Daisuke SUZUKI 4.4.2.2-0vl2 - fix vine patch * Sat Oct 13 2007 Daisuke SUZUKI 4.4.2.2-0vl1 - new upstream release * Mon Jul 23 2007 MATSUBAYASHI Kohji 4.4.2.1-0vl2 - fix popt version (1.10.2.1) * Mon Jul 23 2007 Daisuke SUZUKI 4.4.2.1-0vl1 - new upstream release - remove obsolete patches * Wed May 23 2007 NAKAMURA Kenta 4.4.2-0vl25 - rebuild with neon-0.26.3 (expecially for x86_64) * Tue May 15 2007 Daisuke SUZUKI 4.4.2-0vl24 - add patch 37 to build without neon * Mon May 14 2007 MATSUBAYASHI Kohji 4.4.2-0vl23 - updated Patch230 (-m32 on ppc, -m64 on ppc64, and likewise) * Thu May 10 2007 Daisuke SUZUKI 4.4.2-0vl22 - use -mtune option instead of -mcpu * Wed May 09 2007 MATSUBAYASHI Kohji 4.4.2-0vl21 - rebuilt with new toolchain - disable Patch53 - add BuildReq: nkf * Fri Jan 26 2007 Daisuke SUZUKI 4.4.2-0vl20 - rebuild * Sun Dec 31 2006 Kazutaka HARADA 4.4.2-0vl19 - update patch270. * Sun Dec 31 2006 Kazutaka HARADA 4.4.2-0vl18 - fix typo in GROUPS-DESC_for_vine.txt * Sat Dec 30 2006 Kazutaka HARADA 4.4.2-0vl17 - fix typo in GROUPS*_for_vine.txt * Thu Nov 09 2006 Daisuke SUZUKI 4.4.2-0vl16 - update ja.po and manpage to fix typo () - update GROUPS for Vine Linux - add GROUPS*_for_vine.txt * Sat Jun 17 2006 Daisuke SUZUKI 4.4.2-0vl15 - fix changelogname for 4.4.2-0vl14 ( was accidentally copied from 0vl13.. ) * Fri Jun 16 2006 Daisuke SUZUKI 4.4.2-0vl14 - update Patch230 - remove "-m64 -mcpu=nocona" from x86_64 optflags - add Patch250 - add %%_srcdefattr (-,root,root) to default macros * Mon May 15 2006 KAZUKI SHIMURA 4.4.2-0vl13 - fix typo in changelog * Thu Apr 20 2006 KAZUKI SHIMURA 4.4.2-0vl12 - rebuild with neon-0.25.5 * Thu Mar 23 2006 Daisuke SUZUKI 4.4.2-0vl11 - update Patch100 to use /var for %%{_localstatedir} instead of /var/lib * Mon Feb 27 2006 Daisuke SUZUKI 4.4.2-0vl10 - update ja.po - fix some mistranslations (thanks to NAKAMURA Kenta) - squash some fuzzy translations * Mon Feb 27 2006 Daisuke SUZUKI 4.4.2-0vl9 - fix spec bug. * Sun Feb 26 2006 Daisuke SUZUKI 4.4.2-0vl8 - update Patch240 to install pentium?-linux/macros on x86_64 arch. - added compat32-popt for x86_64 architecture support (NAKAMURA Kenta) * Wed Feb 08 2006 Daisuke SUZUKI 4.4.2-0vl7 - add Patch230 to append "-m32/-m64" option to %%optflags in rpmrc - add Patch240 to install ix86-linux/macros on x86_64 arch. - update Patch100 to use lib/lib64 for %%_lib macro in per-platform macros. * Sun Dec 25 2005 Daisuke SUZUKI 4.4.2-0vl6 - add Patch220 to remove debug option from optflags (in rpmrc) * Wed Dec 21 2005 KOBAYASHI Taizo 4.4.2-0vl5 - added Patch210 for PPC deadlock. * Sun Dec 18 2005 Daisuke SUZUKI 4.4.2-0vl4 - import Patch51-55 from MDK package. * Sun Dec 18 2005 Daisuke SUZUKI 4.4.2-0vl3 - add Requires: popt >= %%{poptversion} to rpm-libs. librpm-4.4 need new popt feature. * Fri Dec 16 2005 Daisuke SUZUKI 4.4.2-0vl2 - change manpage kanjicode to euc-jp - add Patch190 to disable python_requires - add Patch200 to use external dependency generator instead of internal one. * Wed Dec 14 2005 Daisuke SUZUKI 4.4.2-0vl1 - update to rpm-4.4.3 - Patche0-14 are imported from FC-devel - vine patches are ported from rpm-4.0.5 (Patch100-160) - add Patch170 for legacy(rpm-4.0) compatible build mode aliases - add Patch180 to disable {missing_doc,unpackaged}_files_terminate_build by default. (This would be reenabled in future release) If you need this feature, please set in your .rpmmacros file. * Sun Oct 23 2005 Daisuke SUZUKI 4.0.5-1vl12 - rebuild on new environment - use external libtool - update makefile patch to fix build failure * Sun Apr 03 2005 Shu KONNO 4.0.5-1vl11 - rebuild with python-2.4.1-0vl1 * Thu Mar 17 2005 Daisuke SUZUKI 4.0.5-1vl10 - self rebuilt * Thu Mar 17 2005 Daisuke SUZUKI 4.0.5-1vl9 - add brp-strip-shared in build macros * Wed Jul 28 2004 Daisuke SUZUKI 4.0.5-1vl8 - remove %%vendor from global rpmmacro settings. * Mon May 10 2004 Tomoya TAKA 4.0.5-1vl7 - fix %%pre script, remove bogus ppc* and alpha* macro directories * Mon May 10 2004 Daisuke SUZUKI 4.0.5-1vl6 - remove bogus macro directories and symlinks in %%pre script * Sat Apr 17 2004 Shu KONNO 4.0.5-1vl5 - rebuild with python-2.3.3-0vl1 * Sun Apr 11 2004 Shu KONNO 4.0.5-1vl4.1 - rebuild with python-2.3.3-0vl0.3 (for TestPkg) * Tue Apr 6 2004 Daisuke SUZUKI 4.0.5-1vl4 - remove GPG/PGP key from %%_docdir. - add Requires: vine-keyring, the Vine Linux official keyring. - add '--keyring' option in macros to use vine keyring. * Sun Mar 7 2004 Daisuke SUZUKI 4.0.5-1vl3 - remove "--target" and "--host" from %%configure option. The RPM does not work well on cross compiling, and the options break some compile configurations.... * Thu Feb 26 2004 Daisuke SUZUKI 4.0.5-1vl2 - use internal db only. - update Patch100 to fix %%configure macros * Fri Feb 20 2004 KOBAYASHI R. Taizo 4.0.5-1vl1 - source update for rebuild and current autotools - added BuildRequires libtool >= 1.5.2 - added patch107,200 * Tue Mar 25 2003 Jeff Johnson 4.0.5-1 - bump rpm/popt versions, hardwire 4.0.4 in libraries. - link rpm libraries together, move symbols to achieve forward linkage. - use db-4.1.25, not db-4.0.14, internally. - add rpmdb_loadcvt script, rpmdb_foo utilities. - use current autotools, - use splint, not lclint. - delete rpm-4.1 header-only signatures/digests when signing. - hack out O_DIRECT support in db4 for now. * Tue Nov 5 2002 Jeff Johnson 4.0.4-7x.26 - backport /etc/rpm/platform changes. - backport db-4.1.17 changes. - add _noDirTokens macro for 6x builds. * Sat Jun 15 2002 Jeff Johnson 4.0.4-7x.24 - beecrypt: revert cpu/arch compile option mixup (#66752). * Sun Jun 9 2002 Jeff Johnson 4.0.4-7x.23 - make peace with automake-1.6.1 et al. - backport all beecrypt/rpmio bits from 4.1 that don't break the API. - use /etc/rpm/platform (if it exists), rather than uname(2), for arch. - add /usr/lib/rpm/redhat/* per-vendor configuration. * Thu May 2 2002 Jeff Johnson - fix: include for 6.2 python modules. * Fri Apr 26 2002 Jeff Johnson - fix: rpmdb iterator memory leak in python bindings. * Fri Apr 19 2002 Jeff Johnson - fix: packages produced by rpm-4.0 dinna merge signature tags. * Fri May 02 2003 KOBAYASHI R. Taizo 4.0.4-18vl15 - rebuild against perl-5.8.0 - BuildRequires db4-devel * Wed Mar 12 2003 MATSUBAYASHI Kohji 4.0.4-18vl14 - rebuild against recent toolchain * Wed Jan 29 2003 Tomoya TAKA 4.0.4-18vl13 - rebuild against python-2.2 * Fri Dec 13 2002 MATSUBAYASHI Kohji 4.0.4-18vl12 - fixed typo in %%files for popt subpackage - added BuildRequires: autoconf213, automake14 * Fri Nov 29 2002 MATSUBAYASHI Kohji 4.0.4-18vl11 - update Patch100 again: %%{_infodir} is now set to %%{_datadir}/info. * Fri Nov 29 2002 MATSUBAYASHI Kohji 4.0.4-18vl10 - added Patch106 for ppc (to fix misdetection of PowerPC 750FX/745x as pSeries. Doh!) * Fri Nov 22 2002 MATSUBAYASHI Kohji 4.0.4-18vl9 - modified Patch100 for macros.in, platform.in and installplatform (important platform-dependent macros were missing. Fixed.) * Thu Nov 21 2002 Daisuke SUZUKI 4.0.4-18vl8 - add Patch105 to make more short circuit on rpm building. * Thu Nov 21 2002 Daisuke SUZUKI 4.0.4-18vl7 - update Patch100. (use _real_vendor instead of _vendor) * Thu Nov 21 2002 Daisuke SUZUKI 4.0.4-18vl6 - add Patch103 to use mkstemp instead of mktemp. - add Patch104 for $HOME expantion. * Sun Nov 17 2002 MATSUBAYASHI Kohji 4.0.4-18vl5 - Source100 (rpm-4.0.4-ja.po) updated (small fix) * Fri Nov 15 2002 Tomoya TAKA 4.0.4-18vl4 - add Prereq: rpm = %%{rpm_version} to rpm-* * Fri Nov 15 2002 Tomoya TAKA 4.0.4-18vl3 - add --with-pic to ./configure on alpha - echo notice in %%post * Sun Nov 10 2002 MATSUBAYASHI Kohji 4.0.4-18vl2 - added Source100 (Japanese message catalogue file) * Sun Nov 10 2002 MATSUBAYASHI Kohji 4.0.4-18vl1 - added Patch102 to get correct "provides" information (for objdump in newer binutils may have translated message catalogues) * Sat Nov 09 2002 MATSUBAYASHI Kohji 4.0.4-18vl0 - first attempt for rpm-4.0.4 on Vine Linux - based on rpm-4.0.4-7x.18 from Red Hat Linux 7.3 - /usr/src/redhat -> /usr/src/vine - use built rpm binary, not preinstalled rpm, when compiling perl module - FIXME: more patches and japanese translations would be needed * Thu Apr 18 2002 Jeff Johnson - fix: queries that evaluated to "" incorrectly returned NULL. * Thu Apr 11 2002 Jeff Johnson - fix: generate config file md5 as ascii, not binary (#62542). * Fri Apr 5 2002 Jeff Johnson - non-glibc: on upgrade, mergesort is much faster than quicksort. * Thu Apr 4 2002 Jeff Johnson - speedup large queries by ~50%. - revert to presentation ordering Yet Again (#62158). * Wed Mar 27 2002 Jeff Johnson - fix: look for "/path" in Providename as well as Basenames (#59665). - fix: avoid /dev/log installation more carefully (#62012). - fix: don't compile beecrypt java bindings (#61992). - solaris: save main() envp in global environ for use with gpg. - don't add empty md5 strings to Filemd5's index. - create Filemd5 index with binary, not ascii, keys. * Fri Mar 22 2002 Jeff Johnson - fix: make sure that .rpmsave files are created (#57078). * Mon Mar 18 2002 Jeff Johnson - fix: one-step-too-far when searching added package provides (#61388). - fix: avoid libio misconfiguration with bleeding edge glibc. - fix: add quotes around [:blank:] in linux find-provides. - make --addsign and --resign behave exactly the same. - *really* dump signature header immutable region. - fix: don't overflow result buffer if gpg/pgp gives copious output. * Fri Mar 15 2002 Jeff Johnson - re-enable FD_CLOEXEC, the problem is in zlib through mmap. - add toy python callbacks for payload unpacking failure(s). * Wed Feb 13 2002 Jeff Johnson - don't do close-on-exec, 2 powertools packages cannot be read when doing. - reapply Berkeley DB patch #4491. * Thu Feb 7 2002 Jeff Johnson - rpm-4.0.4 release candidate. - add cpanflute2, another perl.req fiddle. - another cpanflute2 patch. * Mon Feb 4 2002 Jeff Johnson - generate index for pkgid (aka Sigmd5) tag, query/verify by pkgid. - generate index for hdrid (aka Sha1header) tag, query/verify by hdrid. - generate index for fileid (aka Filemd5s) tag, query/verify by fileid. - query/verify by install transaction id. * Sun Feb 3 2002 Jeff Johnson - transaction rollbacks are functional. * Sat Feb 2 2002 Jeff Johnson - fix: drop header region when writing repackaged legacy header. - bail on %%files macro. * Fri Feb 1 2002 Jeff Johnson - macro for %%files, always include %%defattr(), redhat config only. * Thu Jan 31 2002 Jeff Johnson - permit args to be hidden within %%__find_{requires,provides}. - a couple more perl.{prov,req} fiddles. * Wed Jan 30 2002 Jeff Johnson - legacy: configurable whiteout for known Red Hat dependency loops. - perl.req: don't mis-generate dependencies like perl(::path/to/foo.pl). - use chainsaw algorithm for dependency tree decimation when ordering. * Tue Jan 29 2002 Jeff Johnson - transaction rollback code in rpmRollback(). - Red Hat 6.2 portability cruft. * Sun Jan 27 2002 Jeff Johnson - fix: fancy hash fiddles if not a tty. - fix: handle /.../ correctly in rpmCleanPath(). * Sat Jan 26 2002 Jeff Johnson - fix: %%exclude functional (again). - trap SIGILL for ppc64 inline asm voodoo fix from cross-dressed ppc32. - rpm-perl: force numeric comparison on rpm version (#58882). * Tue Jan 22 2002 Jeff Johnson - fix: query format qualifiers needed header.c merge. - ppc64 arch added (#58634,#58636). - turn on auto-generated perl requirements (#58519, #58536, #58537). - add internal (customized) version of zlib. * Mon Jan 21 2002 Jeff Johnson - sync rpmdb and build with rpm-4.1, lots of splint annotations. - add :armor and :base64 query format qualifiers for binary signatures. * Sat Jan 19 2002 Jeff Johnson - use beecrypt routines to calculate digests in rpm. - dump legacy support for broken md5 signatures. - sync popt and rpmio with rpm-4.1, rpmio has OpenPGP API. * Thu Jan 17 2002 Jeff Johnson - missing key(s) on keyring when verifying a signature is now an error. - remove dependency whiteout. - calculate rpm-4.1 ordering/orientation metrics in rpmdepOrder(). * Fri Jan 11 2002 Jeff Johnson - permit subset installs for %%lang colored hardlink file sets. * Thu Jan 10 2002 Jeff Johnson - fix: signing multiple times dinna work, discard immutable region. - remove poptmodule.so for separate packaging. * Wed Jan 9 2002 Jeff Johnson - permit gpg/pgp/pgp5 execs to be reconfigured. * Tue Jan 8 2002 Jeff Johnson - use db-4.0.14 final internally. - make rpm-perl package self-hosting (#57748). * Mon Jan 7 2002 Jeff Johnson - Depends should use CDB if configured. - autodetect python 1.5/2.2. * Sun Jan 6 2002 Jeff Johnson - handle lazy db open's in chroot with absolute path, not prefix strip. * Sat Jan 5 2002 Jeff Johnson - sparc: make dbenv per-rpmdb, not per-dbi. * Thu Dec 20 2001 Jeff Johnson - tru64 compiler message cleanup. - add buildarch lines for hppa (#57728). * Wed Dec 19 2001 Jeff Johnson - look for PY_VERSION 2.2c1. - fix: typo in find-requires. * Sun Dec 9 2001 Jeff Johnson - solaris: translate i86pc to i386 (#57182). - fix: %%GNUconfigure breaks with single quotes (#57264). * Mon Dec 3 2001 Jeff Johnson - rpm-4.0.4 started. - turn off rpm-perl until it's self-hosting. - jigger up rpm-python with python-2.2b2 for now. - remove libtoolize from %%configure for now (#57039). - teach find-requires to autogenerate GCC_3.0 dependencies.