rpm-vl.spec 40 KB

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