From 802baefc34cd492de180ccf73abd45fff652349e Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 28 2019 11:27:46 +0000 Subject: Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1737532 --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f7c45eb..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/summershum-0.1.1.tar.gz -/summershum-0.1.2.tar.gz -/summershum-0.1.3.tar.gz -/summershum-0.1.4.tar.gz -/summershum-0.1.5.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..2bfefe0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1737532 diff --git a/python-summershum.spec b/python-summershum.spec deleted file mode 100644 index 5fc510b..0000000 --- a/python-summershum.spec +++ /dev/null @@ -1,165 +0,0 @@ -%if 0%{?rhel} && 0%{?rhel} <= 6 -%{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - -%global modname summershum - -Name: python-summershum -Version: 0.1.5 -Release: 12%{?dist} -Summary: A fedmsg consumer that extracts and stores hashes of source files - -License: GPLv2+ -URL: http://pypi.python.org/pypi/summershum -Source0: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz - -BuildArch: noarch - - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -BuildRequires: fedmsg - -BuildRequires: python2-kitchen - -%if 0%{?rhel} && 0%{?rhel} <= 6 -BuildRequires: python-sqlalchemy0.8 -BuildRequires: python-logutils -%else -BuildRequires: python2-sqlalchemy -%endif - - -%global _description\ -A fedmsg consumer that extracts and stores hashes of source files.\ -\ -summershum is composed of two components:\ -\ -- A fedmsg consumer plugin that listens for\ - ``org.fedoraproject.prod.git.lookaside.new`` messages. Whenever a\ - contributor uploads a new source tarball to the lookaside cache,\ - summershum will download that tarball, unpack it, and calculate the\ - sha1 sum of every file in the tarball. Those hashes are then stored in\ - a database to be queried later.\ -- A cli tool ``summershum-cli`` that queries datagrepper for the fedmsg\ - history. It then crawls through old lookaside messages to fill in data where\ - it was missed.\ -\ -With the summershum database, we can then make some interesting queries\ -in short time:\ -\ -- how many files have this hash sum in all of fedora? and for which\ - packages ?\ -- we can easily find what is bundling what and generate a programatic list\ -- we could check the db in taskotron tests\ -- we could check to see how many packages include the full GPL license\ -- how many packages have that license but with the old FSF address\ - - -%description %_description - -%package -n python2-summershum -Summary: %summary -Requires: fedmsg -Requires: python2-kitchen -%if 0%{?rhel} && 0%{?rhel} <= 6 -Requires: python-sqlalchemy0.8 -Requires: python-logutils -%else -Requires: python2-sqlalchemy -%endif -Requires: rpmdevtools -%{?python_provide:%python_provide python2-summershum} - -%description -n python2-summershum %_description - -%prep -%setup -q -n %{modname}-%{version} - -# Remove bundled egg-info in case it exists -rm -rf %{modname}.egg-info - -%build -%{__python2} setup.py build - -%install -%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} - -%check -# Eventually, the tests will be run this way, but not yet. -#%%{__python2} setup.py test -%if 0%{?rhel} && 0%{?rhel} <= 6 -# pass the tests on el6 -%else -%{__python2} tests/__init__.py -%endif - -%files -n python2-summershum -%doc README.rst LICENSE -%{python2_sitelib}/%{modname}/ -%{python2_sitelib}/%{modname}-%{version}* -%{_bindir}/summershum-cli - -%changelog -* Fri Jul 26 2019 Fedora Release Engineering - 0.1.5-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.1.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 28 2018 Iryna Shcherbina - 0.1.5-9 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 0.1.5-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.1.5-7 -- Python 2 binary package renamed to python2-summershum - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Thu Jul 27 2017 Fedora Release Engineering - 0.1.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.1.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 0.1.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Fedora Release Engineering - 0.1.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.1.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Feb 27 2014 Ralph Bean - 0.1.5-1 -- Fixes for invalid files, gems, odd archives. -- New options to summershum-cli - -* Fri Feb 21 2014 Ralph Bean - 0.1.4-1 -- Latest upstream with bugfixes for symlinks, non-archives, and spamminess. - -* Wed Feb 19 2014 Ralph Bean - 0.1.3-1 -- Upstream with bugfix for el6 logging config. -- Add requires on rpmdevtools. -- Add requires on python-logutils. - -* Wed Feb 19 2014 Ralph Bean - 0.1.2-2 -- Don't run tests on el6. - -* Wed Feb 19 2014 Ralph Bean - 0.1.2-1 -- Latest upstream with bugfixes. -- Require python-sqlalchemy0.8 for el6. - -* Tue Feb 18 2014 Ralph Bean - 0.1.1-1 -- Latest upstream. - -* Tue Feb 18 2014 Ralph Bean - 0.1-1 -- Initial package for Fedora diff --git a/sources b/sources deleted file mode 100644 index b367ddf..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -449554fb32ec45e842eb0470bd77392f summershum-0.1.5.tar.gz