From 58de3beeb8c9a08e1c757406f1f12ed84ea4d140 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 17:59:23 +0000 Subject: [PATCH 1/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From acf3bb6be7b77ef9143811693cdeb39934a7f192 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 22 May 2026 14:38:54 +0100 Subject: [PATCH 2/5] Rebuild for Pandas3 From 0955c897bc1b8e65fc8768f9803e3da2899a2ef1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 06:29:32 +0000 Subject: [PATCH 3/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From f8367c12c8e37cbd3ea0fcf3d17840748de1fc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Mon, 23 Feb 2026 15:30:16 +0100 Subject: [PATCH 4/5] Fix invalid extras in %pyproject_buildrequires -x The extras requested via -x do not match the project's upstream metadata, causing a build failure with the new extras validation in pyproject-rpm-macros. See: https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/534 --- sherlock-project.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock-project.spec b/sherlock-project.spec index 8296167..1fc2a7f 100644 --- a/sherlock-project.spec +++ b/sherlock-project.spec @@ -27,7 +27,7 @@ websites. New targets are tested and implemented regularly. sed -i '/torrequest/d' 'pyproject.toml' # Pending upstream removal %generate_buildrequires -%pyproject_buildrequires -t -x dev +%pyproject_buildrequires -t %build From 4e401b2de1c6cfbfd3d149fd481fb2b16b255eca Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Thu, 6 Aug 2026 01:42:43 -0300 Subject: [PATCH 5/5] Update to 0.16.0 Resolves: rhbz#2395652 Resolves: rhbz#2481165 Resolves: rhbz#2504672 --- .gitignore | 4 +--- 0001-Remove-tor.patch | 36 ++++++++++++------------------------ sherlock-project.spec | 26 ++++++++++++-------------- sources | 2 +- 4 files changed, 26 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index cc390fb..3a4a011 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/sherlock-501cb3d.tar.gz -/v0.15.0.tar.gz -/sherlock-0.15.0.tar.gz +/sherlock-*.tar.gz diff --git a/0001-Remove-tor.patch b/0001-Remove-tor.patch index 6f76072..96f8666 100644 --- a/0001-Remove-tor.patch +++ b/0001-Remove-tor.patch @@ -1,26 +1,17 @@ -From c5e54735240cdcfca9cf39ee5866e11b4259aabf Mon Sep 17 00:00:00 2001 -From: Paul Pfeister -Date: Thu, 25 Jul 2024 16:29:29 -0400 -Subject: [PATCH] Remove tor - ---- - sherlock_project/sherlock.py | 64 ++---------------------------------- - 1 file changed, 2 insertions(+), 62 deletions(-) - diff --git a/sherlock_project/sherlock.py b/sherlock_project/sherlock.py -index 031768d..f32668f 100644 +index 250175a..09caca4 100644 --- a/sherlock_project/sherlock.py +++ b/sherlock_project/sherlock.py -@@ -170,8 +170,6 @@ def sherlock( - username, - site_data, +@@ -171,8 +171,6 @@ def sherlock( + username: str, + site_data: dict[str, dict[str, str]], query_notify: QueryNotify, - tor: bool = False, - unique_tor: bool = False, dump_response: bool = False, - proxy=None, - timeout=60, -@@ -187,8 +185,6 @@ def sherlock( + proxy: Optional[str] = None, + timeout: int = 60, +@@ -188,8 +186,6 @@ def sherlock( query_notify -- Object with base type of QueryNotify(). This will be used to notify the caller about query results. @@ -29,7 +20,7 @@ index 031768d..f32668f 100644 proxy -- String indicating the proxy URL timeout -- Time in seconds to wait before timing out request. Default is 60 seconds. -@@ -210,31 +206,9 @@ def sherlock( +@@ -211,31 +207,9 @@ def sherlock( # Notify caller that we are starting the query. query_notify.start(username) # Create session based on request methodology @@ -63,7 +54,7 @@ index 031768d..f32668f 100644 # Limit number of workers to 20. # This is probably vastly overkill. -@@ -358,10 +332,6 @@ def sherlock( +@@ -359,10 +333,6 @@ def sherlock( # Store future in data for access later net_info["request_future"] = future @@ -74,7 +65,7 @@ index 031768d..f32668f 100644 # Add this site's results into final dictionary with all the other results. results_total[social_network] = results_site -@@ -593,22 +563,6 @@ def main(): +@@ -596,22 +566,6 @@ def main(): dest="output", help="If using single username, the output of the result will be saved to this file.", ) @@ -97,7 +88,7 @@ index 031768d..f32668f 100644 parser.add_argument( "--csv", action="store_true", -@@ -736,22 +690,10 @@ def main(): +@@ -755,22 +709,10 @@ def main(): except Exception as error: print(f"A problem occurred while checking for an update: {error}") @@ -120,7 +111,7 @@ index 031768d..f32668f 100644 if args.no_color: # Disable color output. init(strip=True, convert=False) -@@ -830,8 +772,6 @@ def main(): +@@ -871,8 +813,6 @@ def main(): username, site_data, query_notify, @@ -129,6 +120,3 @@ index 031768d..f32668f 100644 dump_response=args.dump_response, proxy=args.proxy, timeout=args.timeout, --- -2.45.1 - diff --git a/sherlock-project.spec b/sherlock-project.spec index 1fc2a7f..bd82d11 100644 --- a/sherlock-project.spec +++ b/sherlock-project.spec @@ -1,32 +1,34 @@ -# Packager: Paul Pfeister (GitHub @ppfeister) +%global forgeurl https://github.com/sherlock-project/sherlock +Version: 0.16.0 +%forgemeta Name: sherlock-project -Version: 0.15.0 Release: %autorelease Summary: Hunt down social media accounts by username across social networks - License: MIT -URL: https://github.com/sherlock-project/sherlock -Source: %{url}/archive/v%{version}/sherlock-%{version}.tar.gz +URL: %{forgeurl} +Source: %{forgesource} Patch0: 0001-Remove-tor.patch BuildArch: noarch -BuildRequires: python3-devel BuildRequires: help2man +BuildRequires: python3-devel %global _description %{expand: Hunt down social media accounts by username across 400+ social networks and -websites. New targets are tested and implemented regularly. -} +websites. New targets are tested and implemented regularly.} %description %{_description} %prep -%autosetup -p1 -n sherlock-%{version} +%forgeautosetup -p1 sed -i '/torrequest/d' 'pyproject.toml' # Pending upstream removal %generate_buildrequires +# Relax requirements on pandas and requests, since Fedora Rawhide has newer versions +# Also remove torrequest since we patch out tor. +sed -i 's/pandas = "\^2.2.1"/pandas = ">=2.2.1"/' pyproject.toml %pyproject_buildrequires -t @@ -66,8 +68,4 @@ PYTHONPATH='%{buildroot}%{python3_sitelib}' help2man \ %changelog -* Mon Jul 08 2024 Paul Pfeister - 0.15.0-1 -- Importable module renamed to sherlock_project (see Debian 1072733). -- --dump-response flag added to aid in debugging. -* Tue May 14 2024 Paul Pfeister - 0.14.4-1 -- Initial package. +%autochangelog diff --git a/sources b/sources index 72084b9..c53db74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sherlock-0.15.0.tar.gz) = 9b926e0c4226f669b5549b3f7984a070c063d56e067a8b222e749d79c470d37430cc7615e9d38728833caf6e88cbee3788c10c9ae9dfcdc38dc9e6f73adc3b76 +SHA512 (sherlock-0.16.0.tar.gz) = 0adba141dde2bde1603ff2a35ae01ddc427d08de777469bccb8b82f8f6635482d20581f2e8eed5bfa5df93bfefa23c4ff2faeed7d8e99b3f3a1a8c32180f96f6