[python-iwlib] get rid of private-shared-object-provides rpmlint warning
Jiří Popelka
jpopelka at fedoraproject.org
Mon Jan 31 14:44:42 UTC 2011
commit ae3be6cb6987e28a1af5eb5f184d9759a6919706
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Mon Jan 31 15:44:10 2011 +0100
get rid of private-shared-object-provides rpmlint warning
python-iwlib.spec | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/python-iwlib.spec b/python-iwlib.spec
index ca9fd5b..a01abe9 100644
--- a/python-iwlib.spec
+++ b/python-iwlib.spec
@@ -1,7 +1,12 @@
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$
+%filter_setup
+}
+
Summary: Wireless settings python bindings
Name: python-iwlib
Version: 0.1
-Release: 4%{?dist}
+Release: 5%{?dist}
URL: http://git.fedorahosted.org/git/python-iwlib.git
Source: http://fedorahosted.org/released/python-iwlib/%{name}-%{version}.tar.bz2
License: GPLv2
@@ -9,7 +14,6 @@ Group: System Environment/Libraries
BuildRequires: python2-devel
BuildRequires: wireless-tools-devel
Requires: wireless-tools
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Python bindings for the iwlib kernel interface,
@@ -28,9 +32,6 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
chmod 755 %{buildroot}%{python_sitearch}/iwlib.so
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root)
%doc COPYING
@@ -38,6 +39,9 @@ rm -rf %{buildroot}
%{python_sitearch}/*.egg-info
%changelog
+* Mon Jan 31 2011 Jiri Popelka <jpopelka at redhat.com> - 0.1-5
+- get rid of private-shared-object-provides rpmlint warning
+
* Fri Aug 06 2010 Jiri Popelka <jpopelka at redhat.com> - 0.1-4
- drop excludearch s390, s390x
- drop python_sitearch, python_ver macros definition
More information about the scm-commits
mailing list