summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2020-11-27 20:17:41 (GMT)
committerJakub Bogusz2020-11-27 20:17:41 (GMT)
commit067625ee001423484c515b4c67c3749ead1cc693 (patch)
tree1f0405ee14af8d5c82f904c69be6bdafe29e877c
parentb28e98fb8b303bf61da65ddf76567f5aa54c25e2 (diff)
downloadwaf-067625ee001423484c515b4c67c3749ead1cc693.zip
waf-067625ee001423484c515b4c67c3749ead1cc693.tar.gz
- updated python(abi) dependency, compile python library
-rw-r--r--waf.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/waf.spec b/waf.spec
index 26e324d..5069e1f 100644
--- a/waf.spec
+++ b/waf.spec
@@ -6,15 +6,15 @@ Release: 1
# note: waf book is on CC-BY-NC-ND (not included in binary package)
License: BSD
Group: Development/Building
-Source0: http://waf.io/%{name}-%{version}.tar.bz2
+Source0: https://waf.io/%{name}-%{version}.tar.bz2
# Source0-md5: 20e89032bf6da95ee8d38c87b4a1236a
Patch0: %{name}-path.patch
-URL: http://waf.io/
+URL: https://waf.io/
BuildRequires: python3
BuildRequires: python3-modules
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.234
-Requires: python(abi) = %{py_ver}
+BuildRequires: rpmbuild(macros) >= 1.507
+Requires: python(abi) = %{py3_ver}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,6 +57,9 @@ cp -p waflib/extras/*.py $RPM_BUILD_ROOT%{_datadir}/waf3/waflib/extras
install -D -p waf-light $RPM_BUILD_ROOT%{_bindir}/waf
+%py3_comp $RPM_BUILD_ROOT%{_datadir}/waf3/waflib
+%py3_ocomp $RPM_BUILD_ROOT%{_datadir}/waf3/waflib
+
%clean
rm -rf $RPM_BUILD_ROOT