forked from pool/python-ncclient
Accepting request 328093 from Cloud:OpenStack:Factory
- Unify spec file. Use fedora compatible files macros OBS-URL: https://build.opensuse.org/request/show/328093 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ncclient?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
062e66f088
commit
ce59f8cddd
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 29 10:26:26 UTC 2015 - tbechtold@suse.com
|
||||
|
||||
- Unify spec file. Use fedora compatible files macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 26 14:59:37 UTC 2013 - rhafer@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ncclient
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -28,6 +28,7 @@ Source: ncclient-%{version}.tar.gz
|
||||
# quantum nexus plugin to work with nexus switches
|
||||
Patch0: nexus-support.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: openstack-suse-macros
|
||||
BuildRequires: python-base
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
@@ -47,15 +48,15 @@ and application development around the NETCONF protocol.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%{__python2} setup.py build
|
||||
cd docs && make html && rm build/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README examples docs/build/html
|
||||
%{python_sitelib}/*
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user