Accepting request 295122 from home:pluskalm:branches:Base:System
- Rename python package to match python packaging guidelines OBS-URL: https://build.opensuse.org/request/show/295122 OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=2
This commit is contained in:
parent
ba73b42fd6
commit
992878c026
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 9 09:00:24 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Rename python package to match python packaging guidelines
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 8 14:24:08 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
|
@ -25,23 +25,23 @@ License: LGPL-2.1+
|
||||
Group: System Environment/Libraries
|
||||
Url: http://sourceforge.net/projects/libstoragemgmt/
|
||||
Source0: http://sourceforge.net/projects/libstoragemgmt/files/%{name}-%{version}.tar.gz
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig(libmicrohttpd)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(yajl)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-M2Crypto
|
||||
BuildRequires: python-PyYAML
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pywbem
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(check)
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(libmicrohttpd)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(yajl)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%systemd_requires
|
||||
%py_requires
|
||||
@ -73,7 +73,7 @@ Requires: %{libname} = %{version}
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package python
|
||||
%package -n python-%{name}
|
||||
Summary: Python client libraries and plug-in support for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
@ -81,7 +81,7 @@ Requires: python-argparse
|
||||
BuildArch: noarch
|
||||
%py_requires
|
||||
|
||||
%description python
|
||||
%description -n python-%{name}
|
||||
The %{name}-python package contains python client libraries as
|
||||
well as python framework support and open source plug-ins written in python.
|
||||
|
||||
@ -168,7 +168,6 @@ install -m 0644 packaging/daemon/libstoragemgmt-rest.service \
|
||||
%{buildroot}/%{_unitdir}/libstoragemgmt-rest.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-rest
|
||||
|
||||
|
||||
#tempfiles.d configuration for /var/run
|
||||
mkdir -p %{buildroot}/%{_tmpfilesdir}
|
||||
install -m 0644 packaging/daemon/lsm-tmpfiles.conf \
|
||||
@ -274,7 +273,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_localstatedir}/r
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libstoragemgmt.pc
|
||||
|
||||
%files python
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python_sitelib}/lsm
|
||||
%{python_sitelib}/lsm/external
|
||||
|
Loading…
Reference in New Issue
Block a user