Compare commits
No commits in common. "rawhide" and "f36" have entirely different histories.
6 changed files with 20 additions and 47 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -7,13 +7,3 @@
|
|||
/urlscan-0.9.8.tar.gz
|
||||
/urlscan-0.9.9.tar.gz
|
||||
/urlscan-0.9.10.tar.gz
|
||||
/urlscan-1.0.0.tar.gz
|
||||
/urlscan-1.0.1.tar.gz
|
||||
/urlscan-1.0.2.tar.gz
|
||||
/urlscan-1.0.4.tar.gz
|
||||
/urlscan-1.0.6.tar.gz
|
||||
/urlscan-1.0.7.tar.gz
|
||||
/urlscan-1.0.8.tar.gz
|
||||
/urlscan-1.0.9.tar.gz
|
||||
/urlscan-1.1.2.tar.gz
|
||||
/urlscan-1.1.1.tar.gz
|
||||
|
|
|
|||
13
.packit.yaml
13
.packit.yaml
|
|
@ -1,13 +0,0 @@
|
|||
upstream_project_url: https://github.com/firecat53/urlscan
|
||||
copy_upstream_release_description: false
|
||||
upstream_tag_template: "{version}"
|
||||
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.16.2.post1.dev8+g69d783e81.
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (urlscan-1.1.2.tar.gz) = 2bf008a8ce60df2a0997f3c2161975578c19e0b130454411f9e97d02c70096c3841492e4607be808cd575c6dd1529c6c82747ccd231b6e56b959f6c5461979e1
|
||||
SHA512 (urlscan-0.9.10.tar.gz) = 3bcf1bf361dcc1fc3866bf9a17c2c97fcbfc445a705ef84ec3f451fe30f9bf00dc9141b478068834b960429296a6b79d58707c0bd2eff68b4fd0dd21aadaae40
|
||||
|
|
|
|||
13
urlscan-remove-doc.patch
Normal file
13
urlscan-remove-doc.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff -ur urlscan-0.9.8.orig/setup.py urlscan-0.9.8/setup.py
|
||||
--- urlscan-0.9.8.orig/setup.py 2021-12-22 18:20:36.526135645 +0000
|
||||
+++ urlscan-0.9.8/setup.py 2021-12-22 18:22:49.112596528 +0000
|
||||
@@ -24,8 +24,7 @@
|
||||
'console_scripts': ['urlscan=urlscan.__main__:main']
|
||||
},
|
||||
package_data={'urlscan': ['assets/*']},
|
||||
- data_files=[('share/doc/urlscan', ['README.md', 'COPYING']),
|
||||
- ('share/man/man1', ['urlscan.1'])],
|
||||
+ data_files=[('share/man/man1', ['urlscan.1'])],
|
||||
license="GPLv2",
|
||||
install_requires=["urwid>=1.2.1"],
|
||||
classifiers=[
|
||||
26
urlscan.spec
26
urlscan.spec
|
|
@ -1,21 +1,16 @@
|
|||
%global forgeurl https://github.com/firecat53/urlscan
|
||||
|
||||
Name: urlscan
|
||||
Version: 1.1.2
|
||||
Version: 0.9.10
|
||||
Release: %autorelease
|
||||
Summary: Extract and browse the URLs contained in an email (urlview replacement)
|
||||
|
||||
%global tag %{version}
|
||||
%forgemeta
|
||||
|
||||
License: GPL-2.0-or-later
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
License: GPLv2+
|
||||
URL: https://github.com/firecat53/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: muttrc
|
||||
Patch0: %{name}-remove-doc.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: git-core
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -24,33 +19,24 @@ the current terminal. It is primarily meant as a replacement for urlview.
|
|||
|
||||
|
||||
%prep
|
||||
%forgeautosetup -S git
|
||||
%autosetup -p1
|
||||
cp -p %{SOURCE1} .
|
||||
|
||||
# stop installing LICENSE file in docdir
|
||||
sed -i '/^LICENSE/ d' pyproject.toml
|
||||
|
||||
# remove shebang
|
||||
sed -i '/\/usr\/bin\/env.*python/ d' urlscan/__main__.py
|
||||
|
||||
%generate_buildrequires
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
%pyproject_install
|
||||
%pyproject_save_files urlscan
|
||||
|
||||
# remove extra file
|
||||
rm -fr %{buildroot}/%{_docdir}/%{name}/
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%doc muttrc README.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue