Skip to content

Commit

Permalink
build: Remove release from version req and python define changes.
Browse files Browse the repository at this point in the history
Our OBS does not utilize release in version.

Define python3_sitearch only if it is not defined.
  • Loading branch information
LaakkonenJussi committed Oct 16, 2018
1 parent 7142e4b commit b3e8bec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm/libselinux.spec
Expand Up @@ -20,13 +20,15 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

%define libsepolver 2.8-1
%define libsepolver 2.8
# our old rpm doesn't yet support the rundir macro
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif

%if ! %{defined python3_sitearch}
%define python3_sitearch /%{_libdir}/python3.?/site-packages
%endif

Summary: SELinux library and simple utilities
Name: libselinux
Expand Down

0 comments on commit b3e8bec

Please sign in to comment.