Compare commits
33 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69db10a608 |
||
|
|
806f008ec3 | ||
|
|
02814e6660 | ||
|
|
bb4e66ffee | ||
|
|
bbb99d6adf | ||
|
|
2431fdf5d2 | ||
|
|
178bf14699 | ||
|
|
dac33b365d | ||
|
|
da0196ae86 | ||
|
|
8483c7b3b3 | ||
|
|
022d0b3700 | ||
|
|
aceec096da | ||
|
|
a1900288ba | ||
|
|
bff53218f5 |
||
|
|
926c2d5eed | ||
|
|
af03400945 | ||
|
|
c8c3741fe3 | ||
|
|
81a203ba80 | ||
|
|
4890d2188f |
||
|
|
1ee35249fe |
||
|
|
ffca091ac7 | ||
|
|
cb7063bd55 |
||
|
|
28ee072e27 | ||
|
|
5e8c7648d7 |
||
|
|
01fffb0802 |
||
|
|
f1d0c66953 |
||
|
|
121d79be98 | ||
|
|
d6eda14bd1 | ||
|
|
d36e020f6b |
||
|
|
9b039df922 | ||
|
|
0ac459fbc0 |
||
|
|
690eb1cab6 | ||
|
|
ea6c847ced |
6 changed files with 48 additions and 20 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -6,3 +6,14 @@
|
|||
/urlscan-0.9.6.tar.gz
|
||||
/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
Normal file
13
.packit.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
3
README.packit
Normal file
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
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-0.9.9.tar.gz) = 737265f8ff6a38f8826100ece557c6f08480074c42e31997a4b8ec92e5b045192192d8b33baac9602910f384142b7ee70ad97514b9b18e64ce0a1e01983a062d
|
||||
SHA512 (urlscan-1.1.2.tar.gz) = 2bf008a8ce60df2a0997f3c2161975578c19e0b130454411f9e97d02c70096c3841492e4607be808cd575c6dd1529c6c82747ccd231b6e56b959f6c5461979e1
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
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,16 +1,21 @@
|
|||
%global forgeurl https://github.com/firecat53/urlscan
|
||||
|
||||
Name: urlscan
|
||||
Version: 0.9.9
|
||||
Version: 1.1.2
|
||||
Release: %autorelease
|
||||
Summary: Extract and browse the URLs contained in an email (urlview replacement)
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/firecat53/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
%global tag %{version}
|
||||
%forgemeta
|
||||
|
||||
License: GPL-2.0-or-later
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
Source1: muttrc
|
||||
Patch0: %{name}-remove-doc.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: git-core
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -19,24 +24,33 @@ the current terminal. It is primarily meant as a replacement for urlview.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%forgeautosetup -S git
|
||||
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