New upstream release
In addition: - Separate package for python libraries - Make timestamps match on version.py in library - Add python-paramiko requirement for IBM plug-in Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
parent
ddd4a1b626
commit
67a963b3fe
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
||||
/libstoragemgmt-0.0.17.tar.gz
|
||||
/libstoragemgmt-0.0.18.tar.gz
|
||||
/libstoragemgmt-0.0.19.tar.gz
|
||||
/libstoragemgmt-0.0.20.tar.gz
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
Name: libstoragemgmt
|
||||
Version: 0.0.19
|
||||
Version: 0.0.20
|
||||
Release: 1%{?dist}
|
||||
Summary: Storage array management library
|
||||
Group: System Environment/Libraries
|
||||
@ -8,8 +8,8 @@ URL: http://sourceforge.net/projects/libstoragemgmt/
|
||||
Source0: http://sourceforge.net/projects/libstoragemgmt/files/Alpha/libstoragemgmt-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: yajl-devel libxml2-devel pywbem check-devel m2crypto glib2-devel
|
||||
Requires: pywbem m2crypto
|
||||
BuildRequires: yajl-devel libxml2-devel pywbem check-devel m2crypto glib2-devel python-paramiko
|
||||
Requires: pywbem m2crypto %{name}-python python-paramiko
|
||||
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: systemd-units
|
||||
@ -35,14 +35,31 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package python
|
||||
Summary: Python client libraries and plug-in support for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description python
|
||||
The %{name}-python package contains python client libraries as
|
||||
well as python framework support and open source plug-ins written in python.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
#The version.py gets created so set the .py to match .py.in times
|
||||
UpdateTimestamps(){
|
||||
touch -r lsm/lsm/version.py.in lsm/lsm/version.py
|
||||
}
|
||||
|
||||
#Tell the install program to preserve file date/timestamps
|
||||
%configure --disable-static INSTALL_DATA="\${INSTALL} -p"
|
||||
|
||||
UpdateTimestamps
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
@ -117,9 +134,6 @@ fi
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/*
|
||||
|
||||
#Python library files
|
||||
%{python_sitelib}/*
|
||||
|
||||
%if 0%{?fedora}
|
||||
%{_unitdir}/*
|
||||
%endif
|
||||
@ -139,7 +153,18 @@ fi
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libstoragemgmt.pc
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
#Python library files
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Tue May 28 2013 Tony Asleson <tasleson@redhat.com> - 0.0.20-1
|
||||
- New upstream release
|
||||
- Separate package for python libraries
|
||||
- Make timestamps match on version.py in library
|
||||
- Add python-paramiko requirement for IBM plug-in
|
||||
|
||||
* Mon Apr 22 2013 Tony Asleson <tasleson@redhat.com> - 0.0.19-1
|
||||
- New upstream release
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user