Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions pakiti.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
## github commit ference
%global commit 1f59f72da85834a3e686e4a26c9e6bb3410a4389
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global github_name pakiti3


Summary: Patching status monitoring tool
Name: pakiti
Version: 3.0.0
Release: 1%{?dist}
URL: https://github.com/CESNET/pakiti3
License: ASL 2.0
Group: Utilities/System
Source0: pakiti-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
License: ASL 2.0 and BSD
Group: Applications/Internet
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: perl

Expand All @@ -26,7 +32,7 @@ Runs rpm -qa or dpkg -l, depends on the linux distro. Results are sent to the
central Pakiti server using openssl s_client or curl.

%prep
%setup
%setup -qn %{github_name}-%{commit}

%build
mkdir man
Expand All @@ -44,3 +50,8 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{_bindir}/*
%{_mandir}/man?/*


%changelog
* Tue Dec 09 2014 Adrien Devresse <adevress at cern.ch> - 3.0.0-1
- Initial release for pakiti 3.0.0