Group :: Development/Python3
RPM: python3-module-patch-ng
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname patch-ng
Name: python3-module-%oname
Version: 1.17.4
Release: alt1
Summary: Library to parse and apply unified diffs
License: MIT
Group: Development/Python3
Url: https://github.com/conan-io/python-patch-ng
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
%description
Library to parse and apply unified diffs.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build
%install
%python3_install
%files
%doc README.md
%python3_sitelibdir/patch_ng*
%python3_sitelibdir/__pycache__/*
%changelog
…
Full changelog you can see here
Name: python3-module-%oname
Version: 1.17.4
Release: alt1
Summary: Library to parse and apply unified diffs
License: MIT
Group: Development/Python3
Url: https://github.com/conan-io/python-patch-ng
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
%description
Library to parse and apply unified diffs.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build
%install
%python3_install
%files
%doc README.md
%python3_sitelibdir/patch_ng*
%python3_sitelibdir/__pycache__/*
%changelog
…
Full changelog you can see here