commit python-fake-factory for openSUSE:Factory

2016-08-22 Thread h_root
Hello community,

here is the log from the commit of package python-fake-factory for 
openSUSE:Factory checked in at 2016-08-22 13:59:18

Comparing /work/SRC/openSUSE:Factory/python-fake-factory (Old)
 and  /work/SRC/openSUSE:Factory/.python-fake-factory.new (New)


Package is "python-fake-factory"

Changes:

--- /work/SRC/openSUSE:Factory/python-fake-factory/python-fake-factory.changes  
2016-05-13 09:22:52.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fake-factory.new/python-fake-factory.changes 
2016-08-22 13:59:19.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+---



Other differences:
--
++ python-fake-factory.spec ++
--- /var/tmp/diff_new_pack.4hTQfV/_old  2016-08-22 13:59:20.0 +0200
+++ /var/tmp/diff_new_pack.4hTQfV/_new  2016-08-22 13:59:20.0 +0200
@@ -26,7 +26,7 @@
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 Requires(post):   update-alternatives
-Requires(postun): update-alternatives
+Requires(preun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %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()")}
@@ -55,16 +55,14 @@
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/faker %{buildroot}%{_bindir}/faker-%{py_ver}
 ln -s -f %{_sysconfdir}/alternatives/faker %{buildroot}%{_bindir}/faker
-# create a dummy target for /etc/alternatives/faker
-touch %{buildroot}%{_sysconfdir}/alternatives/faker
 
 %post
-"%_sbindir/update-alternatives" \
+%_sbindir/update-alternatives \
--install %{_bindir}/faker faker %{_bindir}/faker-%{py_ver} 30
 
-%postun
+%preun
 if [ $1 -eq 0 ] ; then
-"%_sbindir/update-alternatives" --remove faker %{_bindir}/faker-%{py_ver}
+%_sbindir/update-alternatives --remove faker %{_bindir}/faker-%{py_ver}
 fi
 
 %files




commit python-fake-factory for openSUSE:Factory

2016-05-13 Thread h_root
Hello community,

here is the log from the commit of package python-fake-factory for 
openSUSE:Factory checked in at 2016-05-13 09:22:50

Comparing /work/SRC/openSUSE:Factory/python-fake-factory (Old)
 and  /work/SRC/openSUSE:Factory/.python-fake-factory.new (New)


Package is "python-fake-factory"

Changes:

--- /work/SRC/openSUSE:Factory/python-fake-factory/python-fake-factory.changes  
2015-11-22 11:00:11.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fake-factory.new/python-fake-factory.changes 
2016-05-13 09:22:52.0 +0200
@@ -1,0 +2,44 @@
+Mon May  9 18:45:35 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives usage.
+
+---
+Mon May  9 18:35:41 UTC 2016 - toddrme2...@gmail.com
+
+- Update to 0.5.7
+  * Repackage to resolve PyPI issue.
+- Update to 0.5.6
+  * Add date handling for datetime functions. Thanks @rpkilby.
+  * Discern male and female first names in pt_BR. Thanks @gabrielusvicente.
+- Update to 0.5.5
+  * Specify help text for command line. Thanks @cbaines.
+- Update to 0.5.4
+  * Expose Provider's random instance. Thank @gsingers for the suggestion.
+  * Make sure required characters are in the password. Thanks @craig552uk.
+  * Add `internet` and `jobs` Providers for `fa_IR`. Thanks @hamidfzm.
+  * Correct Poland phone numbers. Thanks @fizista.
+  * Fix brittly tests due to seconds elapsed in-between comparison
+  * Allow unicode in emails and domains. Thanks @zdelagrange for the report.
+  * Use ``dateutil`` for computing next_month. Thanks @mark-love, @rshk.
+  * Fix tests module import. Thanks @jorti for the report.
+  * Handle unexpected length in ``ean()``. Thanks @michaelcho.
+  * Add internet provider for ``ja_JP``. Thanks @massa142.
+  * Add Romanized Japanese person name. Thanks @massa142.
+  * Add tzinfo support to datetime methods. Thanks @j0hnsmith.
+  * Add an 'office' file extensions category. Thanks @j0hnsmith.
+  * Generate name according to profile's sex. Thanks @Dutcho for the report.
+  * Add ``bs_BA`` phone number and internet provider. Thanks @elahmo.
+  * Add a SSN provider for ``zh_CN``. Thanks @felixonmars.
+  * Differentiate male and female first names in ``fr_FR`` locale. Thanks 
@GregoryVds
+  * Add Maestro credit card. Thanks @anthonylauzon.
+  * Add ``hr_HR`` localization. Thanks @mislavcimpersak.
+  * Update ``de_DE`` first names. Thanks @WarrenFaith and @mschoebel.
+  * Allow generation of IPv4 and IPv6 network address with valid CIDR. Thanks 
@kdeldycke.
+  * Unittest IPv4 and IPv6 address and network generation. Thanks @kdeldycke.
+  * Add a new provider to generate random binary blob. Thanks @kdeldycke.
+  * Check that randomly produced language codes are parseable as locale by the
+factory constructor. Thanks @kdeldycke.
+  * Fix chinese random language code. Thanks @kdeldycke.
+  * Remove duplicate words from Lorem provider. Thanks @jeffwidman. 
+
+---

Old:

  fake-factory-0.5.3.tar.gz

New:

  fake-factory-0.5.7.tar.gz



Other differences:
--
++ python-fake-factory.spec ++
--- /var/tmp/diff_new_pack.sAa0UY/_old  2016-05-13 09:22:53.0 +0200
+++ /var/tmp/diff_new_pack.sAa0UY/_new  2016-05-13 09:22:53.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fake-factory
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,7 +16,7 @@
 
 
 Name:   python-fake-factory
-Version:0.5.3
+Version:0.5.7
 Release:0
 License:MIT
 Summary:Faker is a Python package that generates fake data for you
@@ -35,12 +35,12 @@
 %endif
 
 %description
-*Faker* is a Python package that generates fake data for you. Whether
+Faker is a Python package that generates fake data for you. Whether
 you need to bootstrap your database, create good-looking XML documents,
 fill-in your persistence to stress test it, or anonymize data taken from
 a production service, Faker is for you.
 
-Faker is heavily inspired by `PHP Faker`_, `Perl Faker`_, and by `Ruby Faker`_.
+Faker is heavily inspired by PHP Faker, Perl Faker, and by Ruby Faker.
 
 %prep
 %setup -q -n fake-factory-%{version}
@@ -50,26 +50,29 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-mv %{buildroot}%{_bindir}/faker %{buildroot}%{_bindir}/faker-%{py_ver}
-ln -s %{_bindir}/faker-%{py_ver} %{buildroot}%{_bindir}/faker
 
-%pre
-[ -h %{_bindir}/faker ] || rm -f %{_bindir}/faker