tdawson pushed to python-pycodestyle (epel8-playground).
"epel8-playground decommissioned : https://pagure.io/epel/issue/136"
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:52:25 UTC
From 20a35799c6feb594947dd32c93e65e825ae458b7 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson(a)redhat.com>
Date: Jan 31 2022 23:52:18 +0000
Subject: epel8-playground decommissioned : https://pagure.io/epel/issue/136
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index ee88908..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/pycodestyle-2.0.0.tar.gz
-/pycodestyle-2.3.1.tar.gz
-/pycodestyle-2.4.0.tar.gz
-/pycodestyle-2.5.0.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a72aec0
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+epel8-playground decommissioned : https://pagure.io/epel/issue/136
diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec
deleted file mode 100644
index 33223c7..0000000
--- a/python-pycodestyle.spec
+++ /dev/null
@@ -1,260 +0,0 @@
-%global module_name pycodestyle
-
-Name: python-%{module_name}
-# WARNING: When updating pycodestyle, check not to break flake8!
-Version: 2.5.0
-Release: 2%{?dist}
-Summary: Python style guide checker
-License: MIT
-URL: https://pypi.python.org/pypi/%{module_name}
-Source0: https://pypi.io/packages/source/p/%{module_name}/%{module_name}-%{version...
-
-BuildArch: noarch
-
-%description
-pycodestyle is a tool to check your Python code against some of the style
-conventions in PEP 8. It has a plugin architecture, making new checks easy, and
-its output is parseable, making it easy to jump to an error location in your
-editor.
-
-%package -n python2-%{module_name}
-Summary: Python style guide checker
-%{?python_provide:%python_provide python2-%{module_name}}
-
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-Requires: python2-setuptools
-
-
-%description -n python2-%{module_name}
-pycodestyle is a tool to check your Python code against some of the style
-conventions in PEP 8. It has a plugin architecture, making new checks easy, and
-its output is parseable, making it easy to jump to an error location in your
-editor.
-
-
-%package -n python%{python3_pkgversion}-pycodestyle
-Summary: Python style guide checker
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{module_name}}
-Conflicts: python-pycodestyle < %{version}-%{release}
-
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-sphinx
-BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme
-
-
-Requires: python%{python3_pkgversion}-setuptools
-%description -n python%{python3_pkgversion}-pycodestyle
-pycodestyle is a tool to check your Python code against some of the style
-conventions in PEP 8. It has a plugin architecture, making new checks easy, and
-its output is parseable, making it easy to jump to an error location in your
-editor.
-
-This is a version for Python %{python3_pkgversion}.
-
-
-%prep
-%autosetup -n %{module_name}-%{version}
-
-# Remove #! from pycodestyle.py
-sed --in-place "s:#!\s*/usr.*::" pycodestyle.py
-
-
-%build
-%py2_build
-%py3_build
-
-make -C docs man SPHINXBUILD=sphinx-build-3
-
-
-%install
-%py2_install
-mv %{buildroot}%{_bindir}/pycodestyle %{buildroot}%{_bindir}/pycodestyle-%{python2_version}
-ln -s ./pycodestyle-%{python2_version} %{buildroot}%{_bindir}/pycodestyle-2
-
-%py3_install
-mv %{buildroot}%{_bindir}/pycodestyle %{buildroot}%{_bindir}/pycodestyle-%{python3_version}
-ln -s ./pycodestyle-%{python3_version} %{buildroot}%{_bindir}/pycodestyle-3
-ln -s ./pycodestyle-3 %{buildroot}%{_bindir}/pycodestyle
-
-
-install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module_name}.1
-
-
-%check
-%{__python2} pycodestyle.py --max-doc-length=72 --testsuite testsuite
-%{__python2} pycodestyle.py --max-doc-length=72 --doctest
-%{__python3} pycodestyle.py --max-doc-length=72 --testsuite testsuite
-%{__python3} pycodestyle.py --max-doc-length=72 --doctest
-
-
-%files -n python2-%{module_name}
-%doc CHANGES.txt README.rst
-%license LICENSE
-%{_bindir}/pycodestyle-2
-%{_bindir}/pycodestyle-2.7
-%{python2_sitelib}/%{module_name}.py*
-%{python2_sitelib}/%{module_name}-%{version}-*.egg-info
-
-%files -n python%{python3_pkgversion}-pycodestyle
-%doc README.rst CHANGES.txt
-%license LICENSE
-%{_mandir}/man1/%{module_name}.1.gz
-%{_bindir}/pycodestyle
-%{_bindir}/pycodestyle-3
-%{_bindir}/pycodestyle-%{python3_version}
-%{python3_sitelib}/%{module_name}.py*
-%{python3_sitelib}/%{module_name}-%{version}-*.egg-info/
-%{python3_sitelib}/__pycache__/%{module_name}*
-
-%changelog
-* Wed Jul 17 2019 Miro Hrončok <mhroncok(a)redhat.com> - 2.5.0-2
-- Make /usr/bin/pycodestyle Python 3
-
-* Wed Feb 20 2019 Matthias Runge <mrunge(a)redhat.com> - 2.5.0-1
-- update to 2.5.0 and fix FTBFS
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.4.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.4.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Jun 18 2018 Miro Hrončok <mhroncok(a)redhat.com> - 2.4.0-2
-- Rebuilt for Python 3.7
-
-* Sat Jun 02 2018 Miro Hrončok <mhroncok(a)redhat.com> - 2.4.0-1
-- Update to 2.4.0 (#1565613)
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Aug 24 2017 Lumír Balhar <lbalhar(a)redhat.com> 2.3.1-1
-- New upstream version 2.3.1
-- Use 'python2' instead of just 'python' in the names of dependencies
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Mar 10 2017 Orion Poplawski <orion(a)cora.nwra.com> - 2.0.0-5
-- Fix python3 builds for EPEL
-- Cleanup spec
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Tue Dec 13 2016 Charalampos Stratakis <cstratak(a)redhat.com> - 2.0.0-3
-- Rebuild for Python 3.6
-
-* Thu Aug 4 2016 Luke Macken <lmacken(a)redhat.com> - 2.0.0-2
-- Use the new python setup/build/install macros
-- Remove Obsoletes/Provides for pep8, since it is currently not a drop-in replacement.
- https://bugzilla.redhat.com/show_bug.cgi?id=1342839#c10
-
-* Sun Jun 05 2016 Luke Macken <lmacken(a)redhat.com> - 2.0.0-1
-- The pep8 project has been renamed to pycodestyle
-- Create python2 subpackage
-- Update the source url to use pypi.io
-- Build a man page instead of html docs
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Thu Nov 12 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
-
-* Wed Nov 11 2015 Robert Kuska <rkuska(a)redhat.com> - 1.6.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
-
-* Wed Nov 11 2015 Matthias Runge <mrunge(a)redhat.com> - 1.6.2-1
-- update to 1.6.2
-
-* Fri Nov 06 2015 Robert Kuska <rkuska(a)redhat.com> - 1.5.7-3
-- Rebuilt for Python3.5 rebuild
-
-* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.5.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Mon Oct 20 2014 Matthias Runge <mrunge(a)redhat.com> - 1.5.7-1
-- update to 1.5.7
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.5.6-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Thu May 15 2014 Bohuslav Kabrda <bkabrda(a)redhat.com> - 1.5.6-2
-- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
-
-* Wed May 14 2014 Matthias Runge <mrunge(a)redhat.com> - 1.5.6-1
-- update to 1.5.6 (rhbz#1087351)
-
-* Tue Apr 08 2014 Matthias Runge <mrunge(a)redhat.com> - 1.5.4-1
-- require python3-setuptools (rhbz#1084756)
-- update to 1.5.4 (rhbz#1081516)
-
-* Wed Feb 26 2014 Matthias Runge <mrunge(a)redhat.com> -1.4.6-2
-- rename py3 version of pep8 to python3-pep8 (rhbz#1060408)
-
-* Tue Aug 13 2013 Ian Weller <iweller(a)redhat.com> - 1.4.6-1
-- update to 1.4.6
-
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.4.5-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Fri Jun 14 2013 Matthias Runge <mrunge(a)redhat.com> - 1.4.5-1
-- update to 1.4.5 (rhbz#918924)
-- introduce py3 package (rhbz#971941)
-
-* Tue Feb 26 2013 Ian Weller <iweller(a)redhat.com> - 1.4.4-1
-- Update to 1.4.4
-
-* Mon Feb 11 2013 Ian Weller <iweller(a)redhat.com> - 1.4.2-1
-- Update to 1.4.2
-
-* Tue Jan 29 2013 Ian Weller <iweller(a)redhat.com> - 1.4.1-1
-- Update to 1.4.1
-- Add Sphinx docs
-
-* Fri Sep 07 2012 Ian Weller <iweller(a)redhat.com> - 1.3.3-3
-- Run test suite using the pep8.py that has been installed
-
-* Fri Sep 07 2012 Ian Weller <iweller(a)redhat.com> - 1.3.3-2
-- Add test suite
-
-* Thu Sep 06 2012 Ian Weller <iweller(a)redhat.com> - 1.3.3-1
-- Update to 1.3.3
-
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Sat Jun 16 2012 Ian Weller <iweller(a)redhat.com> - 1.3-1
-- Update to 1.3
-
-* Sat Apr 07 2012 Ian Weller <iweller(a)redhat.com> - 1.0.1-1
-- Update to 1.0.1
-
-* Fri Jan 27 2012 Ian Weller <iweller(a)redhat.com> - 0.6.1-1
-- Update to 0.6.1
-
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.6.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.6.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Fri Jan 21 2011 Ian Weller <iweller(a)redhat.com> - 0.6.0-2
-- RHBZ 633102: Requires: python-setuptools
-
-* Tue Nov 16 2010 Ian Weller <iweller(a)redhat.com> - 0.6.0-1
-- Changed upstream (same code, new maintainer, new URL)
-- New release
-
-* Thu Jul 22 2010 David Malcolm <dmalcolm(a)redhat.com> - 0.4.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
-
-* Mon Nov 9 2009 Ian Weller <ian(a)ianweller.org> - 0.4.2-2
-- Add BR: python-setuptools
-- Change URL to the correct upstream
-
-* Sun Nov 8 2009 Ian Weller <ian(a)ianweller.org> - 0.4.2-1
-- Initial package build
diff --git a/sources b/sources
deleted file mode 100644
index 44f0319..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pycodestyle-2.5.0.tar.gz) = 84e751a7d00048393b02ca743de5d71d1641e948ee1b4daebbdf2d07e0cd8f087ca4e81f826061114b40ef41920bbcd680c9f479e7cc1a159a70188425717208
https://src.fedoraproject.org/rpms/python-pycodestyle/c/20a35799c6feb5949...
2 years, 3 months
tdawson pushed to python-pycares (epel8-playground).
"epel8-playground decommissioned : https://pagure.io/epel/issue/136"
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:52:00 UTC
From 7fbb9a22aeb5a00fea322aa0823bb79370cd5805 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson(a)redhat.com>
Date: Jan 31 2022 23:51:53 +0000
Subject: epel8-playground decommissioned : https://pagure.io/epel/issue/136
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 647aaa6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/pycares-2.3.0.tar.gz
-/pycares-3.0.0.tar.gz
-/fix-version_pycares_docs_conf.py.patch
-/pycares-3.1.0-fix3.tar.gz
-/pycares-3.1.1.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a72aec0
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+epel8-playground decommissioned : https://pagure.io/epel/issue/136
diff --git a/python-pycares.spec b/python-pycares.spec
deleted file mode 100644
index 81c89d9..0000000
--- a/python-pycares.spec
+++ /dev/null
@@ -1,152 +0,0 @@
-# set upstream name variable
-%global srcname pycares
-
-
-Name: python-pycares
-Version: 3.1.1
-Release: 4%{?dist}
-Summary: Python interface for c-ares
-
-License: MIT
-URL: https://github.com/saghul/pycares
-Source0: https://github.com/saghul/%{srcname}/archive/%{srcname}-%{version}.tar.gz
-
-BuildRequires: make
-BuildRequires: gcc
-BuildRequires: python3-cffi
-# for docs
-BuildRequires: python3-sphinx
-BuildRequires: python3-devel
-BuildRequires: python3-sphinx_rtd_theme
-
-%description
-pycares is a Python module which provides an interface to
-c-ares. c-ares is a C library that performs DNS requests and name
-resolutions asynchronously.
-
-
-
-%package -n python3-%{srcname}
-Summary: Python interface for c-ares
-%{?python_provide:%python_provide python3-%{srcname}}
-
-%description -n python3-%{srcname}
-pycares is a Python module which provides an interface to
-c-ares. c-ares is a C library that performs DNS requests and name
-resolutions asynchronously.
-
-
-%package -n python-%{srcname}-doc
-Summary: Documentation for python-pycares
-BuildArch: noarch
-Requires: python3-%{srcname}
-
-%description -n python-%{srcname}-doc
-pycares is a Python module which provides an interface to
-c-ares. c-ares is a C library that performs DNS requests and name
-resolutions asynchronously.
-
-This package contains documentation in reST and HTML formats.
-
-
-
-%prep
-%autosetup -p1 -n %{srcname}-%{srcname}-%{version}
-
-
-%build
-%py3_build
-
-# Build sphinx documentation
-pushd docs/
-make html
-popd # docs
-
-
-%install
-%py3_install
-
-# Install html docs
-mkdir -p %{buildroot}%{_pkgdocdir}/
-cp -pr docs/_build/html %{buildroot}%{_pkgdocdir}/
-
-# Move sources
-mv -f %{buildroot}%{_pkgdocdir}/html/_sources/ %{buildroot}%{_pkgdocdir}/rst/
-
-# Remove buildinfo sphinx documentation
-rm -rf %{buildroot}%{_pkgdocdir}/html/.buildinfo
-
-# Fix non-standard modes (775)
-chmod 755 %{buildroot}%{python3_sitearch}/%{srcname}/_cares.cpython-*.so
-
-
-%check
-%{__python3} setup.py test -s pycares._cares
-
-
-
-%files -n python3-%{srcname}
-%license LICENSE
-%doc README.rst ChangeLog
-# For arch-specific packages: sitearch
-%{python3_sitearch}/%{srcname}/
-%{python3_sitearch}/%{srcname}-%{version}-*.egg-info/
-
-
-%files -n python-%{srcname}-doc
-%doc examples/
-%{_pkgdocdir}/
-
-
-
-%changelog
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue May 26 2020 Miro Hrončok <mhroncok(a)redhat.com> - 3.1.1-3
-- Rebuilt for Python 3.9
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Jan 10 2020 Matthieu Saulnier <fantom(a)fedoraproject.org> - 3.1.1-1
-- Update to 3.1.1 upstream release
-
-* Wed Dec 25 2019 Matthieu Saulnier <fantom(a)fedoraproject.org> - 3.1.0-fix3.1
-- Update to 3.1.0-fix3 upstream release
-- Remove patch to fix path for the get_version function in docs dir
- - fixed in upstream (commit d0ed707)
-
-* Thu Oct 03 2019 Miro Hrončok <mhroncok(a)redhat.com> - 3.0.0-2
-- Rebuilt for Python 3.8.0rc1 (#1748018)
-
-* Sat Aug 24 2019 Matthieu Saulnier <fantom(a)fedoraproject.org> - 3.0.0-1
-- Bump version to 3.0.0
- - add cffi and sphinx_rtd_theme as buildrequires
- - create patch to fix path for the get_version function in docs dir
-- Rebuild for RHBZ#1736524 (FTBFS in Fedora rawhide/f31)
-- Removing Python 2 stuff https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal
-
-* Mon Aug 19 2019 Miro Hrončok <mhroncok(a)redhat.com> - 2.3.0-7
-- Rebuilt for Python 3.8
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Jun 19 2018 Miro Hrončok <mhroncok(a)redhat.com> - 2.3.0-3
-- Rebuilt for Python 3.7
-
-* Wed Apr 4 2018 Matthieu Saulnier <fantom(a)fedoraproject.org> - 2.3.0-2
-- Remove useless code duplication step
-- Add missing %%python_provide macro in subpackages
-- Cleanup rst doc script in %%install section
-- Fix file ownership in doc subpackage
-
-* Mon Apr 2 2018 Matthieu Saulnier <fantom(a)fedoraproject.org> - 2.3.0-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index cf5fc48..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pycares-3.1.1.tar.gz) = 52c529510e3342c0b97ad0b4b9277d1f364da7719817a31a3cfac1f88613ea82f127182eab7c52c2fcd08008c689885bb4196f887a0f81b769f08f7cbf39909e
https://src.fedoraproject.org/rpms/python-pycares/c/7fbb9a22aeb5a00fea322...
2 years, 3 months
remilauzier pushed to rust-spin_sleep (f34). "Initial import;
Fixes RHBZ#1982942"
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:51:38 UTC
From 58b9fac1210666a5df1efe62dee8f06c7c979d20 Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jan 31 2022 23:29:12 +0000
Subject: Initial import; Fixes RHBZ#1982942
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c29fa2e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/spin_sleep-1.0.0.crate
diff --git a/rust-spin_sleep.spec b/rust-spin_sleep.spec
new file mode 100644
index 0000000..b89ed30
--- /dev/null
+++ b/rust-spin_sleep.spec
@@ -0,0 +1,89 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate spin_sleep
+
+Name: rust-%{crate}
+Version: 1.0.0
+Release: %autorelease
+Summary: Accurate sleeping
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/spin_sleep
+Source: %{crates_source}
+# Initial patched metadata
+# Remove windows dependencies
+# Upgrade approx to version 0.5
+# Commit: e95ed9d94dd228e33f618adc97c5944c32947173
+Patch0: spin_sleep-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Accurate sleeping. Only use native sleep as far as it can be trusted, then
+spin.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+nondeterministic_tests-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nondeterministic_tests-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "nondeterministic_tests" feature of the "%{crate}" crate.
+
+%files -n %{name}+nondeterministic_tests-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5a51a48
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (spin_sleep-1.0.0.crate) = 9cfe37378b2b49fc0333bbe117163864212ab70506dba2fbff7718d31edf80fa3bf721e9be8478bd76f0fe42d42ace44b57b6e5504ffb1ec678519235106deca
diff --git a/spin_sleep-fix-metadata.diff b/spin_sleep-fix-metadata.diff
new file mode 100644
index 0000000..983a831
--- /dev/null
+++ b/spin_sleep-fix-metadata.diff
@@ -0,0 +1,17 @@
+--- spin_sleep-1.0.0/Cargo.toml 2020-04-25T08:56:07+00:00
++++ spin_sleep-1.0.0/Cargo.toml 2022-01-29T07:12:20.105152+00:00
+@@ -21,13 +21,7 @@
+ license = "Apache-2.0"
+ repository = "https://github.com/alexheretic/spin-sleep"
+ [dev-dependencies.approx]
+-version = "0.3"
++version = "0.5"
+
+ [features]
+ nondeterministic_tests = []
+-[target."cfg(windows)".dependencies.once_cell]
+-version = "1"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["minwindef", "mmsystem", "timeapi"]
https://src.fedoraproject.org/rpms/rust-spin_sleep/c/58b9fac1210666a5df1e...
2 years, 3 months