python2 shebang patch [release 1.18.3-3mamba;Tue Dec 13 2022]
This commit is contained in:
parent
492e1ba626
commit
06835a6434
8
cfv-1.18.3-python2-shebang.patch
Normal file
8
cfv-1.18.3-python2-shebang.patch
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- cfv-1.18.3/cfv.orig 2022-12-13 12:09:29.939258459 +0100
|
||||||
|
+++ cfv-1.18.3/cfv 2022-12-13 12:09:32.997250220 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#! /usr/bin/env python
|
||||||
|
+#! /usr/bin/env python2
|
||||||
|
|
||||||
|
# cfv - Command-line File Verify
|
||||||
|
# Copyright (C) 2000-2009 Matthew Mueller <donut AT dakotacom DOT net>
|
21
cfv.spec
21
cfv.spec
@ -1,28 +1,32 @@
|
|||||||
Name: cfv
|
Name: cfv
|
||||||
Version: 1.18.3
|
Version: 1.18.3
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: A utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files
|
Summary: A utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://cfv.sourceforge.net/
|
URL: https://cfv.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/sourceforge/cfv/cfv-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/sourceforge/cfv/cfv-%{version}.tar.gz
|
||||||
|
Patch0: cfv-1.18.3-python2-shebang.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: python27
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cfv is a utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files. These files are commonly used to ensure the correct retrieval or storage of data.
|
cfv is a utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files. These files are commonly used to ensure the correct retrieval or storage of data.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make prefix=%{_prefix} mandir=%{_mandir}
|
%make PYTHON=python2 prefix=%{_prefix} mandir=%{_mandir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall prefix=%{_prefix} mandir=%{_mandir}
|
%makeinstall PYTHON=python2 prefix=%{_prefix} mandir=%{_mandir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -30,10 +34,13 @@ cfv is a utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5su
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/cfv
|
%{_bindir}/cfv
|
||||||
%{_mandir}/man1/cfv.1.gz
|
%{_mandir}/man1/cfv.1*
|
||||||
%doc COPYING README
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.3-3mamba
|
||||||
|
- python2 shebang patch
|
||||||
|
|
||||||
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.18.3-2mamba
|
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.18.3-2mamba
|
||||||
- automatic rebuild by autodist
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user