remove python-pigpio
This commit is contained in:
parent
58c5eb5fc8
commit
052592072e
19
pigpio.spec
19
pigpio.spec
@ -22,8 +22,6 @@ Patch0002: pigpiod-service.patch
|
||||
|
||||
BuildRequires: make >= 3.78
|
||||
BuildRequires: gcc >= 3.4.2
|
||||
BuildRequires: python
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: libpigpiod-if2-1 = %{version}-%{release}
|
||||
@ -33,7 +31,6 @@ Requires: libpigpio1 = %{version}-%{release}
|
||||
Requires: libpigpio-dev = %{version}-%{release}
|
||||
Requires: pigpio-tools = %{version}-%{release}
|
||||
Requires: pigpiod = %{version}-%{release}
|
||||
Requires: python-pigpio = %{version}-%{release}
|
||||
Requires: python3-pigpio = %{version}-%{release}
|
||||
AutoReq: no
|
||||
AutoProv: yes
|
||||
@ -91,13 +88,6 @@ Provides: pigpiod = %{version}-%{release}
|
||||
%description -n pigpiod
|
||||
This package provides the pigpiod daemon which offers a socket and pipe interface to the underlying library.
|
||||
|
||||
%package -n python-pigpio
|
||||
Summary: Python module which talks to the pigpio daemon (Python 2)
|
||||
Provides: python-pigpio = %{version}-%{release}
|
||||
Requires: python
|
||||
%description -n python-pigpio
|
||||
This package provides the python 2 client library.
|
||||
|
||||
%package -n python3-pigpio
|
||||
Summary: Python module which talks to the pigpio daemon (Python 3)
|
||||
Provides: python3-pigpio = %{version}-%{release}
|
||||
@ -120,7 +110,7 @@ make
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_service_path}
|
||||
mkdir -p %{buildroot}%{_doc_path}/{pigpio,pigpiod,pigpio-tools,libpigpio-dev,libpigpio1,libpigpiod-if-dev,libpigpiod-if2-1,libpigpiod-if1,python-pigpio,python3-pigpio}
|
||||
mkdir -p %{buildroot}%{_doc_path}/{pigpio,pigpiod,pigpio-tools,libpigpio-dev,libpigpio1,libpigpiod-if-dev,libpigpiod-if2-1,libpigpiod-if1,python3-pigpio}
|
||||
cd %{name}-%{version}
|
||||
make install DESTDIR=%{buildroot}
|
||||
install -p -m 644 util/pigpiod.service %{buildroot}%{_service_path}
|
||||
@ -132,13 +122,13 @@ install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/libpigpio1/
|
||||
install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/libpigpiod-if-dev/
|
||||
install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/libpigpiod-if2-1/
|
||||
install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/libpigpiod-if1/
|
||||
install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/python-pigpio/
|
||||
install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/python3-pigpio/
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc
|
||||
/usr/share/doc/pigpio/*
|
||||
%exclude /usr/lib/python2*
|
||||
|
||||
%files -n libpigpiod-if2-1
|
||||
%defattr (-, root, root)
|
||||
@ -186,11 +176,6 @@ install -p -m 644 UNLICENCE %{buildroot}%{_doc_path}/python3-pigpio/
|
||||
/usr/lib/systemd/system/pigpiod.service
|
||||
/usr/share/doc/pigpiod/*
|
||||
|
||||
%files -n python-pigpio
|
||||
%defattr (-, root, root)
|
||||
/usr/lib/python2*
|
||||
/usr/share/doc/python-pigpio/*
|
||||
|
||||
%files -n python3-pigpio
|
||||
%defattr (-, root, root)
|
||||
/usr/lib/python3*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user