Fix the build (remove py2 lib if built without py2 support)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/pam_wrapper?expand=0&rev=33
This commit is contained in:
parent
a4467de0bc
commit
2d0b1600c2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 07:02:41 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Fix the build (remove py2 lib if built without py2 support)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 13:36:14 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
@ -118,6 +118,10 @@ the header files for libpamtest
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%if %{without python2}
|
||||
rm -rf %{python2_sitearch}/pypamtest.so
|
||||
%endif
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user