From 999bf724285208be1f44109836457196abbdd8a3 Mon Sep 17 00:00:00 2001 From: Sérgio M. Basto Date: Mar 10 2020 02:32:07 +0000 Subject: Update to 22.5.3 (#1732680) --- diff --git a/autojump.spec b/autojump.spec index e26ac02..2cd0d9d 100644 --- a/autojump.spec +++ b/autojump.spec @@ -1,8 +1,8 @@ %global owner wting Name: autojump -Version: 22.5.1 -Release: 9%{?dist} +Version: 22.5.3 +Release: 1%{?dist} Summary: A fast way to navigate your filesystem from the command line @@ -15,9 +15,9 @@ Patch1: install-add-distribution-arg.patch BuildArch: noarch BuildRequires: pandoc -BuildRequires: python3-devel -BuildRequires: python3-mock -BuildRequires: python3-pytest +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-mock +BuildRequires: python%{python3_pkgversion}-pytest %description autojump is a faster way to navigate your filesystem. It works by maintaining @@ -89,6 +89,9 @@ mv %{buildroot}%{_bindir}/%{name}_*.py %{buildroot}%{python3_sitelib}/ %config(noreplace) %{_datadir}/%{name}/%{name}.fish %changelog +* Sun Mar 01 2020 Sérgio Basto - 22.5.3-1 +- Update to 22.5.3 (#1732680) + * Tue Jan 28 2020 Fedora Release Engineering - 22.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/install-add-distribution-arg.patch b/install-add-distribution-arg.patch index 2994c55..235d17c 100644 --- a/install-add-distribution-arg.patch +++ b/install-add-distribution-arg.patch @@ -11,17 +11,18 @@ diff --git a/install.py b/install.py index b48dbe4..a7307c4 100755 --- a/install.py +++ b/install.py -@@ -93,6 +93,9 @@ def parse_arguments(): # noqa - parser.add_argument( +@@ -104,6 +104,10 @@ def parse_arguments(): # noqa '-s', '--system', action='store_true', default=False, - help='install system wide for all users') + help='install system wide for all users', + ) + parser.add_argument( + '--distribution', action="store_true", default=False, -+ help='enable installation to a distribution') ++ help='enable installation to a distribution' ++ ) args = parser.parse_args() -@@ -168,8 +171,10 @@ def main(args): +@@ -187,8 +191,10 @@ def main(args): print('Installing autojump to %s ...' % args.destdir) bin_dir = os.path.join(args.destdir, args.prefix, 'bin') @@ -32,7 +33,7 @@ index b48dbe4..a7307c4 100755 share_dir = os.path.join(args.destdir, args.prefix, 'share', 'autojump') zshshare_dir = os.path.join(args.destdir, args.zshshare) -@@ -207,9 +212,15 @@ def main(args): +@@ -227,9 +233,15 @@ def main(args): cp('./bin/_j', zshshare_dir, args.dryrun) if args.custom_install: @@ -52,4 +53,3 @@ index b48dbe4..a7307c4 100755 if __name__ == '__main__': -- 2.9.0 -