]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.spec
- versioned Provides rpmbuild(find_lang)
[packages/rpm.git] / rpm.spec
index d39db1ace53f20cb36eef77c17f85910a2b7bacc..d7701e649e2aedcb874cfac64bcbb4ae15ddabc2 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -47,11 +47,11 @@ Summary(ru.UTF-8):  Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.0
-Release:       0.1
+Release:       0.3
 License:       GPL
 Group:         Base
-Source0:       %{name}-20070927.tar.gz
-# Source0-md5: cf0bda3a41b74d68b36ef078edfafc6d
+Source0:       %{name}-20071029.tar.bz2
+# Source0-md5: 572527ed1757842b2d8cb264473d2dea
 Source1:       %{name}.groups
 Source2:       %{name}.platform
 Source3:       %{name}-install-tree
@@ -86,7 +86,7 @@ Source110:    %{name}-macros-ia32e
 Source111:     %{name}-macros-amd64
 
 Patch0:                %{name}-pl.po.patch
-
+Patch1:                %{name}-man_pl.patch
 Patch3:                %{name}-rpmpopt.patch
 Patch4:                %{name}-perl-macros.patch
 Patch5:                %{name}-perl-req-perlfile.patch
@@ -103,7 +103,6 @@ Patch18:    %{name}-perl_req.patch
 
 Patch23:       %{name}-pkgconfigdeps.patch
 
-Patch25:       %{name}-rpm2cpio-payload.patch
 Patch26:       %{name}-notsc.patch
 Patch27:       %{name}-hack-norpmlibdep.patch
 
@@ -477,6 +476,7 @@ Requires:   sed
 Requires:      sh-utils
 Requires:      tar
 Requires:      textutils
+Provides:      rpmbuild(find_lang) = 1.23
 Provides:      rpmbuild(monoautodeps)
 Provides:      rpmbuild(noauto) = 3
 %ifarch %{x8664}
@@ -608,15 +608,10 @@ Python para manipular pacotes e bancos de dados RPM.
 
 %prep
 %setup -q -n %{name}
-sed -i -e 's# no # nb #g' configure.ac
-mv po/no.po po/nb.po
-sed -i -e 's# sr # sr@Latn #g' configure.ac
-mv -f po/{sr,sr@Latn}.po
-
-sed -i -e 's#${prefix}/lib/python@WITH_PYTHON_VERSION@#@WITH_PYTHON_LIBDIR@#g' python/rpm/Makefile.am
 
 # APPLIED ALREADY?
 #%patch0 -p1
+%patch1 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
@@ -641,7 +636,7 @@ install %{SOURCE9} scripts/php.prov.in
 install %{SOURCE10} scripts/php.req.in
 install %{SOURCE12} scripts/perl.prov
 %patch23 -p1
-%patch25 -p1
+
 %ifarch i386 i486
 # disable TSC
 %patch26 -p1
@@ -718,8 +713,8 @@ awk -f %{SOURCE6} %{SOURCE1}
        --with-db=%{?with_db:external}%{!?with_db:no} \
        --with-sqlite=%{?with_sqlite:external}%{!?with_sqlite:no} \
        --with-dbapi=%{!?sqlite_dbapi:db}%{?sqlite_dbapi:sqlite} \
-       --with-lua=none \
-       --with-pcre=external \
+       --with-lua=internal \
+       --with-pcre=no \
        --with-keyutils=none \
        --without-path-versioned \
        --with-path-macros='%{_rpmlibdir}/macros:%{_rpmlibdir}/macros.pld:%{_rpmlibdir}/macros.build:%{_rpmlibdir}/%%{_target}/macros:%{_sysconfdir}/macros.*:%{_sysconfdir}/macros:%{_sysconfdir}/%%{_target}/macros:~/etc/rpmmacros:~/etc/.rpmmacros:~/.rpmmacros' \
@@ -1044,8 +1039,12 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
 %{_pkgconfigdir}/*.pc
 %attr(755,root,root) %{_libdir}/librpm.so
 %attr(755,root,root) %{_libdir}/librpm-%{sover}.so
+%attr(755,root,root) %{_libdir}/librpmconstant.so
+%attr(755,root,root) %{_libdir}/librpmconstant-%{sover}.so
 %attr(755,root,root) %{_libdir}/librpmio.so
 %attr(755,root,root) %{_libdir}/librpmio-%{sover}.so
+%attr(755,root,root) %{_libdir}/librpmmisc.so
+%attr(755,root,root) %{_libdir}/librpmmisc-%{sover}.so
 %attr(755,root,root) %{_libdir}/librpmdb.so
 %attr(755,root,root) %{_libdir}/librpmdb-%{sover}.so
 %attr(755,root,root) %{_libdir}/librpmbuild.so
This page took 0.041818 seconds and 4 git commands to generate.