This commit is contained in:
parent
6fe2ae20ed
commit
bdd117c5ba
@ -52,7 +52,7 @@ BuildRequires: rubygem-test-unit
|
|||||||
BuildRequires: libjson-c-devel
|
BuildRequires: libjson-c-devel
|
||||||
BuildRequires: swig >= 3.0.3
|
BuildRequires: swig >= 3.0.3
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(python)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -107,12 +107,12 @@ Requires: pkgconfig(libxml-2.0)
|
|||||||
This package contains header files and documentation for developing with
|
This package contains header files and documentation for developing with
|
||||||
libstorage-ng.
|
libstorage-ng.
|
||||||
|
|
||||||
%package python
|
%package python3
|
||||||
Summary: Python bindings for libstorage-ng
|
Summary: Python bindings for libstorage-ng
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description python
|
%description python3
|
||||||
This package contains Python bindings for libstorage-ng.
|
This package contains Python bindings for libstorage-ng.
|
||||||
|
|
||||||
%package ruby
|
%package ruby
|
||||||
@ -135,7 +135,7 @@ This package contains utils for libstorage-ng.
|
|||||||
%package integration-tests
|
%package integration-tests
|
||||||
Summary: Integration tests for libstorage-ng
|
Summary: Integration tests for libstorage-ng
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: libstorage-ng-python
|
Requires: libstorage-ng-python3
|
||||||
|
|
||||||
%description integration-tests
|
%description integration-tests
|
||||||
This package contains integration tests for libstorage-ng.
|
This package contains integration tests for libstorage-ng.
|
||||||
@ -160,6 +160,7 @@ make %{?_smp_mflags} check LOCALEDIR=%{buildroot}%{_datadir}/locale
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
find %{buildroot} -type f -name "*.pyc" -delete -print
|
||||||
|
|
||||||
install -d -m 755 %{buildroot}/run/libstorage
|
install -d -m 755 %{buildroot}/run/libstorage
|
||||||
touch %{buildroot}/run/libstorage/lock
|
touch %{buildroot}/run/libstorage/lock
|
||||||
@ -188,10 +189,10 @@ touch %{buildroot}/run/libstorage/lock
|
|||||||
%dir %{_docdir}/%{name}/
|
%dir %{_docdir}/%{name}/
|
||||||
%doc %{_docdir}/%{name}/*
|
%doc %{_docdir}/%{name}/*
|
||||||
|
|
||||||
%files python
|
%files python3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitelib}/storage.py*
|
%{python3_sitelib}/storage.py*
|
||||||
%attr(755,root,root) %{python_sitearch}/_storage.so
|
%attr(755,root,root) %{python3_sitearch}/_storage.so
|
||||||
|
|
||||||
%files ruby
|
%files ruby
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -204,7 +205,7 @@ touch %{buildroot}/run/libstorage/lock
|
|||||||
|
|
||||||
%files integration-tests
|
%files integration-tests
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitelib}/storageitu.py*
|
%{python3_sitelib}/storageitu.py*
|
||||||
%dir %{_libexecdir}/libstorage-ng
|
%dir %{_libexecdir}/libstorage-ng
|
||||||
%{_libexecdir}/libstorage-ng/integration-tests
|
%{_libexecdir}/libstorage-ng/integration-tests
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user