Skip to content

Commit d92b92a

Browse files
committed
RPM spec updated with new policy
1 parent 1b30b09 commit d92b92a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

rpm/tarantool-python.spec

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
%define name tarantool-python
2-
%global build_version %(git describe --long | sed "s/[0-9]*\.[0-9]*\.[0-9]*-//" | sed "s/-[a-z 0-9]*//")
3-
42

53
Summary: Python client library for Tarantool Database
64
Name: %{name}
75
Version: 0.5.2
8-
Release: %{build_version}
9-
Source0: %{version}.tar.gz
6+
Release: 1%{?dist}
7+
Source0: tarantool-python-%{version}.tar.gz
108
License: BSD
119
Group: Development/Libraries
1210
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
@@ -106,7 +104,7 @@ See More
106104

107105

108106
%prep
109-
%setup -q -c %{name}-%{version}
107+
%setup -q -n %{name}-%{version}
110108

111109
%build
112110
python setup.py build

0 commit comments

Comments
 (0)