Skip to content

Commit

Permalink
build: Remove release from vers 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 and python3_sitelib only if they ares not
defined.
  • Loading branch information
LaakkonenJussi committed Oct 16, 2018
1 parent 24ea16b commit 3fba12b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions rpm/policycoreutils.spec
Expand Up @@ -20,15 +20,21 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

%global libauditver 2.1.3-4
%global libsepolver 2.8-1
%global libsemanagever 2.8-1
%global libselinuxver 2.8-1
%global libauditver 2.1.3
%global libsepolver 2.8
%global libsemanagever 2.8
%global libselinuxver 2.8
%global sepolgenver 2.8

%global generatorsdir /lib/systemd/system-generators

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

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

# tools expect several binaries to reside in /sbin. putting them there is easier until we symlink the whole /usr/sbin to /sbin
%define _sbindir /sbin
Expand Down

0 comments on commit 3fba12b

Please sign in to comment.