14
0
forked from pool/python-xattr

- Update to version 0.6.2:

* Bug fix in Solaris support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=5
This commit is contained in:
Sascha Peilicke
2011-09-23 10:32:51 +00:00
committed by Git OBS Bridge
parent 7b75e63554
commit 79a81b8756
4 changed files with 14 additions and 13 deletions

View File

@@ -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

View File

@@ -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}/*

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069
size 14585

3
xattr-0.6.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b97d0ba4b3e537ba754dff9483f6b42640663f9c6c18f9380f13fa490916af40
size 14882