diff --git a/python-xattr.changes b/python-xattr.changes index ea2904b..8e36baa 100644 --- a/python-xattr.changes +++ b/python-xattr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 23 10:29:22 UTC 2011 - saschpe@suse.de + +- Update to version 0.6.2: + * Bug fix in Solaris support + ------------------------------------------------------------------- Tue May 31 12:50:15 UTC 2011 - saschpe@suse.de diff --git a/python-xattr.spec b/python-xattr.spec index 4522cae..873392d 100644 --- a/python-xattr.spec +++ b/python-xattr.spec @@ -17,20 +17,19 @@ Name: python-xattr -Version: 0.6.1 +Version: 0.6.2 Release: 0 Url: http://undefined.org/python/#xattr Summary: Python wrapper for extended filesystem attributes License: MIT/X11 Group: Development/Languages/Python -Source: xattr-0.6.1.tar.gz +Source: xattr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute %if 0%{?suse_version} %py_requires %endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description @@ -43,21 +42,17 @@ and Linux 2.6+. Experimental support is included for Solaris and FreeBSD. %prep %setup -q -n xattr-%{version} +sed -i "1d" xattr/tool.py # Fix executable-bit rpmlint warning %build -export CFLAGS="%{optflags}" -python setup.py build +CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -chmod 0755 %{buildroot}%{python_sitearch}/xattr/tool.py # Fix executable-bit rpmlint warning - -%clean -rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt +%doc CHANGES.txt LICENSE.txt README.txt TODO.txt %{_bindir}/xattr %{python_sitearch}/* diff --git a/xattr-0.6.1.tar.gz b/xattr-0.6.1.tar.gz deleted file mode 100644 index 17d801c..0000000 --- a/xattr-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069 -size 14585 diff --git a/xattr-0.6.2.tar.gz b/xattr-0.6.2.tar.gz new file mode 100644 index 0000000..e2a7889 --- /dev/null +++ b/xattr-0.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b97d0ba4b3e537ba754dff9483f6b42640663f9c6c18f9380f13fa490916af40 +size 14882