public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-scrapy] rawhide: spec cleanup and modernization
Date: Sat, 13 Jun 2026 20:08:57 GMT [thread overview]
Message-ID: <178138133731.1.12141828204128344183.rpms-python-scrapy-9cd4edf2730e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-scrapy
Branch : rawhide
Commit : 9cd4edf2730e8f656e2943a9bf855fe3cafc6c79
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-13T17:00:14-03:00
Stats : +9/-40 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-scrapy/c/9cd4edf2730e8f656e2943a9bf855fe3cafc6c79?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/python-scrapy.spec b/python-scrapy.spec
index ed4c390..f225476 100644
--- a/python-scrapy.spec
+++ b/python-scrapy.spec
@@ -4,11 +4,9 @@ Name: python-scrapy
Version: 2.14.2
Release: %autorelease
Summary: A high-level Python Screen Scraping framework
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
+License: BSD-3-Clause
URL: https://scrapy.org
-# TODO fix Source0 to correct github source URL
-Source0: https://files.pythonhosted.org/packages/source/S/%{pypi_name}/%{pkg_name}-%{version}.tar.gz
+Source: %{pypi_source %{pkg_name}}
BuildArch: noarch
@@ -22,26 +20,6 @@ from data mining to monitoring and automated testing.
%package -n python3-%{pkg_name}
Summary: %{summary}
-Requires: python3-pyOpenSSL
-Requires: python3-twisted
-Requires: python3-lxml
-Requires: python3-w3lib
-Requires: python3-queuelib
-Requires: python3-zope-interface
-Requires: python3-cssselect
-Requires: python3-pydispatcher
-Requires: python3-parsel
-Requires: python3-itemadapter
-Requires: python3-protego
-Requires: python3-itemloaders
-Requires: python3-pydispatcher
-Requires: python-tldextract
-Requires: python3-service-identity
-Requires: python3-cryptography
-
-%{?python_provide:%python_provide python3-%{pkg_name}}
-
-
%description -n python3-%{pkg_name}
Scrapy is a fast high-level screen scraping and web crawling
framework, used to crawl websites and extract structured data
@@ -50,15 +28,7 @@ from data mining to monitoring and automated testing.
-%package doc
-Summary: Documentation for %{name}
-%description doc
-Scrapy is a fast high-level screen scraping and web crawling
-framework, used to crawl websites and extract structured data
-from their pages. It can be used for a wide range of purposes,
-from data mining to monitoring and automated testing.
-This package contains the documentation for %{name}
%prep
%autosetup -n %{pkg_name}-%{version}
@@ -67,19 +37,18 @@ This package contains the documentation for %{name}
%build
%pyproject_wheel
-pushd docs
-%make_build html && rm -r build/html/.buildinfo
-popd
%install
%pyproject_install
+%pyproject_save_files -l scrapy
+
+
+%check
+%pyproject_check_import -e 'scrapy.core.downloader.handlers.http2' -e 'scrapy.core.http2.*'
-%files -n python3-%{pkg_name}
-%license LICENSE
-%doc AUTHORS PKG-INFO
-%{python3_sitelib}/scrapy
-%{python3_sitelib}/scrapy-%{version}.dist-info/
+%files -n python3-%{pkg_name} -f %{pyproject_files}
+%doc AUTHORS README.rst
%{_bindir}/scrapy
reply other threads:[~2026-06-13 20:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178138133731.1.12141828204128344183.rpms-python-scrapy-9cd4edf2730e@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox