Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:VIFIBnexedi
Re6stnet
re6stnet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File re6stnet.spec of Package Re6stnet
%global __os_install_post %(echo '%{__os_install_post}' |grep -v brp-python-bytecompile) %define units re6stnet.service re6st-registry.service Summary: resilient, scalable, IPv6 network application Name: re6st-node Version: 0.624+slapos1.g0d8cd135c Release: 1 License: GPLv2+ Group: Applications/Internet AutoReqProv: no BuildRequires: gcc-c++, make, python, iproute #!BuildIgnore: rpmlint-Factory Source: %{name}_%{version}.tar.gz Requires: iproute %if 0%{?fedora} BuildRequires: python3-devel %endif Conflicts: re6stnet %description %prep %setup -q %build make # Fix shebangs before Fedora's shebang mangling %if 0%{?fedora} pathfix.py -i %{__python3} -p -n $(grep -l -R -e "#\!.*python$") %endif %install set $RPM_BUILD_ROOT make install PREFIX=%_prefix MANDIR=%_mandir DESTDIR=$1 %{?_unitdir:UNITDIR=%{_unitdir}} # Exclude man pages because they will be compressed. find $1 -mindepth 1 -path \*%_mandir -prune -o \ -name re6st\* -prune -printf /%%P\\n > INSTALLED %clean rm -rf "$RPM_BUILD_ROOT" INSTALLED %files -f INSTALLED %_mandir/*/* %post if [ $1 -eq 1 ]; then /bin/systemctl preset %{units} || : fi >/dev/null 2>&1 %preun if [ $1 -eq 0 ]; then /bin/systemctl --no-reload disable %{units} || : /bin/systemctl stop %{units} || : fi >/dev/null 2>&1 find /opt/re6st -type f -name '*.py[co]' -delete %postun /bin/systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ]; then /bin/systemctl try-restart %{units} >/dev/null 2>&1 || : fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor