From ecf149f2bcf886bac67c1a2f6350436b30a84d47 Mon Sep 17 00:00:00 2001 From: Petr Pisar Date: Jul 22 2011 11:20:50 +0000 Subject: RPM 4.9 dependency filtering added --- diff --git a/libdigidocpp.spec b/libdigidocpp.spec index 95de474..b57835b 100644 --- a/libdigidocpp.spec +++ b/libdigidocpp.spec @@ -11,7 +11,7 @@ Name: libdigidocpp Version: 0.3.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Library for creating and validating BDoc and DDoc containers Group: System Environment/Libraries @@ -93,8 +93,11 @@ Obsoletes: %{name}-php < 0.3.0-1 Provides: %{name}-php = %{version}-%{release} # Don't want provides for php shared objects +# RPM 4.8 style %{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$} %{?filter_setup} +# RPM 4.9 style +%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$ %description -n php-digidoc The php-digidoc package contains PHP bindings for the %{name} library. @@ -110,8 +113,11 @@ Obsoletes: %{name}-python < 0.3.0-1 Provides: %{name}-python = %{version}-%{release} # Don't want provides for python shared objects +# RPM 4.8 style %{?filter_provides_in: %filter_provides_in %{python_sitearch}/.*\.so$} %{?filter_setup} +# RPM 4.9 style +%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{python_sitearch}/.*\\.so$ %description -n python-digidoc The python-digidoc package contains Python bindings for the %{name} @@ -177,6 +183,9 @@ make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} %changelog +* Fri Jul 22 2011 Petr Pisar - 0.3.0-10 +- RPM 4.9 dependency filtering added + * Mon Jun 20 2011 Petr Sabata - 0.3.0-9 - Perl mass rebuild - Removing now obsolete Buildroot and defattr