Skip to content

Commit

Permalink
Fixed architecture for RPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Oct 9, 2014
1 parent bb5e012 commit 39215b1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ to get list cgroups processes?

You are on the right place.

yum -y install systemd-shortcuts
source /usr/share/bash-completion/sysd || echo "Or re-login"

*Warning: This is just a POC and it can be thrown out or completely rewritten.
This is not anything stable or finished. Send your comments (issues), or
better, Pull Requests.*
Expand Down Expand Up @@ -181,6 +184,12 @@ In addition to the default `sysd`, systemd-shortcuts installs a symlink called
less appropriate. I think the letter saved is not worth it, but let's see how
people like it.

TODO LIST
---------

* syd "shorter" shortcut is not yet implemented
* typo symlinks are not yet done too

SEE ALSO
--------

Expand Down
2 changes: 2 additions & 0 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ GITHUB=lzap
TAG=$(git describe --abbrev=0 --tags)

mkdir -p rpmbuild/{BUILD,SRPM,RPM,SPECS,SOURCES}/
rm -rf rpmbuild/RPMS/noarch/systemd-shortcuts-*.rpm
wget -q -c -N -P rpmbuild/SOURCES --no-check-certificate https://github.com/lzap/${PROJECT}/archive/${TAG}.tar.gz
rpmbuild --define "_topdir `pwd`/rpmbuild" -ba ${PROJECT}.spec
sudo rpm -Uvh --force rpmbuild/RPMS/noarch/systemd-shortcuts-*.rpm
7 changes: 6 additions & 1 deletion systemd-shortcuts.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
%global owner lzap

Name: systemd-shortcuts
Version: 0.1.1
Version: 0.1.2
Release: 1%{?dist}
Summary: Bash alias with code completion
Group: System Environment/Base
License: GPLv2+
URL: https://github.com/lzap/systemd-shortcuts
Source0: https://github.com/%{owner}/%{name}/archive/%{version}.tar.gz

BuildArch: noarch

Requires: systemd
BuildRequires: asciidoc

Expand All @@ -33,6 +35,9 @@ make install PREFIX=%{buildroot}/usr
%{_datadir}/man/man8/syd.8.gz

%changelog
* Thu Oct 09 2014 Lukas Zapletal <[email protected]> 0.1.2-1
- Fixed architecture (noarch)

* Thu Oct 09 2014 Lukas Zapletal <[email protected]> 0.1.1-1
- Improved makefile and man pages

Expand Down

0 comments on commit 39215b1

Please sign in to comment.