forked from pool/python-param
Accepting request 727287 from home:TheBlackCat:branches:devel:languages:python
Include a .version file. Other packages need this to determine this package's version. OBS-URL: https://build.opensuse.org/request/show/727287 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=23
This commit is contained in:
1
python-param-rpmlintrc
Normal file
1
python-param-rpmlintrc
Normal file
@@ -0,0 +1 @@
|
||||
addFilter("hidden-file-or-dir .*/site-packages/param/\.version")
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 15:53:14 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Include a .version file. Other packages need this to determine
|
||||
this package's version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 10:57:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://param.pyviz.org/
|
||||
Source0: https://github.com/ioam/param/archive/v%{version}.tar.gz
|
||||
Source100: python-param-rpmlintrc
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -48,6 +49,7 @@ as part of other projects.
|
||||
%prep
|
||||
%setup -q -n param-%{version}
|
||||
sed -i -e 's:version=get_setup_version("param"):version="%{version}":g' setup.py
|
||||
echo '{"git_describe": "v%{version}", "version_string": "%{version}"}' > param/.version
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user