From 3d5ef644e5c7a241681578e69c4c34e8f293f0aa Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 8 Jun 2012 14:22:53 +0200 Subject: [PATCH] use rpm built-in filtering of provides (#830153) --- libpwquality.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libpwquality.spec b/libpwquality.spec index e9d145f..aab2830 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,7 +1,7 @@ Summary: A library for password generation and password quality checking Name: libpwquality Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} # The package is BSD licensed with option to relicense as GPL+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPL+ @@ -21,10 +21,7 @@ BuildRequires: python2-devel URL: http://libpwquality.fedorahosted.org/ # we don't want to provide private python extension libs -%{?filter_setup: -%filter_provides_in %{python_sitearch}/.*\.so$. -%filter_setup -} +%define __provides_exclude_from ^%{python_sitearch}/.*\.so$. %description This is a library for password quality checks and generation @@ -107,6 +104,9 @@ rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la %{python_sitearch}/pwquality.so %changelog +* Fri Jun 8 2012 Tomas Mraz 1.1.0-2 +- use rpm built-in filtering of provides (#830153) + * Thu May 24 2012 Tomas Mraz 1.1.0-1 - fix leak when throwing PWQError exception - added pkgconfig file