forked from pool/python-distutils-extra
- Specfile cleanup:
* SPDX-style license (GPL-2.0) * Remove %clean section (sane default) * Simpler macro usage * No authors in description OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
936e1f0a8f
commit
bbbd92b0b1
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 11:31:12 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Specfile cleanup:
|
||||
* SPDX-style license (GPL-2.0)
|
||||
* Remove %clean section (sane default)
|
||||
* Simpler macro usage
|
||||
* No authors in description
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 11 16:51:38 UTC 2010 - rwobben@hotmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-distutils-extra (Version 2.22)
|
||||
# spec file for package python-distutils-extra
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,21 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: python-distutils-extra
|
||||
Version: 2.23
|
||||
Release: 1
|
||||
Release: 0
|
||||
Summary: Distutils/Setuptools Adapter
|
||||
Source: http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{version}.tar.gz
|
||||
Url: https://launchpad.net/python-distutils-extra
|
||||
License: GPL-2.0
|
||||
Group: Development/Libraries/Python
|
||||
License: GNU General Public License version 2 (GPL v2)
|
||||
Url: https://launchpad.net/python-distutils-extra
|
||||
Source: http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel python-setuptools
|
||||
%py_requires
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@@ -41,32 +41,18 @@ includes the follwing:
|
||||
* documentation
|
||||
* program icons
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Sebastian Heinlein <sebi@glatzor.de>
|
||||
|
||||
%prep
|
||||
%setup -q -n "%{name}-%{version}"
|
||||
#%__rm -rf debian/debian
|
||||
#%__mv debian/* .
|
||||
|
||||
%build
|
||||
%__python ./setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" \
|
||||
--record-rpm=files.lst
|
||||
python setup.py install --prefix="%{_prefix}" --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files -f files.lst
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE doc/*
|
||||
|
||||
# Local Variables:
|
||||
# mode: rpm-spec
|
||||
# tab-width: 3
|
||||
# End:
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user