[python-icalendar] Update to 3.0b2

Stanislav Ochotnicky sochotni at fedoraproject.org
Fri Jun 8 07:02:11 UTC 2012


commit 0844128c19f80a94d220aa3f65f5ae11044e8c96
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed May 30 14:27:37 2012 +0200

    Update to 3.0b2
    
    Change license to BSD (see https://github.com/collective/icalendar/issues/2)

 .gitignore                      |    1 +
 python-icalendar-2.7-test.patch |   13 -----------
 python-icalendar.spec           |   43 ++++++++++++++------------------------
 sources                         |    2 +-
 4 files changed, 18 insertions(+), 41 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1311cfb..e70e62b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 icalendar-2.1.tar.gz
+/icalendar-3.0.1b2.tar.gz
diff --git a/python-icalendar.spec b/python-icalendar.spec
index 01ac945..aa44b82 100644
--- a/python-icalendar.spec
+++ b/python-icalendar.spec
@@ -1,26 +1,21 @@
-%if 0%{?fedora} < 13 && 0%{?rhel} < 6
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
+%global veradd b2
 
 Name:           python-icalendar
-Version:        2.1
-Release:        5%{?dist}
+Version:        3.0.1
+Release:        0.1%{?veradd:.%{veradd}}%{?dist}
 Summary:        Parser/generator of iCalendar files following the RFC 2445
 
 Group:          Development/Libraries
-# test.py is GPLv2
-# parser is GPL
-# doctest.py is Public Domain
-# rest is LGPLv2
-License:        LGPLv2 and GPLv2 and GPLv2+ and Public Domain
-URL:            http://codespeak.net/icalendar/
+License:        BSD
+URL:            http://pypi.python.org/pypi/icalendar
 # source releases are done on pypi (homepage states 1.2 as latest version)
-Source0:        http://pypi.python.org/packages/source/i/icalendar/icalendar-%{version}.tar.gz
-Patch0:         %{name}-2.7-test.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://pypi.python.org/packages/source/i/icalendar/icalendar-%{version}%{?veradd}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python2-devel,python-setuptools
+BuildRequires:  pytz
+
+Requires:       pytz
 
 %description
 iCalendar specification (RFC 2445) defines calendaring format used
@@ -31,34 +26,29 @@ The aim is to make a package that is fully compliant with RFC 2445,
 well designed, simple to use and well documented.
 
 %prep
-%setup -q -n icalendar-%{version}
-%patch0
-cp -R doc/ examples/
+%setup -q -n icalendar-%{version}%{?veradd}
 
 %build
 %{__python} setup.py build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
 
 
 %check
-%{__python} test.py
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%{__python} setup.py test
 
 %files
-%defattr(-,root,root,-)
-%doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt HISTORY.txt TODO.txt INSTALL.txt
-%doc examples
+%doc README.rst docs/changelog.rst
 %{python_sitelib}/icalendar
 %{python_sitelib}/*.egg-info
 
 %changelog
+* Wed May 30 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.0.1-0.1.b2
+- Update to 3.0b2
+- Change license to BSD (see https://github.com/collective/icalendar/issues/2)
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
@@ -75,4 +65,3 @@ rm -rf $RPM_BUILD_ROOT
 
 * Tue Aug  3 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 2.1-1
 - Initial package version
-
diff --git a/sources b/sources
index 9098548..2ccaf5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-110f0e2609b52e76689796dc1a7476d6  icalendar-2.1.tar.gz
+58be4399c2acb9ef492d718fa44ac584  icalendar-3.0.1b2.tar.gz


More information about the scm-commits mailing list