[libstoragemgmt/el6: 3/3] Update to version 0.1.0

tasleson tasleson at fedoraproject.org
Wed Jul 9 20:25:59 UTC 2014


commit 857a845d91aa238a7d5d78815d5a9c6714661258
Merge: ce7b7e0 9af18a8
Author: Tony Asleson <tasleson at redhat.com>
Date:   Wed Jul 9 11:56:02 2014 -0500

    Update to version 0.1.0
    
    Signed-off-by: Tony Asleson <tasleson at redhat.com>

 .gitignore          |    1 +
 libstoragemgmt.spec |  171 ++++++++++++++++++++++++++++++++++++++------------
 sources             |    2 +-
 3 files changed, 132 insertions(+), 42 deletions(-)
---
diff --cc libstoragemgmt.spec
index 59afa4a,cb1be61..968a1fb
--- a/libstoragemgmt.spec
+++ b/libstoragemgmt.spec
@@@ -7,10 -35,12 +35,13 @@@ License:        LGPLv2
  URL:            http://sourceforge.net/projects/libstoragemgmt/
  Source0:        http://sourceforge.net/projects/libstoragemgmt/files/libstoragemgmt-%{version}.tar.gz
  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- 
- BuildRequires:  autoconf automake libtool yajl-devel libxml2-devel check-devel glib2-devel
- BuildRequires:  gcc-c++
++BuildRequires:  autoconf automake libtool yajl-devel libxml2-devel check-devel glib2-devel openssl-devel 
++BuildRequires:  gcc-c++ python-argparse
  Requires:       %{name}-python
+ BuildRequires:  autoconf automake libtool yajl-devel libxml2-devel check-devel openssl-devel
 -BuildRequires:  glib2-devel
 -# Explicitly require gcc-c++
++BuildRequires:  glib2-devel python-argparse
++# Explicitly require gcc-c++ is for OBS
+ BuildRequires:  gcc-c++
 -Requires:       %{name}-python
  
  %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
  BuildRequires:  systemd-units
@@@ -40,9 -70,9 +71,10 @@@ developing applications that use %{name
  Summary:        Python client libraries and plug-in support for %{name}
  Group:          System Environment/Libraries
  Requires:       %{name} = %{version}-%{release}
++Requires:       python-argparse
  BuildArch:      noarch
  
- %description	python
+ %description    python
  The %{name}-python package contains python client libraries as
  well as python framework support and open source plug-ins written in python.
  
@@@ -113,6 -141,26 +143,18 @@@ BuildArch:      noarc
  The %{name}-nstor-plugin package contains plug-in for NexentaStor array
  support.
  
 -%package        udev
 -Summary:        udev files for %{name}
 -Group:          System Environment/Base
 -
 -%description    udev
 -The %{name}-udev package contains udev rules and helper utilities for
 -uevents generated by the kernel.
 -
+ %if 0%{?with_rest_api}
+ %package        rest
+ Summary:        REST API daemon for %{name}
+ Group:          System Environment/Daemons
+ Requires:       %{name}%{?_isa} = %{version}-%{release}
+ Requires:       libmicrohttpd json-c
+ BuildRequires:  libmicrohttpd-devel json-c-devel
+ 
+ %description    rest
+ the %{name}-rest package contains the http daemon for %{name} rest api.
+ %endif
+ 
  %prep
  %setup -q
  
@@@ -266,10 -359,31 +347,23 @@@ f
  
  %files nstor-plugin
  %defattr(-,root,root,-)
- %{python_sitelib}/lsm/nstor.*
+ %{python_sitelib}/lsm/plugin/nstor/__init__.*
+ %{python_sitelib}/lsm/plugin/nstor/nstor.*
  %{_bindir}/nstor_lsmplugin
  
 -%files udev
 -%defattr(-,root,root,-)
 -/lib/udev/scan-scsi-target
 -/lib/udev/rules.d/90-scsi-ua.rules
 -
+ %if 0%{?with_rest_api}
+ %files rest
+ %defattr(-,root,root,-)
+ %{_bindir}/lsm_restd
+ %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
+ %{_unitdir}/libstoragemgmt-rest.service
+ %endif
+ %endif
+ 
  %changelog
+ * Thu Jul 3 2014 Tony Asleson <tasleson at redhat.com> - 0.1.0-1
+ - New upstream release
+ 
 -* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.24-2
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 -
  * Thu Jan 30 2014 Tony Asleson <tasleson at redhat.com> 0.0.24-1
  - New upstream release
  


More information about the scm-commits mailing list