File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's! /usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!! g')
2
2
%define _build_arch %(uname -i)
3
+ %define _python_awips_version %(grep ^ver /awips2/repo/python-awips/setup.py | cut -d '"' -f 2)
3
4
%define _python_build_loc %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
4
-
5
5
#
6
6
# Python AWIPS Spec File
7
7
#
8
8
Name: awips2-python-awips
9
9
Summary: Python AWIPS Distribution
10
- Version: 18.1.6
10
+ Version: %{ _python_awips_version }
11
11
Release: 1%{?dist }
12
12
Group: AWIPSII
13
13
BuildRoot: %{_build_root }
67
67
68
68
cd %{_python_build_loc }/python-awips
69
69
70
- ## Apply patch
71
- patch dynamicserialize/ThriftSerializationContext.py rpm/patch.diff
72
- cat dynamicserialize/ThriftSerializationContext.py |grep long
73
-
74
70
pushd . > /dev/null
75
71
/awips2/python/bin/python setup.py clean
76
72
RC= $?
You can’t perform that action at this time.
0 commit comments