git://scientific.zcu.cz
/
packaging-rpm-pOCCI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b84841
)
Update according to latest Fedora Packaging Guidelines
master
author
František Dvořák
<valtri@civ.zcu.cz>
Mon, 13 Mar 2017 13:24:37 +0000
(14:24 +0100)
committer
František Dvořák
<valtri@civ.zcu.cz>
Mon, 13 Mar 2017 13:24:37 +0000
(14:24 +0100)
python-pOCCI.spec
patch
|
blob
|
blame
|
history
diff --git
a/python-pOCCI.spec
b/python-pOCCI.spec
index
f90b445
..
2bb1b3e
100644
(file)
--- a/
python-pOCCI.spec
+++ b/
python-pOCCI.spec
@@
-1,6
+1,6
@@
%global srcname pOCCI
%global srcname pOCCI
-%global commit d7ab21ffa78d0a20ae0cfeb532c07534b4a69a62
-%global shortcommit
%(c=%{commit
}; echo ${c:0:7})
+%global commit
0
d7ab21ffa78d0a20ae0cfeb532c07534b4a69a62
+%global shortcommit
0 %(c=%{commit0
}; echo ${c:0:7})
# compatibility macros
%{!?py2_build:%global py2_build %{__python2} setup.py build --executable="%{__python2} -s"}
# compatibility macros
%{!?py2_build:%global py2_build %{__python2} setup.py build --executable="%{__python2} -s"}
@@
-31,12
+31,13
@@
Name: python-%{srcname}
Version: 1.0.2
Name: python-%{srcname}
Version: 1.0.2
-Release: 0.20161005git%{shortcommit}%{?dist}
+Release: 0.20161005git%{shortcommit
0
}%{?dist}
Summary: OCCI compliance testing
License: MIT
URL: https://github.com/CESNET/pOCCI
Summary: OCCI compliance testing
License: MIT
URL: https://github.com/CESNET/pOCCI
-Source0: https://github.com/CESNET/%{srcname}/archive/%{commit}/%{srcname}-%{commit}.tar.gz
+Source0: https://github.com/CESNET/%{srcname}/archive/%{commit0}.tar.gz#/%{srcname}-%{shortcommit0}.tar.gz
+
# enable 2to3 with workarounds for buggy setuptools
# (not intended for inclusion in the code)
Patch1: %{srcname}-2to3.diff
# enable 2to3 with workarounds for buggy setuptools
# (not intended for inclusion in the code)
Patch1: %{srcname}-2to3.diff
@@
-85,14
+86,14
@@
User and API documentation for OCCI compliance testing python modules.
%prep
%setup -qc
%prep
%setup -qc
-pushd %{srcname}-%{commit}
+pushd %{srcname}-%{commit
0
}
%patch1 -p1
%if 0%{?rhel} && 0%{?rhel} <= 6
sed -e "/'sphinx.ext.viewcode'/d" -i doc/conf.py
%endif
popd
%patch1 -p1
%if 0%{?rhel} && 0%{?rhel} <= 6
sed -e "/'sphinx.ext.viewcode'/d" -i doc/conf.py
%endif
popd
-cp -a %{srcname}-%{commit} python2
-cp -a %{srcname}-%{commit} python3
+cp -a %{srcname}-%{commit
0
} python2
+cp -a %{srcname}-%{commit
0
} python3
%build
%build