Protect sq->reaped with sighold and sigrelease.
[platform/upstream/rpm.git] / rpm.spec.in
1 %define with_python_subpackage  @WITH_PYTHON_SUBPACKAGE@%{nil}
2 %define with_python_version     @WITH_PYTHON_VERSION@%{nil}
3 %define with_bzip2              @WITH_BZIP2@%{nil}
4 %define with_apidocs            @WITH_APIDOCS@%{nil}
5
6 # XXX legacy requires './' payload prefix to be omitted from rpm packages.
7 %define _noPayloadPrefix        1
8
9 %define __prefix        /usr
10 %{?!_lib: %define _lib lib}
11 %{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
12
13 %define __bindir        %{__prefix}/bin
14 %define __includedir    %{__prefix}/include
15 %define __libdir        %{__prefix}/%{_lib}
16 %define __mandir        %{__prefix}%{__share}/man
17
18 Summary: The RPM package management system.
19 Name: rpm
20 %define version @VERSION@
21 Version: %{version}
22 %{expand: %%define rpm_version %{version}}
23 Release: 0.13
24 Group: System Environment/Base
25 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
26 License: GPL
27 Conflicts: patch < 2.5
28 %ifos linux
29 Prereq: fileutils shadow-utils
30 %endif
31 Requires: popt = 1.9
32 Obsoletes: rpm-perl < %{version}
33
34 # XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
35 BuildRequires: elfutils-libelf
36 BuildRequires: elfutils-devel
37
38 BuildRequires: zlib-devel
39
40 BuildRequires: beecrypt-devel >= 3.0.1
41 Requires: beecrypt >= 3.0.1
42
43 # XXX Red Hat 5.2 has not bzip2 or python
44 %if %{with_bzip2}
45 BuildRequires: bzip2 >= 0.9.0c-2
46 %endif
47 %if %{with_python_subpackage}
48 BuildRequires: python-devel >= %{with_python_version}
49 %endif
50
51 BuildRoot: %{_tmppath}/%{name}-root
52
53 %description
54 The RPM Package Manager (RPM) is a powerful command line driven
55 package management system capable of installing, uninstalling,
56 verifying, querying, and updating software packages. Each software
57 package consists of an archive of files along with information about
58 the package like its version, a description, etc.
59
60 %package devel
61 Summary:  Development files for manipulating RPM packages.
62 Group: Development/Libraries
63 Requires: rpm = %{rpm_version}
64
65 %description devel
66 This package contains the RPM C library and header files. These
67 development files will simplify the process of writing programs that
68 manipulate RPM packages and databases. These files are intended to
69 simplify the process of creating graphical package managers or any
70 other tools that need an intimate knowledge of RPM packages in order
71 to function.
72
73 This package should be installed if you want to develop programs that
74 will manipulate RPM packages and databases.
75
76 %package build
77 Summary: Scripts and executable programs used to build packages.
78 Group: Development/Tools
79 Requires: rpm = %{rpm_version}, patch >= 2.5, file
80 Provides: rpmbuild(VendorConfig) = 4.1-1
81
82 %description build
83 The rpm-build package contains the scripts and executable programs
84 that are used to build packages using the RPM Package Manager.
85
86 %if %{with_python_subpackage}
87 %package python
88 Summary: Python bindings for apps which will manipulate RPM packages.
89 Group: Development/Libraries
90 Requires: rpm = %{rpm_version}
91 Requires: python >= %{with_python_version}
92 Requires: elfutils >= 0.55
93
94 %description python
95 The rpm-python package contains a module that permits applications
96 written in the Python programming language to use the interface
97 supplied by RPM Package Manager libraries.
98
99 This package should be installed if you want to develop Python
100 programs that will manipulate RPM packages and databases.
101 %endif
102
103 %package -n popt
104 Summary: A C library for parsing command line parameters.
105 Group: Development/Libraries
106 Version: 1.9
107
108 %description -n popt
109 Popt is a C library for parsing command line parameters. Popt was
110 heavily influenced by the getopt() and getopt_long() functions, but it
111 improves on them by allowing more powerful argument expansion. Popt
112 can parse arbitrary argv[] style arrays and automatically set
113 variables based on command line arguments. Popt allows command line
114 arguments to be aliased via configuration files and includes utility
115 functions for parsing arbitrary strings into argv[] arrays using
116 shell-like rules.
117
118 %prep
119 %setup -q
120
121 %build
122
123 # XXX rpm needs functioning nptl for configure tests
124 unset LD_ASSUME_KERNEL || :
125
126 %if %{with_python_subpackage}
127 WITH_PYTHON="--with-python=%{with_python_version}"
128 %else
129 WITH_PYTHON="--without-python"
130 %endif
131
132 %ifos linux
133 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
134 ./configure --prefix=%{__prefix} --sysconfdir=/etc \
135         --localstatedir=/var --infodir='${prefix}%{__share}/info' \
136         --mandir='${prefix}%{__share}/man' \
137         $WITH_PYTHON --enable-posixmutexes --without-javaglue
138 %else
139 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
140         --without-javaglue
141 %endif
142
143 make %{_smp_mflags}
144
145 %install
146 # XXX rpm needs functioning nptl for configure tests
147 unset LD_ASSUME_KERNEL || :
148
149 rm -rf $RPM_BUILD_ROOT
150
151 make DESTDIR="$RPM_BUILD_ROOT" install
152
153 %ifos linux
154
155 # Save list of packages through cron
156 mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
157 install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
158
159 mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
160 install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
161
162 mkdir -p $RPM_BUILD_ROOT/etc/rpm
163
164 mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
165 mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
166 for dbi in \
167         Basenames Conflictname Dirnames Group Installtid Name Packages \
168         Providename Provideversion Requirename Requireversion Triggername \
169         Filemd5s Pubkeys Sha1header Sigmd5 \
170         __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
171         __db.008 __db.009
172 do
173     touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
174 done
175
176 %endif
177
178 %if %{with_apidocs}
179 gzip -9n apidocs/man/man*/* || :
180 %endif
181
182 # Get rid of unpackaged files
183 { cd $RPM_BUILD_ROOT
184   rm -rf .%{__includedir}/beecrypt
185   rm -f .%{__libdir}/libbeecrypt.{a,la,so.2.2.0}
186   rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
187   rm -rf .%{__mandir}/{fr,ko}
188 }
189
190 %clean
191 rm -rf $RPM_BUILD_ROOT
192
193 %pre
194 %ifos linux
195 if [ -f /var/lib/rpm/packages.rpm ]; then
196     echo "
197 You have (unsupported)
198         /var/lib/rpm/packages.rpm       db1 format installed package headers
199 Please install rpm-4.0.4 first, and do
200         rpm --rebuilddb
201 to convert your database from db1 to db3 format.
202 "
203     exit 1
204 fi
205 /usr/sbin/groupadd -g 37 @RPMGROUP@                             > /dev/null 2>&1
206 /usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 @RPMUSER@ -s /sbin/nologin    > /dev/null 2>&1
207 %endif
208 exit 0
209
210 %post
211 %ifos linux
212 /sbin/ldconfig
213
214 # Establish correct rpmdb ownership.
215 /bin/chown @RPMUSER@.@RPMGROUP@ /var/lib/rpm/[A-Z]*
216
217 # XXX Detect (and remove) incompatible dbenv files during db-4.2.52 upgrade.
218 # XXX Removing dbenv files in %%post opens a lock race window, a tolerable
219 # XXX risk compared to the support issues involved with upgrading Berkeley DB.
220 [ -w /var/lib/rpm/__db.001 ] &&
221 /usr/lib/rpm/rpmdb_stat -CA -h /var/lib/rpm 2>&1 |
222 grep "db_stat: Program version 4.2 doesn't match environment version" 2>&1 > /dev/null &&
223         rm -f /var/lib/rpm/__db*
224                                                                                 
225 %endif
226 exit 0
227
228 %ifos linux
229 %postun
230 /sbin/ldconfig
231 if [ $1 = 0 ]; then
232     /usr/sbin/userdel @RPMUSER@
233     /usr/sbin/groupdel @RPMGROUP@
234 fi
235 exit 0
236
237 %post devel -p /sbin/ldconfig
238 %postun devel -p /sbin/ldconfig
239
240 %post -n popt -p /sbin/ldconfig
241 %postun -n popt -p /sbin/ldconfig
242 %endif
243
244 %if %{with_python_subpackage}
245 %post python -p /sbin/ldconfig
246 %postun python -p /sbin/ldconfig
247 %endif
248
249 %define rpmattr         %attr(0755, @RPMUSER@, @RPMGROUP@)
250
251 %files
252 %defattr(-,root,root)
253 %doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
254 # XXX comment these lines out if building with rpm that knows not %pubkey attr
255 %pubkey RPM-PGP-KEY
256 %pubkey RPM-GPG-KEY
257 %pubkey BETA-GPG-KEY
258 %attr(0755, @RPMUSER@, @RPMGROUP@)      /bin/rpm
259
260 %ifos linux
261 %config(noreplace,missingok)    /etc/cron.daily/rpm
262 %config(noreplace,missingok)    /etc/logrotate.d/rpm
263 %dir                            /etc/rpm
264 #%config(noreplace,missingok)   /etc/rpm/macros.*
265 %attr(0755, @RPMUSER@, @RPMGROUP@)      %dir /var/lib/rpm
266 %attr(0755, @RPMUSER@, @RPMGROUP@)      %dir /var/spool/repackage
267
268 %define rpmdbattr %attr(0644, @RPMUSER@, @RPMGROUP@) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
269 %rpmdbattr      /var/lib/rpm/*
270 %endif
271
272 %rpmattr        %{__bindir}/rpm2cpio
273 %rpmattr        %{__bindir}/gendiff
274 %rpmattr        %{__bindir}/rpmdb
275 #%rpmattr       %{__bindir}/rpm[eiu]
276 %rpmattr        %{__bindir}/rpmsign
277 %rpmattr        %{__bindir}/rpmquery
278 %rpmattr        %{__bindir}/rpmverify
279
280 %{__libdir}/librpm-@VERSION@.so
281 %{__libdir}/librpmdb-@VERSION@.so
282 %{__libdir}/librpmio-@VERSION@.so
283 %{__libdir}/librpmbuild-@VERSION@.so
284
285 %attr(0755, @RPMUSER@, @RPMGROUP@)      %dir %{__prefix}/lib/rpm
286 %rpmattr        %{__prefix}/lib/rpm/config.guess
287 %rpmattr        %{__prefix}/lib/rpm/config.sub
288 %rpmattr        %{__prefix}/lib/rpm/convertrpmrc.sh
289 %attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/macros
290 %rpmattr        %{__prefix}/lib/rpm/mkinstalldirs
291 %rpmattr        %{__prefix}/lib/rpm/rpm.*
292 %rpmattr        %{__prefix}/lib/rpm/rpm2cpio.sh
293 %rpmattr        %{__prefix}/lib/rpm/rpm[deiukqv]
294 %rpmattr        %{__prefix}/lib/rpm/tgpg
295 %attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/rpmpopt*
296 %attr(0644, @RPMUSER@, @RPMGROUP@)      %{__prefix}/lib/rpm/rpmrc
297
298 %ifarch i386 i486 i586 i686 athlon
299 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/i[3456]86*
300 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/athlon*
301 %endif
302 %ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
303 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/alpha*
304 %endif
305 %ifarch sparc sparcv9 sparc64
306 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/sparc*
307 %endif
308 %ifarch ia64
309 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/ia64*
310 %endif
311 %ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
312 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/ppc*
313 %endif
314 %ifarch s390 s390x
315 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/s390*
316 %endif
317 %ifarch armv3l armv4l
318 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/armv[34][lb]*
319 %endif
320 %ifarch mips mipsel
321 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/mips*
322 %endif
323 %ifarch x86_64
324 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/x86_64*
325 %endif
326 %attr(-, @RPMUSER@, @RPMGROUP@)         %{__prefix}/lib/rpm/noarch*
327
328 %rpmattr        %{__prefix}/lib/rpm/rpmdb_deadlock
329 %rpmattr        %{__prefix}/lib/rpm/rpmdb_dump
330 %rpmattr        %{__prefix}/lib/rpm/rpmdb_load
331 %rpmattr        %{__prefix}/lib/rpm/rpmdb_loadcvt
332 %rpmattr        %{__prefix}/lib/rpm/rpmdb_svc
333 %rpmattr        %{__prefix}/lib/rpm/rpmdb_stat
334 %rpmattr        %{__prefix}/lib/rpm/rpmdb_verify
335 %rpmattr        %{__prefix}/lib/rpm/rpmfile
336
337 %lang(cs)       %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
338 %lang(da)       %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
339 %lang(de)       %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
340 %lang(fi)       %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
341 %lang(fr)       %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
342 %lang(gl)       %{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
343 %lang(is)       %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
344 %lang(ja)       %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
345 %lang(ko)       %{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
346 %lang(no)       %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
347 %lang(pl)       %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
348 %lang(pt)       %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
349 %lang(pt_BR)    %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
350 %lang(ro)       %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
351 %lang(ru)       %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
352 %lang(sk)       %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
353 %lang(sl)       %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
354 %lang(sr)       %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
355 %lang(sv)       %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
356 %lang(tr)       %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
357
358 %{__mandir}/man1/gendiff.1*
359 %{__mandir}/man8/rpm.8*
360 %{__mandir}/man8/rpm2cpio.8*
361 %lang(ja)       %{__mandir}/ja/man[18]/*.[18]*
362 %lang(pl)       %{__mandir}/pl/man[18]/*.[18]*
363 %lang(ru)       %{__mandir}/ru/man[18]/*.[18]*
364 %lang(sk)       %{__mandir}/sk/man[18]/*.[18]*
365
366 %files build
367 %defattr(-,root,root)
368 %dir %{__prefix}/src/@RPMCANONVENDOR@
369 %dir %{__prefix}/src/@RPMCANONVENDOR@/BUILD
370 %dir %{__prefix}/src/@RPMCANONVENDOR@/SPECS
371 %dir %{__prefix}/src/@RPMCANONVENDOR@/SOURCES
372 %dir %{__prefix}/src/@RPMCANONVENDOR@/SRPMS
373 %dir %{__prefix}/src/@RPMCANONVENDOR@/RPMS
374 %{__prefix}/src/@RPMCANONVENDOR@/RPMS/*
375 %rpmattr        %{__bindir}/rpmbuild
376 %rpmattr        %{__prefix}/lib/rpm/brp-*
377 %rpmattr        %{__prefix}/lib/rpm/check-files
378 %rpmattr        %{__prefix}/lib/rpm/check-prereqs
379 %rpmattr        %{__prefix}/lib/rpm/config.site
380 %rpmattr        %{__prefix}/lib/rpm/cross-build
381 %rpmattr        %{__prefix}/lib/rpm/debugedit
382 %rpmattr        %{__prefix}/lib/rpm/find-debuginfo.sh
383 %rpmattr        %{__prefix}/lib/rpm/find-lang.sh
384 %rpmattr        %{__prefix}/lib/rpm/find-prov.pl
385 %rpmattr        %{__prefix}/lib/rpm/find-provides
386 %rpmattr        %{__prefix}/lib/rpm/find-provides.perl
387 %rpmattr        %{__prefix}/lib/rpm/find-req.pl
388 %rpmattr        %{__prefix}/lib/rpm/find-requires
389 %rpmattr        %{__prefix}/lib/rpm/find-requires.perl
390 %rpmattr        %{__prefix}/lib/rpm/get_magic.pl
391 %rpmattr        %{__prefix}/lib/rpm/getpo.sh
392 %rpmattr        %{__prefix}/lib/rpm/http.req
393 %rpmattr        %{__prefix}/lib/rpm/javadeps
394 %rpmattr        %{__prefix}/lib/rpm/magic
395 %rpmattr        %{__prefix}/lib/rpm/magic.mgc
396 %rpmattr        %{__prefix}/lib/rpm/magic.mime
397 %rpmattr        %{__prefix}/lib/rpm/magic.mime.mgc
398 %rpmattr        %{__prefix}/lib/rpm/magic.prov
399 %rpmattr        %{__prefix}/lib/rpm/magic.req
400 %rpmattr        %{__prefix}/lib/rpm/perldeps.pl
401 %rpmattr        %{__prefix}/lib/rpm/perl.prov
402 %rpmattr        %{__prefix}/lib/rpm/perl.req
403
404 %rpmattr        %{__prefix}/lib/rpm/rpm[bt]
405 %rpmattr        %{__prefix}/lib/rpm/rpmdeps
406 %rpmattr        %{__prefix}/lib/rpm/trpm
407 %rpmattr        %{__prefix}/lib/rpm/u_pkg.sh
408 %rpmattr        %{__prefix}/lib/rpm/vpkg-provides.sh
409 %rpmattr        %{__prefix}/lib/rpm/vpkg-provides2.sh
410
411 %{__mandir}/man8/rpmbuild.8*
412 %{__mandir}/man8/rpmdeps.8*
413
414 %if %{with_python_subpackage}
415 %files python
416 %defattr(-,root,root)
417 %{__libdir}/python%{with_python_version}/site-packages/rpmmodule.so
418 %{__libdir}/python%{with_python_version}/site-packages/rpmdb
419 %endif
420
421 %files devel
422 %defattr(-,root,root)
423 %if %{with_apidocs}
424 %doc @WITH_APIDOCS_TARGET@
425 %endif
426 %{__includedir}/rpm
427 %{__libdir}/librpm.a
428 %{__libdir}/librpm.la
429 %{__libdir}/librpm.so
430 %{__libdir}/librpmdb.a
431 %{__libdir}/librpmdb.la
432 %{__libdir}/librpmdb.so
433 %{__libdir}/librpmio.a
434 %{__libdir}/librpmio.la
435 %{__libdir}/librpmio.so
436 %{__libdir}/librpmbuild.a
437 %{__libdir}/librpmbuild.la
438 %{__libdir}/librpmbuild.so
439 %{__mandir}/man8/rpmcache.8*
440 %{__mandir}/man8/rpmgraph.8*
441 %rpmattr        %{__prefix}/lib/rpm/rpmcache
442 %rpmattr        %{__bindir}/rpmgraph
443
444 %files -n popt
445 %defattr(-,root,root)
446 %{__libdir}/libpopt.so.*
447 %{__mandir}/man3/popt.3*
448 %lang(cs)       %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
449 %lang(da)       %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
450 %lang(de)       %{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
451 %lang(es)       %{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
452 %lang(eu_ES)    %{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
453 %lang(fi)       %{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
454 %lang(fr)       %{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
455 %lang(gl)       %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
456 %lang(hu)       %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
457 %lang(id)       %{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
458 %lang(is)       %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
459 %lang(it)       %{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
460 %lang(ja)       %{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
461 %lang(ko)       %{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
462 %lang(no)       %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
463 %lang(pl)       %{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
464 %lang(pt)       %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
465 %lang(pt_BR)    %{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
466 %lang(ro)       %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
467 %lang(ru)       %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
468 %lang(sk)       %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
469 %lang(sl)       %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
470 %lang(sr)       %{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
471 %lang(sv)       %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
472 %lang(tr)       %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
473 %lang(uk)       %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
474 %lang(wa)       %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
475 %lang(zh)       %{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
476 %lang(zh_CN)    %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
477
478 # XXX These may end up in popt-devel but it hardly seems worth the effort.
479 %{__libdir}/libpopt.a
480 %{__libdir}/libpopt.la
481 %{__libdir}/libpopt.so
482 %{__includedir}/popt.h
483
484 %changelog
485 * Mon Mar  1 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.17
486 - permit globs in macrofiles: directive (#117217).
487
488 * Wed Feb 25 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.15
489 - serialize rpmtsRun() using fcntl on /var/lock/rpm/transaction.
490
491 * Sun Feb 22 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.14
492 - add ia32e arch.
493 - stable sort for policy specifications, patterns before paths.
494 - set "rpm_script_t" exec type for scriptlets iff /bin/sh, else default.
495 - force FD_CLOEXEC on 1st 100 inherited fdno's.
496
497 * Fri Feb 20 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.13
498 - fix: only first "mkdir -p" directory had context set.
499                                                                                 
500 * Wed Feb 18 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.12
501 - python: add patch to rpm-4_3 to initialize RE contexts.
502
503 * Sun Feb 15 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.11
504 - fix: set fcontext from pkg when file_contexts doesn't exist (#114040).
505 - fix: set fcontext for "mkdir -p" directories not in packages.
506 - fix: setfiles (aka rpmsx.c) dinna handle patterns correctly.
507 - establish rpm_script_t before scriptlet exec.
508
509 * Wed Feb 11 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.10
510 - re-add --enable-posixmutexes to build.
511                                                                                 
512 * Mon Jan 19 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.9
513 - python: return None for NEVRAO, [] for everything else.
514
515 * Mon Jan 19 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.8
516 - python: return None for NEVRAO, [] for everything else.
517
518 * Mon Jan 12 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.7
519 - fix: handle files w/o contexts correctly.
520
521 * Mon Jan  5 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.6
522 - selinux phases 1 and 2 delivered.
523
524 * Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 4.3-0.5
525 - plug some rpmbuild memory leaks.
526 - file security contexts added to package header.
527
528 * Mon Dec 22 2003 Jeff Johnson <jbj@redhat.com> 4.3-0.4
529 - test build with methods needed for selinux.
530
531 * Wed Dec 17 2003 Jeff Johnson <jbj@jbj.org> 4.3-0.3
532 - detect (and remove) dbenv files while upgrading to db-4.2.52.
533 - fix: dangling pointer brain fart (#107835).
534 - fix: ds.Single() method needs malloc'd elements (#109919).
535
536 * Sun Dec  7 2003 Jeff Johnson <jbj@jbj.org> 4.3-0.2
537 - only internal Berkeley db from now on.
538 - revive "make dist".
539
540 * Wed Mar 19 2003 Jeff Johnson <jbj@redhat.com> 4.3-0.1
541 - upgrade to zlib-1.2.beta7.
542 - pass structure pointer, not args, through headerSprintf call chain.
543 - add ":xml" tag format modifier.
544 - --queryformat '[%%{*:xml}\n]' to dump header content in XML.
545 - fix: short option help missing string terminator.
546 - unify signal handling in librpmio, use condvar to deliver signal.