Accepting request 48063 from devel:languages:python
Copy from devel:languages:python/python-configobj based on submit request 48063 from user coolo OBS-URL: https://build.opensuse.org/request/show/48063 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configobj?expand=0&rev=4
This commit is contained in:
parent
cc0fe1d65d
commit
db794e66c2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ca09e5a308eaec07749eb74d772f6263dc9d7b7e76787b8c1fb986d34d323803
|
|
||||||
size 171350
|
|
3
configobj-4.7.2.zip
Normal file
3
configobj-4.7.2.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:332a0d20d4d736d521d95cb2cf069b1ac7c858985207db4296f4050396558c49
|
||||||
|
size 143618
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 22:07:25 CEST 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 4.7.2:
|
||||||
|
+ BUGFIX: Restore Python 2.3 compatibility
|
||||||
|
+ BUGFIX: Members that were lists were being returned as copies
|
||||||
|
due to interpolation introduced in 4.7. Lists are now only
|
||||||
|
copies if interpolation changes a list member.
|
||||||
|
+ BUGFIX: pop now does interpolation in list values as well.
|
||||||
|
+ BUGFIX: where interpolation matches a section name rather
|
||||||
|
than a value it is ignored instead of raising an exception on
|
||||||
|
fetching the item.
|
||||||
|
+ BUGFIX: values that use interpolation to reference members
|
||||||
|
that don't exist can now be repr'd.
|
||||||
|
+ BUGFIX: Fix to avoid writing '\r\r\n' on Windows when given a
|
||||||
|
file opened in text write mode ('w').
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 20 20:24:28 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 4.7.1
|
||||||
|
- split out -docs subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 27 18:22:00 CEST 2007 - peter+rpmspam@suntel.com.tr
|
Sun May 27 18:22:00 CEST 2007 - peter+rpmspam@suntel.com.tr
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-configobj (Version 4.4.0)
|
# spec file for package python-configobj (Version 4.7.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -21,13 +21,16 @@
|
|||||||
Name: python-configobj
|
Name: python-configobj
|
||||||
BuildRequires: python-devel unzip
|
BuildRequires: python-devel unzip
|
||||||
Summary: ConfigObj is a simple but powerful config file reader and writer
|
Summary: ConfigObj is a simple but powerful config file reader and writer
|
||||||
Version: 4.4.0
|
Version: 4.7.2
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: configobj-%{version}.zip
|
Source: http://configobj.googlecode.com/files/configobj-%{version}.zip
|
||||||
Url: http://www.voidspace.org.uk/python/configobj.html
|
Url: http://www.voidspace.org.uk/python/configobj.html
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
%{py_requires}
|
%{py_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,21 +52,37 @@ It has lots of other features though :
|
|||||||
* Full Unicode support
|
* Full Unicode support
|
||||||
* A powerful unrepr mode for storing basic datatypes
|
* A powerful unrepr mode for storing basic datatypes
|
||||||
|
|
||||||
|
%package docs
|
||||||
|
License: BSD
|
||||||
|
Summary: ConfigObj Documentation
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description docs
|
||||||
|
Documentation for the ConfigObj Python library, see
|
||||||
|
%{_docdir}/%{name}/
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n configobj-%{version}
|
%setup -q -n configobj-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
python setup.py build
|
%__python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
%__python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||||
|
|
||||||
|
%__install -d "%{buildroot}%{_docdir}/%{name}"
|
||||||
|
%__cp -r docs/* "%{buildroot}%{_docdir}/%{name}/"
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files -f INSTALLED_FILES
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc docs/* CONFIGOBJ_CHANGELOG_TODO.txt
|
|
||||||
|
%files docs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_docdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user