diff --git a/package.yml b/package.yml index 40a8577..08694ec 100644 --- a/package.yml +++ b/package.yml @@ -1,6 +1,6 @@ name : openslp version : 2.0.0 -release : 6 +release : 7 source : # The official repository has moved from SourceForge to GitHub. # No releases have been made since 2013, but there is an abundance of commits with fixes. @@ -37,12 +37,6 @@ build : | cd openslp %make - - # Preparation of man pages - gzip -c $pkgfiles/man/en/slptool.1 > slptool.1.gz.en - gzip -c $pkgfiles/man/en/slpd.8 > slpd.8.gz.en - gzip -c $pkgfiles/man/ru/slptool.1 > slptool.1.gz.ru - gzip -c $pkgfiles/man/ru/slpd.8 > slpd.8.gz.ru install : | cd openslp @@ -51,10 +45,11 @@ install : | install -Dm 00644 $pkgfiles/openslp.service $installdir/usr/lib/systemd/system/openslp.service install -Dm 00644 $pkgfiles/slp.pc $installdir/usr/lib64/pkgconfig/slp.pc - install -Dm 00644 slptool.1.gz.en $installdir/usr/share/man/man1/slptool.1.gz - install -Dm 00644 slpd.8.gz.en $installdir/usr/share/man/man8/slpd.8.gz - install -Dm 00644 slptool.1.gz.ru $installdir/usr/share/man/ru/man1/slptool.1.gz - install -Dm 00644 slpd.8.gz.ru $installdir/usr/share/man/ru/man8/slpd.8.gz + # Install man pages + install -Dm 00644 $pkgfiles/man/en/slptool.1 $installdir/usr/share/man/man1/slptool.1 + install -Dm 00644 $pkgfiles/man/en/slpd.8 $installdir/usr/share/man/man8/slpd.8 + install -Dm 00644 $pkgfiles/man/ru/slptool.1 $installdir/usr/share/man/ru/man1/slptool.1 + install -Dm 00644 $pkgfiles/man/ru/slpd.8 $installdir/usr/share/man/ru/man8/slpd.8 install -dm00755 $installdir/usr/share/defaults/etc/ mv $installdir/etc/openslp $installdir/usr/share/defaults/etc/