File zypp-closure.spec of Package zypp-closure

#
# spec file for package zypp-closure
#
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
Name:           zypp-closure
Version:        0.3
Release:        0
License:        GPL-2.0+
Summary:        Closure of requirements for a set of packages
Group:          System/Packages
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  gcc-c++ >= 4.6
BuildRequires:  libzypp-devel
%if 0%{?suse_version} >= 1330
BuildRequires:  libboost_headers-devel
%else
BuildRequires:  boost-devel
%endif

%description
Closure of requirements for a set of packages

%prep
%setup -q

%build
make

%install
mkdir -p %{buildroot}/usr/bin
install -m 755 zypp-closure %{buildroot}/usr/bin

%files
/usr/bin/*

%changelog


openSUSE Build Service is sponsored by