mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Fixed Fedora package failing to build
Former-commit-id: fdc66ed52e253d72fdf9e3bef5f8913a97f03611 Former-commit-id: d8b294856487cfa71dc55b136a4649a1f30d83d7
This commit is contained in:
+8
-8
@@ -267,19 +267,19 @@ URL: https://github.com/rwinkhart/sshyp
|
|||||||
Source0: GENERIC-FEDORA-sshyp-"$version".tar.xz
|
Source0: GENERIC-FEDORA-sshyp-"$version".tar.xz
|
||||||
Requires: python gnupg openssh-clients wl-clipboard
|
Requires: python gnupg openssh-clients wl-clipboard
|
||||||
Recommends: bash-completion
|
Recommends: bash-completion
|
||||||
%description
|
%%description
|
||||||
sshyp is a password-store compatible CLI password manager available for UNIX(-like) systems - its primary goal is to make syncing passwords and notes across devices as easy as possible via CLI.
|
sshyp is a password-store compatible CLI password manager available for UNIX(-like) systems - its primary goal is to make syncing passwords and notes across devices as easy as possible via CLI.
|
||||||
%install
|
%%install
|
||||||
tar xf %{_sourcedir}/GENERIC-FEDORA-sshyp-"$version".tar.xz -C %{_sourcedir}
|
tar xf %%{_sourcedir}/GENERIC-FEDORA-sshyp-"$version".tar.xz -C %%{_sourcedir}
|
||||||
cp -r %{_sourcedir}/usr %{buildroot}
|
cp -r %%{_sourcedir}/usr %%{buildroot}
|
||||||
%files
|
%%files
|
||||||
/usr/bin/sshyp
|
/usr/bin/sshyp
|
||||||
/usr/lib/sshyp/sshyp.py
|
/usr/lib/sshyp/sshyp.py
|
||||||
/usr/lib/sshyp/sshync.py
|
/usr/lib/sshyp/sshync.py
|
||||||
/usr/share/bash-completion/completions/sshyp
|
/usr/share/bash-completion/completions/sshyp
|
||||||
/usr/share/zsh/site-functions/_sshyp
|
/usr/share/zsh/site-functions/_sshyp
|
||||||
%license /usr/share/licenses/sshyp/license
|
%%license /usr/share/licenses/sshyp/license
|
||||||
%doc
|
%%doc
|
||||||
/usr/share/doc/sshyp/changelog
|
/usr/share/doc/sshyp/changelog
|
||||||
/usr/share/man/man1/sshyp.1.gz
|
/usr/share/man/man1/sshyp.1.gz
|
||||||
" > ~/rpmbuild/SPECS/sshyp.spec
|
" > ~/rpmbuild/SPECS/sshyp.spec
|
||||||
@@ -300,6 +300,7 @@ cp -r %{_sourcedir}/usr %{buildroot}
|
|||||||
gzip output/fedoratemp/usr/share/man/man1/sshyp.1
|
gzip output/fedoratemp/usr/share/man/man1/sshyp.1
|
||||||
XZ_OPT=-e6 tar -C output/fedoratemp -cvJf output/GENERIC-FEDORA-sshyp-"$version".tar.xz usr/
|
XZ_OPT=-e6 tar -C output/fedoratemp -cvJf output/GENERIC-FEDORA-sshyp-"$version".tar.xz usr/
|
||||||
rm -rf output/fedoratemp
|
rm -rf output/fedoratemp
|
||||||
|
cp output/GENERIC-FEDORA-sshyp-"$version".tar.xz ~/rpmbuild/SOURCES
|
||||||
rpmbuild -bb ~/rpmbuild/SPECS/sshyp.spec
|
rpmbuild -bb ~/rpmbuild/SPECS/sshyp.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/sshyp-"$version"-"$revision".noarch.rpm output/FEDORA-sshyp-"$version"-"$revision".noarch.rpm
|
mv ~/rpmbuild/RPMS/noarch/sshyp-"$version"-"$revision".noarch.rpm output/FEDORA-sshyp-"$version"-"$revision".noarch.rpm
|
||||||
rm -rf ~/rpmbuild
|
rm -rf ~/rpmbuild
|
||||||
@@ -390,7 +391,6 @@ case "$1" in
|
|||||||
_create_termux
|
_create_termux
|
||||||
;;
|
;;
|
||||||
fedora)
|
fedora)
|
||||||
_create_generic_linux
|
|
||||||
_create_rpm
|
_create_rpm
|
||||||
;;
|
;;
|
||||||
freebsd)
|
freebsd)
|
||||||
|
|||||||
Reference in New Issue
Block a user