rpm-vl.spec 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195
  1. %bcond_with systemd
  2. %bcond_without check
  3. # new vine linux release number
  4. %define _dist_release vl%(cat /etc/vine-release | cut -f3 -d" " | cut -f1 -d.)
  5. # rc
  6. #define _prever -rc1
  7. %define with_python_subpackage 1%{nil}
  8. %define with_python_version 3.8%{nil}
  9. %define with_apidocs 1%{nil}
  10. # build against xz?
  11. %bcond_without xz
  12. # build with plugins?
  13. %bcond_with plugins
  14. # build with libarchive? (needed for rpm2archive)
  15. %bcond_without libarchive
  16. # build with zstd support?
  17. %bcond_without zstd
  18. # build with ndb backend?
  19. %bcond_without ndb
  20. # build with sqlite support?
  21. %bcond_without sqlite
  22. # build with bdb support?
  23. %bcond_without bdb
  24. # build with internal Berkeley DB?
  25. %bcond_with int_bdb
  26. # build with bdb_ro support?
  27. %bcond_without bdb_ro
  28. %define bdbver 5.3.28
  29. # XXX legacy requires './' payload prefix to be omitted from rpm packages.
  30. %define _noPayloadPrefix 1
  31. %define __prefix %{?_prefix}%{!?_prefix:/usr}
  32. %{?!_lib: %define _lib lib}
  33. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  34. %define __bindir %{__prefix}/bin
  35. %define __includedir %{__prefix}/include
  36. %define __libdir %{__prefix}/%{_lib}
  37. %define __share %{__prefix}/share
  38. %define __mandir %{__share}/man
  39. %define rpmhome %{_prefix}/lib/rpm
  40. Summary: The RPM package management system.
  41. Summary(ja): RPM パッケージ管理システム
  42. Name: rpm
  43. Version: 4.16.1.3
  44. %define rpm_version %{version}
  45. Release: 2%{_dist_release}%{?with_systemd:.systemd}
  46. Group: admin-tools
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. License: GPL
  50. %global srcver %{rpm_version}%{?snapver:-%{snapver}}
  51. %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpm_version} | cut -d'.' -f1-2).x}
  52. # ex. http://ftp.rpm.org/releases/rpm-4.16.x/rpm-4.16.1.tar.bz2
  53. Source: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
  54. %if %{with int_bdb}
  55. Source1: db-%{bdbver}.tar.gz
  56. %endif
  57. Source10: rpmdb-rebuild.service
  58. # vine sources
  59. Source110: GROUPS_for_vine.txt
  60. Source120: GROUPS-DESC_for_vine.txt
  61. Source130: COMPAT32_for_vine
  62. # Patches already in upstream
  63. # Patches from fedora
  64. # Temporary band-aid for rpm2cpio whining on payload size mismatch (#1142949)
  65. Patch5: rpm-4.12.0-rpm2cpio-hack.patch
  66. # https://github.com/rpm-software-management/rpm/pull/473
  67. Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
  68. Patch7: 0001-Issue-deprecation-warning-when-creating-BDB-database.patch
  69. # These are not yet upstream
  70. Patch906: rpm-4.7.1-geode-i686.patch
  71. # Probably to be upstreamed in slightly different form
  72. Patch907: rpm-4.15.x-ldflags.patch
  73. # Not yet (all) upstream, debugedit DWARF5
  74. # https://code.wildebeest.org/git/user/mjw/rpm/log/?h=gcc-dwarf5-4.16.1.2
  75. Patch911: 0001-NFC-debugedit-Protect-macro-arguments-by-parentheses.patch
  76. Patch912: 0002-NFC-debugedit-Move-code-from-edit_dwarf2-to-edit_inf.patch
  77. Patch913: 0003-debugedit-Fix-missing-relocation-of-.debug_types-sec.patch
  78. Patch914: 0004-NFC-debugedit-Move-code-to-separate-functions.patch
  79. Patch915: 0005-debugedit-Implement-DWARF-5-unit-header-and-new-form.patch
  80. Patch916: 0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
  81. # Downstream-only patches
  82. Patch1000: rpm-4.16.1.3-hashtab-use-after-free-fix.patch
  83. # Patches for Vine Linux
  84. Patch10000: 0001-rpm-4.12.0.1-vine.patch.patch
  85. Patch10001: 0002-rpm-4.9.1.2-shortcircuit.patch.patch
  86. Patch10002: 0003-rpm-4.9.1.2-legacyaliases.patch.patch
  87. Patch10003: 0004-rpm-4.4.3-no-terminate_build.patch.patch
  88. Patch10004: 0005-rpm-4.9.1.2-disable-python-requires.patch.patch
  89. Patch10005: 0006-rpm-4.12.0.1-disable-debug.patch.patch
  90. Patch10006: 0007-rpm-4.12.0.1-optflags.patch.patch
  91. Patch10007: 0008-rpm-4.8.0-default-buildarch.patch.patch
  92. Patch10008: 0009-rpm-4.4.2-add-default-srcdefattr.patch.patch
  93. Patch10009: 0010-rpm-4.10.0-brp-strip-static-archive-find-a-only.patc.patch
  94. Patch10010: 0011-rpm-4.9.1.2-force-v3-sigs.patch.patch
  95. Patch10011: 0012-rpm-4.9.1.2-enable-xz-payload.patch.patch
  96. Patch11000: rpm-4.16.1.3-ja.po.patch
  97. Patch12000: add-log.patch
  98. Conflicts: patch < 2.5
  99. Requires(post): coreutils, shadow-utils
  100. Requires(postun): coreutils, shadow-utils
  101. Requires: popt >= 1.10.2.1
  102. Requires: openssl >= 1.1.1
  103. Requires: rpm-libs = %{version}
  104. %if %{without int_bdb}
  105. Requires: libdb-utils
  106. %endif
  107. Requires: vine-rpm-macros
  108. Obsoletes: rpm-perl < %{version}
  109. BuildRequires: gawk
  110. BuildRequires: elfutils-devel
  111. BuildRequires: elfutils-libelf-devel
  112. BuildRequires: readline-devel zlib-devel
  113. BuildRequires: openssl-devel
  114. BuildRequires: popt-devel
  115. BuildRequires: file-devel
  116. BuildRequires: gettext-devel
  117. BuildRequires: ncurses-devel
  118. BuildRequires: bzip2-devel >= 0.9.0c-2
  119. BuildRequires: lua-devel
  120. BuildRequires: libcap-devel
  121. BuildRequires: libacl-devel
  122. BuildRequires: xz-devel
  123. BuildRequires: libarchive-devel
  124. BuildRequires: libzstd-devel
  125. BuildRequires: sqlite3-devel
  126. #BuildRequires: libselinux-devel
  127. BuildRequires: dbus-devel
  128. BuildRequires: audit-libs-devel
  129. %if %{without int_bdb}
  130. BuildRequires: libdb-devel >= 5.3.28
  131. %endif
  132. %if %{with_python_subpackage}
  133. BuildRequires: python3-devel
  134. BuildRequires: python3-rpm-macros
  135. %endif
  136. BuildRoot: %{_tmppath}/%{name}-root
  137. %description
  138. The RPM Package Manager (RPM) is a powerful command line driven
  139. package management system capable of installing, uninstalling,
  140. verifying, querying, and updating software packages. Each software
  141. package consists of an archive of files along with information about
  142. the package like its version, a description, etc.
  143. %description -l ja
  144. RPM パッケージマネージャ (RPM) は,ソフトウェアパッケージを
  145. インストール/アンインストール/チェック/問い合わせ/アップデート
  146. する機能を持った高機能パッケージマネージングシステムです.
  147. 各パッケージには,ファイルのアーカイブに加え,名前,バージョン,
  148. 説明などのパッケージ情報が含まれています.
  149. %package libs
  150. Summary: Libraries for manipulating RPM packages.
  151. Summary(ja): RPMパッケージを操作するライブラリ
  152. Group: system
  153. %description libs
  154. This package contains the RPM shared libraries.
  155. %description libs -l ja
  156. このパッケージには RPM の共有ライブラリが含まれています。
  157. %package devel
  158. Summary: Development files for manipulating RPM packages.
  159. Summary(ja): RPM ライブラリ用の開発ファイル
  160. Group: programming
  161. Requires: rpm = %{rpm_version}-%{release}
  162. Requires: %{name}-libs%{_isa} = %{version}-%{release}
  163. Requires: popt-devel%{_isa}
  164. %description devel
  165. This package contains the RPM C library and header files. These
  166. development files will simplify the process of writing programs that
  167. manipulate RPM packages and databases. These files are intended to
  168. simplify the process of creating graphical package managers or any
  169. other tools that need an intimate knowledge of RPM packages in order
  170. to function.
  171. This package should be installed if you want to develop programs that
  172. will manipulate RPM packages and databases.
  173. %description devel -l ja
  174. このパッケージには,RPMパッケージやデータベースを操作するための
  175. C ライブラリとヘッダが含まれています.これにより,RPMパッケージを
  176. 操作するツールを作成できます.
  177. %package build
  178. Summary: Scripts and executable programs used to build packages.
  179. Group: programming
  180. Provides: rpmbuild(VendorConfig) = 4.1-1
  181. Requires: rpm = %{rpm_version}-%{release}
  182. Requires: elfutils, binutils
  183. Requires: findutils, sed, grep, gawk, diffutils, file, patch >= 2.5
  184. Requires: zip, gzip, bzip2, cpio, tar, xz
  185. Requires: vine-rpm-build-macros
  186. %description build
  187. The rpm-build package contains the scripts and executable programs
  188. that are used to build packages using the RPM Package Manager.
  189. %description build -l ja
  190. このパッケージには,RPMを使ったパッケージを構築(ビルド)するのに必要な
  191. スクリプトおよびプログラムが収録されています.
  192. %if %{with_python_subpackage}
  193. %package -n python3-rpm
  194. Summary: Python bindings for apps which will manipulate RPM packages.
  195. Group: programming
  196. Requires: rpm = %{rpm_version}-%{release}
  197. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  198. Requires: python3
  199. Obsoletes: rpm-python < 4.16
  200. %description -n python3-rpm
  201. The rpm-python package contains a module that permits applications
  202. written in the Python programming language to use the interface
  203. supplied by RPM Package Manager libraries.
  204. This package should be installed if you want to develop Python
  205. programs that will manipulate RPM packages and databases.
  206. %description -n python3-rpm -l ja
  207. rpm-python パッケージには,RPM パッケージマネージャのライブラリに
  208. アクセスする為の Python モジュールが収録されています.
  209. %endif
  210. %package apidocs
  211. Summary: API documentation for RPM libraries
  212. Summary(ja): RPM ライブラリの API ドキュメント
  213. Group: documentation
  214. BuildArch: noarch
  215. %description apidocs
  216. This package contains API documentation for developing applications
  217. that will manipulate RPM packages and databases.
  218. %debug_package
  219. %prep
  220. %autosetup -n rpm-%{srcver} %{?with_int_bdb:-a 1} -p1
  221. cp %{SOURCE110} %{SOURCE120} .
  222. %if %{with int_bdb}
  223. ln -s db-%{bdbver} db
  224. %endif
  225. sed -i -e "/_db_backend/ s/ bdb/ sqlite/g" macros.in
  226. %build
  227. autoreconf -f -i
  228. #sed -i -e 's|^mkinstalldirs =.*|mkinstalldirs = ../mkinstalldirs|g' po/Makefile*
  229. # Hardening hack taken from macro %%configure defined in redhat-rpm-config
  230. for i in $(find . -name ltmain.sh) ; do
  231. %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{?_hardened_ldflags}"~' $i
  232. done;
  233. %if %{with_python_subpackage}
  234. WITH_PYTHON="--enable-python"
  235. %else
  236. WITH_PYTHON="--disable-python"
  237. %endif
  238. ./configure \
  239. --prefix=%{__prefix} \
  240. --sysconfdir=/etc \
  241. --localstatedir=/var \
  242. --sharedstatedir=/var/lib \
  243. --libdir=%{_libdir} \
  244. --build=%{_target_platform} \
  245. --host=%{_target_platform} \
  246. --with-vendor=vine \
  247. --enable-bdb=yes \
  248. %{!?with_int_bdb: --with-external-db} \
  249. %{!?with_plugins: --disable-plugins} \
  250. --with-lua \
  251. --without-selinux \
  252. --with-cap \
  253. --with-acl \
  254. %{?with_ndb: --enable-ndb} \
  255. %{?with_libimaevm: --with-imaevm} \
  256. %{?with_zstd: --enable-zstd} \
  257. %{?with_sqlite: --enable-sqlite} \
  258. %{?with_bdb_ro: --enable-bdb-ro} \
  259. $WITH_PYTHON \
  260. --with-crypto=openssl \
  261. --without-javaglue \
  262. --without-perl
  263. make %{?_smp_mflags}
  264. make -C po ja.gmo
  265. pushd python
  266. %py3_build
  267. popd
  268. %install
  269. rm -rf $RPM_BUILD_ROOT
  270. make DESTDIR="$RPM_BUILD_ROOT" install
  271. # We need to build with --enable-python for the self-test suite, but we
  272. # actually package the bindings built with setup.py (#531543#c26)
  273. pushd python
  274. %py3_install
  275. popd
  276. %if %{with systemd}
  277. mkdir -p $RPM_BUILD_ROOT%{_unitdir}
  278. install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
  279. %if %{with bdb}
  280. mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
  281. echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/rpm.conf
  282. %endif
  283. %endif
  284. # Save list of packages through cron
  285. mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
  286. install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
  287. mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
  288. install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
  289. mkdir -p $RPM_BUILD_ROOT/etc/rpm
  290. mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
  291. mkdir -p $RPM_BUILD_ROOT%{rpmhome}/vine
  292. mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
  293. # init an empty database for %ghost'ing for all supported backends
  294. for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite} %{?with_bdb:bdb}; do
  295. ./rpmdb --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
  296. cp -va ${be}/. $RPM_BUILD_ROOT/var/lib/rpm/
  297. done
  298. %find_lang rpm
  299. find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
  300. # These live in perl-generators and python-rpm-generators now
  301. rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
  302. rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
  303. rm -rf $RPM_BUILD_ROOT/var/tmp
  304. # init an empty database for %ghost'ing for all supported backends
  305. for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite} %{?with_bdb:bdb}; do
  306. ./rpmdb --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
  307. cp -va ${be}/. $RPM_BUILD_ROOT/var/lib/rpm/
  308. done
  309. # move command to /bin/
  310. mkdir -p %{buildroot}/bin
  311. mv -f %{buildroot}%{__bindir}/rpm %{buildroot}/bin/rpm
  312. ln -sf ../../bin/rpm %{buildroot}%{__bindir}/rpm
  313. # set i386 for _arch in i?86-linux/macros
  314. %ifarch x86_64
  315. for macro in $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/i[3456]86-linux/macros \
  316. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/pentium?-linux/macros \
  317. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/athlon-linux/macros \
  318. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/geode-linux/macros
  319. do
  320. cp $macro $macro.orig
  321. sed -e 's/^%%_arch.*/%%_arch\t\t\ti686/g' $macro.orig > $macro
  322. rm -f $macro.orig
  323. done
  324. %endif
  325. # set compat32 enabling macros
  326. %ifarch i386 i586 i686 athlon
  327. for macro in $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/i[3456]86-linux/macros \
  328. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/pentium?-linux/macros \
  329. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/athlon-linux/macros \
  330. $RPM_BUILD_ROOT%{__prefix}/lib/rpm/platform/geode-linux/macros
  331. do
  332. cat %{SOURCE130} >> $macro
  333. done
  334. %endif
  335. # Get rid of unpackaged files
  336. %if 0
  337. { cd $RPM_BUILD_ROOT
  338. # obsoleted files (macros for metainfo are provided by vine-rpm-macros)
  339. rm -f ./usr/lib/rpm/appdata.prov
  340. rm -f ./usr/lib/rpm/fileattrs/appdata.attr
  341. }
  342. %endif
  343. %if %{with check}
  344. %check
  345. make check TESTSUITEFLAGS=-j%{_smp_build_ncpus} || (cat tests/rpmtests.log; exit 1)
  346. # rpm >= 4.16.0 testsuite leaves a read-only tree behind, clean it up
  347. make clean
  348. %endif
  349. %clean
  350. rm -rf $RPM_BUILD_ROOT
  351. %posttrans
  352. # XXX this is klunky and ugly, rpm itself should handle this
  353. dbstat=/usr/lib/rpm/rpmdb_stat
  354. if [ -x "$dbstat" ]; then
  355. if "$dbstat" -e -h /var/lib/rpm 2>&1 | grep -q "doesn't match environment"; then
  356. rm -f /var/lib/rpm/__db.*
  357. fi
  358. fi
  359. %if %{with systemd}
  360. if [ -f /var/lib/rpm/Packages ]; then
  361. touch /var/lib/rpm/.rebuilddb
  362. fi
  363. %endif
  364. exit 0
  365. %if %{with systemd}
  366. # Handle rpmdb rebuild service on erasure of old to avoid ordering issues
  367. # https://pagure.io/fesco/issue/2382
  368. %triggerun -- rpm < 4.16
  369. if [ -x /bin/systemctl ]; then
  370. systemctl --no-reload preset rpmdb-rebuild ||:
  371. fi
  372. %endif
  373. %pre
  374. if [ -f /var/lib/rpm/packages.rpm ]; then
  375. echo "
  376. You have (unsupported)
  377. /var/lib/rpm/packages.rpm db1 format installed package headers
  378. Please install rpm-4.0.4 first, and do
  379. rpm --rebuilddb
  380. to convert your database from db1 to db3 format.
  381. "
  382. exit 1
  383. fi
  384. /usr/sbin/groupadd -g 37 rpm > /dev/null 2>&1
  385. /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 rpm -s /sbin/nologin > /dev/null 2>&1
  386. exit 0
  387. %post
  388. # Establish correct rpmdb (db5) ownership.
  389. /bin/chown rpm.rpm /var/lib/rpm/[A-Z]* >/dev/null 2>&1 ||:
  390. exit 0
  391. %postun
  392. if [ $1 = 0 ]; then
  393. /usr/sbin/userdel rpm
  394. /usr/sbin/groupdel rpm
  395. fi
  396. exit 0
  397. %define rpmattr %attr(0755, rpm, rpm)
  398. %define rpmdbattr %attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
  399. %files -f rpm.lang
  400. %defattr(-,root,root)
  401. %license COPYING
  402. %doc CREDITS doc/manual/[a-z]*
  403. %doc GROUPS*_for_vine.txt
  404. %if %{with systemd}
  405. %{_unitdir}/rpmdb-rebuild.service
  406. %if %{with bdb}
  407. %{_tmpfilesdir}/rpm.conf
  408. %endif
  409. %endif
  410. %config(noreplace,missingok) /etc/cron.daily/rpm
  411. %config(noreplace,missingok) /etc/logrotate.d/rpm
  412. %dir /etc/rpm
  413. #config(noreplace,missingok) /etc/rpm/macros.*
  414. %rpmdbattr %dir /var/lib/rpm
  415. %rpmdbattr /var/lib/rpm/*
  416. %rpmdbattr /var/lib/rpm/.*.lock
  417. %dir %{rpmhome}/macros.d
  418. %dir %{rpmhome}/vine
  419. %rpmattr /bin/rpm
  420. %{__bindir}/rpm
  421. %rpmattr %{__bindir}/rpm2archive
  422. %rpmattr %{__bindir}/rpm2cpio
  423. %rpmattr %{__bindir}/rpmdb
  424. %rpmattr %{__bindir}/rpmkeys
  425. %{__bindir}/rpmquery
  426. %rpmattr %{__bindir}/rpmsign
  427. %{__bindir}/rpmverify
  428. %rpmattr %{rpmhome}/rpmdb_*
  429. %attr(0644, rpm, rpm) %{rpmhome}/macros
  430. %attr(0644, rpm, rpm) %{rpmhome}/lua
  431. %attr(0644, rpm, rpm) %{rpmhome}/rpmpopt*
  432. %attr(0644, rpm, rpm) %{rpmhome}/rpmrc
  433. %rpmattr %{rpmhome}/rpm.*
  434. %rpmattr %{rpmhome}/rpm2cpio.sh
  435. %rpmattr %{rpmhome}/tgpg
  436. %attr(-, rpm, rpm) %{rpmhome}/platform
  437. %{__mandir}/man8/rpm.8*
  438. %{__mandir}/man8/rpmdb.8*
  439. %{__mandir}/man8/rpmkeys.8*
  440. %{__mandir}/man8/rpm2archive.8*
  441. %{__mandir}/man8/rpm2cpio.8*
  442. %{__mandir}/man8/rpmsign.8*
  443. %{__mandir}/man8/rpm-misc.8*
  444. %if %{with plugins}
  445. %{__mandir}/man8/rpm-plugins.8*
  446. %endif
  447. # XXX this places translated manuals to wrong package wrt eg rpmbuild
  448. %lang(fr) %{__mandir}/fr/man[18]/*.[18]*
  449. %lang(ko) %{__mandir}/ko/man[18]/*.[18]*
  450. %lang(ja) %{__mandir}/ja/man[18]/*.[18]*
  451. %lang(pl) %{__mandir}/pl/man[18]/*.[18]*
  452. %lang(ru) %{__mandir}/ru/man[18]/*.[18]*
  453. %lang(sk) %{__mandir}/sk/man[18]/*.[18]*
  454. %files libs
  455. %defattr(-,root,root)
  456. %{__libdir}/librpm.so.*
  457. %{__libdir}/librpmio.so.*
  458. %{__libdir}/librpmbuild.so.*
  459. %{__libdir}/librpmsign.so.*
  460. %files build
  461. %defattr(-,root,root)
  462. %rpmattr %{__bindir}/gendiff
  463. %rpmattr %{__bindir}/rpmbuild
  464. %rpmattr %{__bindir}/rpmspec
  465. %rpmattr %{rpmhome}/brp-*
  466. %rpmattr %{rpmhome}/check-*
  467. %rpmattr %{rpmhome}/debugedit
  468. %rpmattr %{rpmhome}/sepdebugcrcfix
  469. %rpmattr %{rpmhome}/find-debuginfo.sh
  470. %rpmattr %{rpmhome}/find-lang.sh
  471. %rpmattr %{rpmhome}/*provides*
  472. %rpmattr %{rpmhome}/*requires*
  473. %rpmattr %{rpmhome}/*deps*
  474. %rpmattr %{rpmhome}/*.prov
  475. %rpmattr %{rpmhome}/*.req
  476. %rpmattr %{rpmhome}/mkinstalldirs
  477. %attr(0755, rpm, rpm) %dir %{rpmhome}/fileattrs
  478. %rpmattr %{rpmhome}/fileattrs/*
  479. %{__mandir}/man1/gendiff.1*
  480. %{__mandir}/man8/rpmbuild.8*
  481. %{__mandir}/man8/rpmdeps.8*
  482. %{__mandir}/man8/rpmspec.8*
  483. %if %{with_python_subpackage}
  484. %files -n python3-rpm
  485. %defattr(-,root,root)
  486. %{python3_sitearch}/rpm/
  487. %{python3_sitearch}/rpm-%{rpm_version}*.egg-info
  488. %endif
  489. %files devel
  490. %defattr(-,root,root)
  491. %{__mandir}/man8/rpmgraph.8*
  492. %rpmattr %{__bindir}/rpmgraph
  493. %{__libdir}/librp*[a-z].so
  494. %{__libdir}/pkgconfig/rpm.pc
  495. %{__includedir}/rpm
  496. %files apidocs
  497. %defattr(-,root,root)
  498. %license COPYING
  499. %doc doc/librpm/html/*
  500. %changelog
  501. * Mon Oct 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.16.1.3-2
  502. - rebuilt with openssl-3.0.0.
  503. - imported Patch1000 from rawhide.
  504. * Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.16.1.3-1
  505. - updated to 4.16.1.3.
  506. - fixed %%_sharedstatedir in macros.
  507. - updated Patch11000: ja.po.
  508. * Tue Mar 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.16.1.2-2
  509. - added missing directories.
  510. - dropped ldconfig scriptlets.
  511. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.16.1.2-1
  512. - updated to 4.16.1.2.
  513. - updated patches from fedora.
  514. - updated vine-patches.
  515. * Sat Aug 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.0.1-4
  516. - rebuilt with lua51-5.1.5.
  517. * Fri May 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.0.1-3
  518. - moved macros.vine to vine-rpm-macros.
  519. - dropped appdata macros.
  520. - imported metainfo.fileattr from upstream.
  521. - imported Patch10000 from upstream.
  522. * Tue Nov 24 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.12.0.1-2
  523. - add new utils (rpm2archive)
  524. * Mon Nov 23 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.12.0.1-1
  525. - update to 4.12.0.1
  526. - add BR: libarchive-devel
  527. - use external bdb by default
  528. * Mon Jun 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.11.2-1
  529. - update to 4.11.2
  530. - update internal bdb to 5.3.28
  531. * Mon Aug 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.11.1-1
  532. - update to 4.11.1
  533. * Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.11.1-0.rc1
  534. - update to 4.11.1-rc1
  535. * Thu Feb 07 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.11.0.1-1
  536. - update to 4.11.0.1
  537. - add %%_sourcedir to macros.vine
  538. * Wed Oct 31 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.10.2-3
  539. - use internal bdb(5.3.21)
  540. * Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.10.1-2
  541. - update vine patch
  542. - split vine specific macros to /etc/rpm/macros.vine
  543. - fix ruby macros
  544. - update ja.po (fix bogus translations)
  545. * Wed Oct 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.10.1-1
  546. - update to 4.10.1
  547. * Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.10.0-1
  548. - update to 4.10.0
  549. - add apidocs subpackage
  550. * Fri Apr 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.9.1.3-1
  551. - update to 4.9.1.3
  552. * Tue Mar 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.9.1.2-4
  553. - add patch102-109 from upstream
  554. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1.2-3
  555. - rebuild with python-2.7.2
  556. * Fri Dec 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.9.1.2-2
  557. - fix vine patch
  558. - remove broken/dupreacted macro (__id_u)
  559. - add patch1340 to disable rpmbuild --sign functionality
  560. * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.9.1.2-1
  561. - update to 4.9.1.2
  562. - add patch1330 to enable xz payload (binary payload)
  563. - add BR: file-devel
  564. * Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.1-3
  565. - rebuild package (fix typo in /usr/lib/rpm/macros on i686)
  566. * Thu Jan 6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.8.1-2
  567. - add R: xz into rpm-build pkg
  568. - add BR: xz-devel
  569. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.8.1-1
  570. - update to 4.8.1
  571. - add patch1320 to force gpg v3 signature on package signing
  572. - add --force-v3-sigs to gpg option
  573. - use internal dependency generator (upstream default)
  574. * Thu Mar 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.8.0-6
  575. - drop patch1160 to disable brp-strip-shared (<BTS:954>)
  576. - update patch1170 (enable legacymacros again)
  577. - add patch1300 to brp-compress xz/lzma support
  578. - add patch1310 to find static libs only on brp-strip-static-archive
  579. * Tue Feb 16 2010 KOBAYASHI Taizo <tkoba@vinelinux.org> - 4.8.0-5
  580. - drop Requires: beecrypt and BuildRequires: beecrypt-devel
  581. - added Requires: nss
  582. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.8.0-4
  583. - rebuilt with gcc-4.4.3-3 on ppc
  584. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.8.0-3
  585. - modified Patch1230: add missing ppc-specific optflags, as in 4.4.2.3-12
  586. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 4.8.0-2
  587. - add '--libdir=%%{_libdir}' to configure
  588. * Sun Jan 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.8.0-1
  589. - update to rpm-4.8.0
  590. - change default buildarch to i686
  591. add BR: lua-devel, lkibcap-devel, libacl-devel, nss-devel
  592. - build with external Berkeley DB (db4)
  593. * Thu Jul 16 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.4.2.3-12
  594. - rebuild to fix absolute path of sed in macros <BTS:VineLinux:0723>
  595. * Tue Jul 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.4.2.3-11
  596. - add Patch290 to find mono-dependencies automatically
  597. * Sun Jul 5 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.4.2.3-10
  598. - update patch100 to add _compat32_arch macro (currently i386)
  599. - add "_with_compat32 1" into i[356]86, athlon's macro to force compat32 build
  600. - add BR: cvs
  601. * Sat May 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-9
  602. - add Patch30 backported from 4.6.0
  603. - allocating in even sized chunks helps avoiding crazy memory
  604. fragmentation when resizing a lot (rhbz#472507)
  605. * Thu May 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-8
  606. - add Patch20-25 from upstream
  607. * Tue Apr 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-7
  608. - remove %ifos from spec file.
  609. - add python_site{lib,arch}, pyver macros
  610. - add emacsen_pkgdir macros
  611. - add macros for font package
  612. - update auto* files
  613. * Fri Oct 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-6
  614. - update Patch230
  615. - add -fno-strict-aliasing -fno-schedule-insns2 to optflags
  616. (VineSeed:16128)
  617. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-5
  618. - rebuild with external libpopt
  619. * Mon Jul 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-4
  620. - rebuild with python-2.5
  621. * Fri Apr 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2.3-3
  622. - rebuilt with neon-0.28.2
  623. * Wed Apr 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-2
  624. - add Patch280 to fix external dependancy generator(revert patch)
  625. * Mon Apr 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-1
  626. - new upstream release
  627. * Thu Mar 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.4.2.3-0.rc1.3
  628. - fix file section for x86_64 build
  629. * Wed Mar 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-0.rc1.2
  630. - fix typo in Patch100 (_dist_release macro)
  631. * Tue Mar 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.3-0.rc1.1
  632. - new upstream rc version
  633. - add new _dist_release macro
  634. seed http://trac.vinelinux.org/wiki/VersioningPolicy
  635. - use new release numbering policy
  636. * Wed Feb 27 2008 Takuya Kobayashi <ruby11@cocoa.ocn.ne.jp> 4.4.2.2-0vl6
  637. - update Patch260,Source100 <BTS:VineLinux:504>
  638. - update Patch260 (fix typo in rpmbuild japanese manpage)
  639. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2.2-0vl5
  640. - rebuild with expat-2.0.1
  641. * Mon Feb 04 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4.2.2-0vl4
  642. - rebuild
  643. * Sun Feb 03 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4.2.2-0vl3
  644. - fix Patch230 (remove unnecessary white spaces)
  645. * Fri Oct 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.2-0vl2
  646. - fix vine patch
  647. * Sat Oct 13 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.2-0vl1
  648. - new upstream release
  649. * Mon Jul 23 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4.2.1-0vl2
  650. - fix popt version (1.10.2.1)
  651. * Mon Jul 23 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2.1-0vl1
  652. - new upstream release
  653. - remove obsolete patches
  654. * Wed May 23 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.4.2-0vl25
  655. - rebuild with neon-0.26.3 (expecially for x86_64)
  656. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl24
  657. - add patch 37 to build without neon
  658. * Mon May 14 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4.2-0vl23
  659. - updated Patch230 (-m32 on ppc, -m64 on ppc64, and likewise)
  660. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl22
  661. - use -mtune option instead of -mcpu
  662. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4.2-0vl21
  663. - rebuilt with new toolchain
  664. - disable Patch53
  665. - add BuildReq: nkf
  666. * Fri Jan 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl20
  667. - rebuild
  668. * Sun Dec 31 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.4.2-0vl19
  669. - update patch270. <BTS:VineLinux:448>
  670. * Sun Dec 31 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.4.2-0vl18
  671. - fix typo in GROUPS-DESC_for_vine.txt <BTS:VineLinux:448>
  672. * Sat Dec 30 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.4.2-0vl17
  673. - fix typo in GROUPS*_for_vine.txt <BTS:VineLinux:429>
  674. * Thu Nov 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl16
  675. - update ja.po and manpage to fix typo (<BTS:278>)
  676. - update GROUPS for Vine Linux
  677. - add GROUPS*_for_vine.txt
  678. * Sat Jun 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl15
  679. - fix changelogname for 4.4.2-0vl14
  680. ( was accidentally copied from 0vl13.. )
  681. * Fri Jun 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl14
  682. - update Patch230
  683. - remove "-m64 -mcpu=nocona" from x86_64 optflags
  684. - add Patch250
  685. - add %%_srcdefattr (-,root,root) to default macros
  686. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.2-0vl13
  687. - fix typo in changelog
  688. * Thu Apr 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.2-0vl12
  689. - rebuild with neon-0.25.5
  690. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl11
  691. - update Patch100 to use /var for %%{_localstatedir} instead of /var/lib
  692. * Mon Feb 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl10
  693. - update ja.po
  694. - fix some mistranslations (thanks to NAKAMURA Kenta)
  695. - squash some fuzzy translations
  696. * Mon Feb 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl9
  697. - fix spec bug.
  698. * Sun Feb 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl8
  699. - update Patch240 to install pentium?-linux/macros on x86_64 arch.
  700. - added compat32-popt for x86_64 architecture support (NAKAMURA Kenta)
  701. * Wed Feb 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl7
  702. - add Patch230 to append "-m32/-m64" option to %%optflags in rpmrc
  703. - add Patch240 to install ix86-linux/macros on x86_64 arch.
  704. - update Patch100 to use lib/lib64 for %%_lib macro in per-platform
  705. macros.
  706. * Sun Dec 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl6
  707. - add Patch220 to remove debug option from optflags (in rpmrc)
  708. * Wed Dec 21 2005 KOBAYASHI Taizo <tkoba@vinelinux.org> 4.4.2-0vl5
  709. - added Patch210 for PPC deadlock.
  710. * Sun Dec 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl4
  711. - import Patch51-55 from MDK package.
  712. * Sun Dec 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl3
  713. - add Requires: popt >= %%{poptversion} to rpm-libs.
  714. librpm-4.4 need new popt feature.
  715. * Fri Dec 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl2
  716. - change manpage kanjicode to euc-jp
  717. - add Patch190 to disable python_requires
  718. - add Patch200 to use external dependency generator instead of internal one.
  719. * Wed Dec 14 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.2-0vl1
  720. - update to rpm-4.4.3
  721. - Patche0-14 are imported from FC-devel
  722. - vine patches are ported from rpm-4.0.5 (Patch100-160)
  723. - add Patch170 for legacy(rpm-4.0) compatible build mode aliases
  724. - add Patch180 to disable {missing_doc,unpackaged}_files_terminate_build
  725. by default. (This would be reenabled in future release)
  726. If you need this feature, please set in your .rpmmacros file.
  727. * Sun Oct 23 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl12
  728. - rebuild on new environment
  729. - use external libtool
  730. - update makefile patch to fix build failure
  731. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 4.0.5-1vl11
  732. - rebuild with python-2.4.1-0vl1
  733. * Thu Mar 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl10
  734. - self rebuilt
  735. * Thu Mar 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl9
  736. - add brp-strip-shared in build macros
  737. * Wed Jul 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl8
  738. - remove %%vendor from global rpmmacro settings.
  739. * Mon May 10 2004 Tomoya TAKA <taka@vinelinux.org> 4.0.5-1vl7
  740. - fix %%pre script, remove bogus ppc* and alpha* macro directories
  741. * Mon May 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl6
  742. - remove bogus macro directories and symlinks in %%pre script
  743. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 4.0.5-1vl5
  744. - rebuild with python-2.3.3-0vl1
  745. * Sun Apr 11 2004 Shu KONNO <owa@bg.wakwak.com> 4.0.5-1vl4.1
  746. - rebuild with python-2.3.3-0vl0.3 (for TestPkg)
  747. * Tue Apr 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl4
  748. - remove GPG/PGP key from %%_docdir.
  749. - add Requires: vine-keyring, the Vine Linux official keyring.
  750. - add '--keyring' option in macros to use vine keyring.
  751. * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl3
  752. - remove "--target" and "--host" from %%configure option.
  753. The RPM does not work well on cross compiling, and the options
  754. break some compile configurations....
  755. * Thu Feb 26 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.5-1vl2
  756. - use internal db only.
  757. - update Patch100 to fix %%configure macros
  758. * Fri Feb 20 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.5-1vl1
  759. - source update for rebuild and current autotools
  760. - added BuildRequires libtool >= 1.5.2
  761. - added patch107,200
  762. * Tue Mar 25 2003 Jeff Johnson <jbj@redhat.com> 4.0.5-1
  763. - bump rpm/popt versions, hardwire 4.0.4 in libraries.
  764. - link rpm libraries together, move symbols to achieve forward linkage.
  765. - use db-4.1.25, not db-4.0.14, internally.
  766. - add rpmdb_loadcvt script, rpmdb_foo utilities.
  767. - use current autotools,
  768. - use splint, not lclint.
  769. - delete rpm-4.1 header-only signatures/digests when signing.
  770. - hack out O_DIRECT support in db4 for now.
  771. * Tue Nov 5 2002 Jeff Johnson <jbj@redhat.com> 4.0.4-7x.26
  772. - backport /etc/rpm/platform changes.
  773. - backport db-4.1.17 changes.
  774. - add _noDirTokens macro for 6x builds.
  775. * Sat Jun 15 2002 Jeff Johnson <jbj@redhat.com> 4.0.4-7x.24
  776. - beecrypt: revert cpu/arch compile option mixup (#66752).
  777. * Sun Jun 9 2002 Jeff Johnson <jbj@redhat.com> 4.0.4-7x.23
  778. - make peace with automake-1.6.1 et al.
  779. - backport all beecrypt/rpmio bits from 4.1 that don't break the API.
  780. - use /etc/rpm/platform (if it exists), rather than uname(2), for arch.
  781. - add /usr/lib/rpm/redhat/* per-vendor configuration.
  782. * Thu May 2 2002 Jeff Johnson <jbj@redhat.com>
  783. - fix: include <sys/time.h> for 6.2 python modules.
  784. * Fri Apr 26 2002 Jeff Johnson <jbj@redhat.com>
  785. - fix: rpmdb iterator memory leak in python bindings.
  786. * Fri Apr 19 2002 Jeff Johnson <jbj@redhat.com>
  787. - fix: packages produced by rpm-4.0 dinna merge signature tags.
  788. * Fri May 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.4-18vl15
  789. - rebuild against perl-5.8.0
  790. - BuildRequires db4-devel
  791. * Wed Mar 12 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl14
  792. - rebuild against recent toolchain
  793. * Wed Jan 29 2003 Tomoya TAKA <taka@vinelinux.org> 4.0.4-18vl13
  794. - rebuild against python-2.2
  795. * Fri Dec 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl12
  796. - fixed typo in %%files for popt subpackage
  797. - added BuildRequires: autoconf213, automake14
  798. * Fri Nov 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl11
  799. - update Patch100 again: %%{_infodir} is now set to %%{_datadir}/info.
  800. * Fri Nov 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl10
  801. - added Patch106 for ppc
  802. (to fix misdetection of PowerPC 750FX/745x as pSeries. Doh!)
  803. * Fri Nov 22 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl9
  804. - modified Patch100 for macros.in, platform.in and installplatform
  805. (important platform-dependent macros were missing. Fixed.)
  806. * Thu Nov 21 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.4-18vl8
  807. - add Patch105 to make more short circuit on rpm building.
  808. * Thu Nov 21 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.4-18vl7
  809. - update Patch100. (use _real_vendor instead of _vendor)
  810. * Thu Nov 21 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.4-18vl6
  811. - add Patch103 to use mkstemp instead of mktemp.
  812. - add Patch104 for $HOME expantion.
  813. * Sun Nov 17 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl5
  814. - Source100 (rpm-4.0.4-ja.po) updated (small fix)
  815. * Fri Nov 15 2002 Tomoya TAKA <taka@vinelinux.org> 4.0.4-18vl4
  816. - add Prereq: rpm = %%{rpm_version} to rpm-*
  817. * Fri Nov 15 2002 Tomoya TAKA <taka@vinelinux.org> 4.0.4-18vl3
  818. - add --with-pic to ./configure on alpha
  819. - echo notice in %%post
  820. * Sun Nov 10 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl2
  821. - added Source100 (Japanese message catalogue file)
  822. * Sun Nov 10 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl1
  823. - added Patch102 to get correct "provides" information
  824. (for objdump in newer binutils may have translated message catalogues)
  825. * Sat Nov 09 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.4-18vl0
  826. - first attempt for rpm-4.0.4 on Vine Linux
  827. - based on rpm-4.0.4-7x.18 from Red Hat Linux 7.3
  828. - /usr/src/redhat -> /usr/src/vine
  829. - use built rpm binary, not preinstalled rpm, when compiling perl module
  830. - FIXME: more patches and japanese translations would be needed
  831. * Thu Apr 18 2002 Jeff Johnson <jbj@redhat.com>
  832. - fix: queries that evaluated to "" incorrectly returned NULL.
  833. * Thu Apr 11 2002 Jeff Johnson <jbj@redhat.com>
  834. - fix: generate config file md5 as ascii, not binary (#62542).
  835. * Fri Apr 5 2002 Jeff Johnson <jbj@redhat.com>
  836. - non-glibc: on upgrade, mergesort is much faster than quicksort.
  837. * Thu Apr 4 2002 Jeff Johnson <jbj@redhat.com>
  838. - speedup large queries by ~50%.
  839. - revert to presentation ordering Yet Again (#62158).
  840. * Wed Mar 27 2002 Jeff Johnson <jbj@redhat.com>
  841. - fix: look for "/path" in Providename as well as Basenames (#59665).
  842. - fix: avoid /dev/log installation more carefully (#62012).
  843. - fix: don't compile beecrypt java bindings (#61992).
  844. - solaris: save main() envp in global environ for use with gpg.
  845. - don't add empty md5 strings to Filemd5's index.
  846. - create Filemd5 index with binary, not ascii, keys.
  847. * Fri Mar 22 2002 Jeff Johnson <jbj@redhat.com>
  848. - fix: make sure that .rpmsave files are created (#57078).
  849. * Mon Mar 18 2002 Jeff Johnson <jbj@redhat.com>
  850. - fix: one-step-too-far when searching added package provides (#61388).
  851. - fix: avoid libio misconfiguration with bleeding edge glibc.
  852. - fix: add quotes around [:blank:] in linux find-provides.
  853. - make --addsign and --resign behave exactly the same.
  854. - *really* dump signature header immutable region.
  855. - fix: don't overflow result buffer if gpg/pgp gives copious output.
  856. * Fri Mar 15 2002 Jeff Johnson <jbj@redhat.com>
  857. - re-enable FD_CLOEXEC, the problem is in zlib through mmap.
  858. - add toy python callbacks for payload unpacking failure(s).
  859. * Wed Feb 13 2002 Jeff Johnson <jbj@redhat.com>
  860. - don't do close-on-exec, 2 powertools packages cannot be read when doing.
  861. - reapply Berkeley DB patch #4491.
  862. * Thu Feb 7 2002 Jeff Johnson <jbj@redhat.com>
  863. - rpm-4.0.4 release candidate.
  864. - add cpanflute2, another perl.req fiddle.
  865. - another cpanflute2 patch.
  866. * Mon Feb 4 2002 Jeff Johnson <jbj@redhat.com>
  867. - generate index for pkgid (aka Sigmd5) tag, query/verify by pkgid.
  868. - generate index for hdrid (aka Sha1header) tag, query/verify by hdrid.
  869. - generate index for fileid (aka Filemd5s) tag, query/verify by fileid.
  870. - query/verify by install transaction id.
  871. * Sun Feb 3 2002 Jeff Johnson <jbj@redhat.com>
  872. - transaction rollbacks are functional.
  873. * Sat Feb 2 2002 Jeff Johnson <jbj@redhat.com>
  874. - fix: drop header region when writing repackaged legacy header.
  875. - bail on %%files macro.
  876. * Fri Feb 1 2002 Jeff Johnson <jbj@redhat.com>
  877. - macro for %%files, always include %%defattr(), redhat config only.
  878. * Thu Jan 31 2002 Jeff Johnson <jbj@redhat.com>
  879. - permit args to be hidden within %%__find_{requires,provides}.
  880. - a couple more perl.{prov,req} fiddles.
  881. * Wed Jan 30 2002 Jeff Johnson <jbj@redhat.com>
  882. - legacy: configurable whiteout for known Red Hat dependency loops.
  883. - perl.req: don't mis-generate dependencies like perl(::path/to/foo.pl).
  884. - use chainsaw algorithm for dependency tree decimation when ordering.
  885. * Tue Jan 29 2002 Jeff Johnson <jbj@redhat.com>
  886. - transaction rollback code in rpmRollback().
  887. - Red Hat 6.2 portability cruft.
  888. * Sun Jan 27 2002 Jeff Johnson <jbj@redhat.com>
  889. - fix: fancy hash fiddles if not a tty.
  890. - fix: handle /.../ correctly in rpmCleanPath().
  891. * Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com>
  892. - fix: %%exclude functional (again).
  893. - trap SIGILL for ppc64 inline asm voodoo fix from cross-dressed ppc32.
  894. - rpm-perl: force numeric comparison on rpm version (#58882).
  895. * Tue Jan 22 2002 Jeff Johnson <jbj@redhat.com>
  896. - fix: query format qualifiers needed header.c merge.
  897. - ppc64 arch added (#58634,#58636).
  898. - turn on auto-generated perl requirements (#58519, #58536, #58537).
  899. - add internal (customized) version of zlib.
  900. * Mon Jan 21 2002 Jeff Johnson <jbj@redhat.com>
  901. - sync rpmdb and build with rpm-4.1, lots of splint annotations.
  902. - add :armor and :base64 query format qualifiers for binary signatures.
  903. * Sat Jan 19 2002 Jeff Johnson <jbj@redhat.com>
  904. - use beecrypt routines to calculate digests in rpm.
  905. - dump legacy support for broken md5 signatures.
  906. - sync popt and rpmio with rpm-4.1, rpmio has OpenPGP API.
  907. * Thu Jan 17 2002 Jeff Johnson <jbj@redhat.com>
  908. - missing key(s) on keyring when verifying a signature is now an error.
  909. - remove dependency whiteout.
  910. - calculate rpm-4.1 ordering/orientation metrics in rpmdepOrder().
  911. * Fri Jan 11 2002 Jeff Johnson <jbj@redhat.com>
  912. - permit subset installs for %%lang colored hardlink file sets.
  913. * Thu Jan 10 2002 Jeff Johnson <jbj@redhat.com>
  914. - fix: signing multiple times dinna work, discard immutable region.
  915. - remove poptmodule.so for separate packaging.
  916. * Wed Jan 9 2002 Jeff Johnson <jbj@redhat.com>
  917. - permit gpg/pgp/pgp5 execs to be reconfigured.
  918. * Tue Jan 8 2002 Jeff Johnson <jbj@redhat.com>
  919. - use db-4.0.14 final internally.
  920. - make rpm-perl package self-hosting (#57748).
  921. * Mon Jan 7 2002 Jeff Johnson <jbj@redhat.com>
  922. - Depends should use CDB if configured.
  923. - autodetect python 1.5/2.2.
  924. * Sun Jan 6 2002 Jeff Johnson <jbj@redhat.com>
  925. - handle lazy db open's in chroot with absolute path, not prefix strip.
  926. * Sat Jan 5 2002 Jeff Johnson <jbj@redhat.com>
  927. - sparc: make dbenv per-rpmdb, not per-dbi.
  928. * Thu Dec 20 2001 Jeff Johnson <jbj@redhat.com>
  929. - tru64 compiler message cleanup.
  930. - add buildarch lines for hppa (#57728).
  931. * Wed Dec 19 2001 Jeff Johnson <jbj@redhat.com>
  932. - look for PY_VERSION 2.2c1.
  933. - fix: typo in find-requires.
  934. * Sun Dec 9 2001 Jeff Johnson <jbj@redhat.com>
  935. - solaris: translate i86pc to i386 (#57182).
  936. - fix: %%GNUconfigure breaks with single quotes (#57264).
  937. * Mon Dec 3 2001 Jeff Johnson <jbj@redhat.com>
  938. - rpm-4.0.4 started.
  939. - turn off rpm-perl until it's self-hosting.
  940. - jigger up rpm-python with python-2.2b2 for now.
  941. - remove libtoolize from %%configure for now (#57039).
  942. - teach find-requires to autogenerate GCC_3.0 dependencies.