diff --git python-peak-util-assembler/python-peak-util-assembler.spec python-peak-util-assembler/python-peak-util-assembler.spec.tmp index 6add30c331..9613eeb923 100644 --- python-peak-util-assembler/python-peak-util-assembler.spec +++ python-peak-util-assembler/python-peak-util-assembler.spec.tmp @@ -7,7 +7,7 @@ Name: python-peak-util-assembler Version: 0.6 # Post release snapshot -Release: 13.20100803svn2646%{?dist} +Release: 14.20100803svn2646%{?dist} Summary: Generate Python code objects by "assembling" bytecode Group: Development/Languages @@ -28,21 +28,28 @@ BuildRequires: python-setuptools BuildRequires: python-decoratortools >= 1.2 BuildRequires: python-peak-util-symbols >= 1.0 +%global _description\ +peak.util.assembler is a simple bytecode assembler module that handles most\ +low-level bytecode generation details like jump offsets, stack size tracking,\ +line number table generation, constant and variable name index tracking, etc.\ +That way, you can focus your attention on the desired semantics of your\ +bytecode instead of on these mechanical issues.\ +\ +In addition to a low-level opcode-oriented API for directly generating specific\ +Python bytecodes, this module also offers an extensible mini-AST framework for\ +generating code from high-level specifications. This framework does most of\ +the work needed to transform tree-like structures into linear bytecode\ +instructions, and includes the ability to do compile-time constant folding. + +%description %_description + +%package -n python2-peak-util-assembler +Summary: %summary Requires: python-decoratortools >= 1.2 Requires: python-peak-util-symbols >= 1.0 +%{?python_provide:%python_provide python2-peak-util-assembler} -%description -peak.util.assembler is a simple bytecode assembler module that handles most -low-level bytecode generation details like jump offsets, stack size tracking, -line number table generation, constant and variable name index tracking, etc. -That way, you can focus your attention on the desired semantics of your -bytecode instead of on these mechanical issues. - -In addition to a low-level opcode-oriented API for directly generating specific -Python bytecodes, this module also offers an extensible mini-AST framework for -generating code from high-level specifications. This framework does most of -the work needed to transform tree-like structures into linear bytecode -instructions, and includes the ability to do compile-time constant folding. +%description -n python2-peak-util-assembler %_description %prep %setup -q -n %{packagename}-%{version}-r2646 @@ -60,12 +67,16 @@ python setup.py test %clean rm -rf %{buildroot} -%files +%files -n python2-peak-util-assembler %defattr(-,root,root,-) %doc README.txt %{python_sitelib}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.6-14.20100803svn2646 +- Python 2 binary package renamed to python2-peak-util-assembler + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6-13.20100803svn2646 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild