From da75c96600b1cf98fb01a39ea3cf10ee7a9c310c Mon Sep 17 00:00:00 2001 From: Adrien Devresse Date: Tue, 9 Dec 2014 06:56:10 -0500 Subject: [PATCH 1/5] Packaging: minor BuildRoot path change --- pakiti.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pakiti.spec b/pakiti.spec index 2ce3fe4d..8d425817 100644 --- a/pakiti.spec +++ b/pakiti.spec @@ -6,7 +6,7 @@ URL: https://github.com/CESNET/pakiti3 License: ASL 2.0 Group: Utilities/System Source0: pakiti-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl From bc5240eb50b638207233ded0064fe8918309168c Mon Sep 17 00:00:00 2001 From: Adrien Devresse Date: Tue, 9 Dec 2014 07:20:25 -0500 Subject: [PATCH 2/5] Packaging: update with github source format --- pakiti.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pakiti.spec b/pakiti.spec index 8d425817..476ce155 100644 --- a/pakiti.spec +++ b/pakiti.spec @@ -1,3 +1,9 @@ +## 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 @@ -5,7 +11,7 @@ Release: 1%{?dist} URL: https://github.com/CESNET/pakiti3 License: ASL 2.0 Group: Utilities/System -Source0: pakiti-%{version}.tgz +Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl @@ -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 From aac2710037459f7cc6abcb587d94c84a2690354b Mon Sep 17 00:00:00 2001 From: Adrien Devresse Date: Tue, 9 Dec 2014 08:12:00 -0500 Subject: [PATCH 3/5] add initial changelog entry --- pakiti.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pakiti.spec b/pakiti.spec index 476ce155..7ca2dd1d 100644 --- a/pakiti.spec +++ b/pakiti.spec @@ -50,3 +50,8 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %{_bindir}/* %{_mandir}/man?/* + + +%changelog +* Tue Dec 09 2014 Adrien Devresse - 3.0.0-1 + - Initial release for pakiti 3.0.0 From 70809bad70eb95cb6f49aa0d1a3d363c6d7e2be4 Mon Sep 17 00:00:00 2001 From: Adrien Devresse Date: Tue, 16 Dec 2014 08:35:47 -0500 Subject: [PATCH 4/5] Add BSD license tag --- pakiti.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pakiti.spec b/pakiti.spec index 7ca2dd1d..5721360a 100644 --- a/pakiti.spec +++ b/pakiti.spec @@ -9,7 +9,7 @@ Name: pakiti Version: 3.0.0 Release: 1%{?dist} URL: https://github.com/CESNET/pakiti3 -License: ASL 2.0 +License: ASL 2.0 and BSD Group: Utilities/System Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) From 06280084ee4b5a044b9e9a94600fa4cd65850552 Mon Sep 17 00:00:00 2001 From: Adrien Devresse Date: Tue, 16 Dec 2014 08:39:04 -0500 Subject: [PATCH 5/5] - add group tag --- pakiti.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pakiti.spec b/pakiti.spec index 5721360a..c121b3b1 100644 --- a/pakiti.spec +++ b/pakiti.spec @@ -10,7 +10,7 @@ Version: 3.0.0 Release: 1%{?dist} URL: https://github.com/CESNET/pakiti3 License: ASL 2.0 and BSD -Group: Utilities/System +Group: Applications/Internet Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch