From 8a04a0e8bd7f167387ca4234031a5410984fa319 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Aug 08 2019 16:21:51 +0000 Subject: python-libturpial fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675752 --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9a803b6..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/libturpial-1.0.tar.gz -/libturpial-1.1.16.tar.gz -/libturpial-1.5.9.tar.gz -/libturpial-1.7.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f5f74ba --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +python-libturpial fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675752 diff --git a/http.py.patch b/http.py.patch deleted file mode 100644 index 752b9d8..0000000 --- a/http.py.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- libturpial-1.7.0.orig/libturpial/lib/http.py 2014-04-07 20:37:59.000000000 -0430 -+++ libturpial-1.7.0/libturpial/lib/http.py 2014-05-01 12:55:15.794318557 -0430 -@@ -72,6 +72,7 @@ - self.ca_certs_file = os.path.realpath(os.path.join(basedir, - '..', 'certs', - 'cacert.pem')) -+ self.ca_certs_file = '/etc/pki/tls/certs/ca-bundle.crt' - - def __validate_ssl_cert(self, request): - req = request.split('://')[1] diff --git a/python-libturpial.spec b/python-libturpial.spec deleted file mode 100644 index c14f3a0..0000000 --- a/python-libturpial.spec +++ /dev/null @@ -1,132 +0,0 @@ -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} -%{!?__python2: %global __python2 %{__python}} -Name: python-libturpial -Version: 1.7.0 -Release: 14%{?dist} -Summary: Micro blogging python library, needed for turpial (twitter client) -License: GPLv3 -URL: http://turpial.org.ve -Source0: https://github.com/satanas/libturpial/archive/%{version}.tar.gz#/libturpial-%{version}.tar.gz -Patch0: http.py.patch -BuildRequires: python2-setuptools,python2-devel -BuildArch: noarch - -%global _description\ -libturpial is a library that handles multiple micro blogging protocols. It\ -implements a lot of features and aims to support all the features for each\ -protocol. This library is the back-end used for Turpial. - -%description %_description - -%package -n python2-libturpial -Summary: %summary -Requires: python2-oauth,python2-simplejson,python2-requests,ca-certificates -%{?python_provide:%python_provide python2-libturpial} - -%description -n python2-libturpial %_description - -%prep -%setup -q -n libturpial-%{version} -%patch0 -p1 -sed -i 's|./|'"%{_pkgdocdir}"'|' setup.py - -%build -%{__python2} setup.py build - -%install -%{__python2} setup.py install --root %{buildroot} -find %{buildroot} \( -not -name '*.py*' -a -type f \) -exec chmod 644 {} \; -rm %{buildroot}/%{python_sitelib}/libturpial/certs/cacert.pem -chmod 0644 ChangeLog AUTHORS COPYING -mkdir -p %{buildroot}/%{python_sitelib}/tests/%{name} -mv %{buildroot}/%{python_sitelib}/tests/*.py* %{buildroot}/%{python_sitelib}/tests/%{name}/ - -%global _docdir_fmt %{name} - -%files -n python2-libturpial -%doc ChangeLog AUTHORS COPYING -%{python2_sitelib}/* - -%changelog -* Fri Jul 26 2019 Fedora Release Engineering - 1.7.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 1.7.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.7.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.7.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 25 2018 Iryna Shcherbina - 1.7.0-10 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.7.0-9 -- Python 2 binary package renamed to python2-libturpial - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Thu Jul 27 2017 Fedora Release Engineering - 1.7.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.7.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Nov 14 2016 Richzendy - 1.7.0-6 -- Fix to bug 1390230, Source0 url changed to github - -* Tue Jul 19 2016 Fedora Release Engineering - 1.7.0-5 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 1.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Fedora Release Engineering - 1.7.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu May 01 2014 Richzendy - 1.7.0-1 -- Version 1.7.0 of libturpial - -* Sat Jan 18 2014 Richzendy - 1.5.9-1 -- New update, complete changelog in https://github.com/satanas/libturpial/blob/1.5.9/ChangeLog - -* Thu Jan 9 2014 Richzendy - 1.1.16-2 -- I forgot the __python2 macro to build in el6 - -* Thu Jan 9 2014 Richzendy - 1.1.16-1 -- Support to new API twitter changes: http://turpial.org.ve/2014/01/libturpial-1-1-16-a-new-maintenance-version/ - -* Wed Dec 18 2013 Richzendy - 1.0-10 -- needed because python-libturpial-1.0-9.el6 has already been built - -* Wed Dec 18 2013 Richzendy - 1.0-9 -- Fixed python macro in el6, see https://fedorahosted.org/fpc/ticket/376 - -* Mon Dec 16 2013 Richzendy - 1.0-8 -- Better choice to fix perms on doc files - https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c19 - -* Mon Dec 16 2013 Richzendy - 1.0-7 -- Executable permissions on doc files removed - https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c16 - -* Fri Dec 13 2013 Richzendy - 1.0-6 -- improvements from https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c14 - -* Thu Dec 12 2013 Richzendy - 1.0-5 -- Compatible with http://fedoraproject.org/wiki/Changes/UnversionedDocdirs - -* Wed Dec 11 2013 Richzendy - 1.0-4 -- cert file removed, thanks to https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c11 - -* Tue Dec 10 2013 Richzendy - 1.0-3 -- improvements from https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c6 and https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c7 - -* Fri Dec 06 2013 Richzendy - 1.0-2 -- comments applied (https://bugzilla.redhat.com/show_bug.cgi?id=1036297#c3) - -* Sat Nov 30 2013 Richzendy - 1.0-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 6ce3ff1..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0d51997b86fa490762af6fe1a6f6c4ea libturpial-1.7.0.tar.gz