#
# Conditional build:
%bcond_with static # build static rpm+rpmi
-%bcond_without apidocs # don't generate documentation with doxygen
+%bcond_with apidocs # don't generate documentation with doxygen
%bcond_with internal_db # internal db (db 4.5.20)
%bcond_with autoreqdep # autogenerate package name deps in addition to sonames/perl(X)
%bcond_without nptl # internal db: don't use process-shared POSIX mutexes (NPTL provides full interface)
%bcond_with neon # build with HTTP/WebDAV support (neon library). NOTE: neon libs are in /usr!
# versions of required libraries
-%define reqdb_pkg db4.5
-%define reqdb_ver 4.5.20
+%define reqdb_pkg db4.7
+%define reqdb_ver 4.7.25
%define reqpopt_ver 1.10.8
%define beecrypt_ver 2:4.1.2-4
%define sover 4.5
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 4.5
-Release: 72
+Release: 78
License: LGPL
Group: Base
Source0: %{name}-%{version}.tar.gz
Patch107: %{name}-debugedit-dwarf4.patch
Patch108: %{name}-changelog_order_check_nonfatal.patch
Patch109: %{name}-installplatform.patch
+Patch110: %{name}-xz.patch
URL: http://rpm5.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1.4
BuildRequires: glibc-static >= 2.2.94
%{?with_system_libmagic:BuildRequires: libmagic-static}
%{?with_selinux:BuildRequires: libselinux-static >= 1.18}
+BuildRequires: ossp-uuid-static >= 1.6.2-8
BuildRequires: popt-static >= %{reqpopt_ver}
BuildRequires: zlib-static >= 1.2.3.3
%endif
Summary(uk.UTF-8): Скрипти та утиліти, необхідні для побудови пакетів
Group: Applications/File
Requires(pretrans): findutils
-Requires: %{name}-build-macros >= 1.636
+Requires: %{name}-build-macros >= 1.656
Requires: %{name}-utils = %{version}-%{release}
Requires: /bin/id
Requires: awk
%patch107 -p1
%patch108 -p1
%patch109 -p1
+%patch110 -p1
mv -f po/{sr,sr@Latn}.po
rm -rf sqlite zlib popt
%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/RPM.pm
%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/RPM/.packlist
-%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/RPM/RPM.bs
+#%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/RPM/RPM.bs
%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/RPM/RPM.so
%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/RPM.3pm
%{__rm} $RPM_BUILD_ROOT%{_mandir}/{,ja,pl}/man8/rpm{cache,graph}.8