On 10/15/2015 07:46 PM, [email protected] wrote:
 From c7493300b75beeed3980723ecddc68185438a0a8 Mon Sep 17 00:00:00 2001
From: jehane <[email protected]>
Date: Sun, 11 Oct 2015 17:01:09 +0200
Subject: new version

- Upstream switch to github, minor spec adaptation
---
  .gitignore                 |  1 +
  fusioninventory-agent.spec | 16 ++++++++++------
  sources                    |  2 +-
  3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index c55cab8..5bdc389 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
  /FusionInventory-Agent-2.3.15.tar.gz
  /FusionInventory-Agent-2.3.16.tar.gz
+/2.3.17.tar.gz
diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec
index 75572f2..a8de963 100644
--- a/fusioninventory-agent.spec
+++ b/fusioninventory-agent.spec
@@ -9,11 +9,11 @@ Group:       Applications/System
  License:     GPLv2+
  URL:         http://fusioninventory.org/

-Version:     2.3.16
-Release:     5%{?dist}
+Version:     2.3.17
+Release:     1%{?dist}
  #BuildArch:   noarch
-Source0:     
http://search.cpan.org/CPAN/authors/id/G/GR/GROUSSE/FusionInventory-Agent-%{version}%{?prever}.tar.gz
-Source1:   %{name}.cron
+Source0:     
https://github.com/fusioninventory/fusioninventory-agent/archive/%{version}.tar.gz
+Source1:     %{name}.cron
  #Source2:   %{name}.init
  #Source3:   %{name}.service

@@ -163,7 +163,7 @@ Requires:   perl(Parse::EDID)
  %description task-inventory
  fusioninventory-task-inventory
  %prep
-%setup -q -n FusionInventory-Agent-%{version}%{?prever}
+%setup -q -n %{name}-%{version}%{?prever}

  # This work only on older version, and is ignored on recent
  cat <<EOF | tee %{name}-req
@@ -172,7 +172,7 @@ cat <<EOF | tee %{name}-req
  sed -e '/perl(Win32/d'
  EOF

-%global __perl_requires 
%{_builddir}/FusionInventory-Agent-%{version}%{?prever}/%{name}-req
+%global __perl_requires %{_builddir}/%{name}-%{version}%{?prever}/%{name}-req
  chmod +x %{__perl_requires}

  cat <<EOF | tee logrotate
@@ -309,6 +309,10 @@ install -m 644 -D contrib/yum-plugin/%{name}.conf 
%{buildroot}%{_sysconfdir}/yum


  %changelog
+* Wed Oct 7 2015 Marianne Lombard <[email protected]> - 2.3.17
+- new version
+- Upstream switch to github, minor spec adaptation

Please reconsider the change and pick up tarballs from cpan.org.

Ralf


--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to