https://bugzilla.redhat.com/show_bug.cgi?id=1367769



--- Comment #2 from Igor Gnatenko <ignate...@redhat.com> ---
> %autosetup -n %{name}-%{version}
%autosetup

> %{__python2} setup.py build
%py2_build

> %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%py2_install

> %description
> %{summary}
%description
%{summary}.

> gzip man/%{name}.1
> install -d %{buildroot}%{_mandir}/man1
> install -m 644 man/%{name}.1.gz %{buildroot}%{_mandir}/man1/
> %{_mandir}/man1/%{name}.1.gz
install -Dpm0644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%doc %{_mandir}/man1/%{name}.1*

> # Install examples
> install -d %{buildroot}%{_docdir}/%{name}/
> cp -r examples %{buildroot}%{_docdir}/%{name}/
> %{_docdir}/%{name}/*
%doc examples

> Source0:        
> https://pypi.python.org/packages/source/l/%{name}/%{name}-%{version}.tar.gz
is it really necessary to take from PyPI and not from GitHub? Also that link is
broken anyway.

> BuildRequires:  systemd
BuildRequires: systemd-units

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/package-review@lists.fedoraproject.org

Reply via email to