Skip to content
Snippets Groups Projects
Verified Commit a67c97af authored by Duncan Macleod's avatar Duncan Macleod :flag_scotland:
Browse files

spec: added hook to install init for lib64

parent 8ce18492
No related branches found
No related tags found
1 merge request!7Modified spec to install /usr/lib64/.../ligo/__init__.py
......@@ -58,7 +58,13 @@ Empty module placeholder for other LIGO modules
%install
%py2_install
mkdir -p %{buildroot}/%{python2_sitearch}/ligo/
cp %{buildroot}/%{python2_sitelib}/ligo/__init__.py \
%{buildroot}/%{python2_sitearch}/ligo/__init__.py
%py3_install
mkdir -p %{buildroot}/%{python3_sitearch}/ligo/
cp %{buildroot}/%{python3_sitelib}/ligo/__init__.py \
%{buildroot}/%{python3_sitearch}/ligo/__init__.py
%clean
rm -rf $RPM_BUILD_ROOT
......@@ -66,10 +72,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n python2-%{name}
%license LICENSE
%{python2_sitelib}/*
%{python2_sitearch}/*
%files -n python%{python3_pkgversion}-%{name}
%license LICENSE
%{python3_sitelib}/*
%{python3_sitearch}/*
# -- changelog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment