[libdigidocpp] RPM 4.9 dependency filtering added
Petr Sabata
psabata at fedoraproject.org
Fri Jul 22 11:21:33 UTC 2011
commit ecf149f2bcf886bac67c1a2f6350436b30a84d47
Author: Petr Pisar <ppisar at redhat.com>
Date: Fri Jul 22 13:09:03 2011 +0200
RPM 4.9 dependency filtering added
libdigidocpp.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
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 <ppisar at redhat.com> - 0.3.0-10
+- RPM 4.9 dependency filtering added
+
* Mon Jun 20 2011 Petr Sabata <contyk at redhat.com> - 0.3.0-9
- Perl mass rebuild
- Removing now obsolete Buildroot and defattr
More information about the scm-commits
mailing list