[packETH/f19] Update to 1.7.2

lystor lystor at fedoraproject.org
Tue Mar 26 22:15:52 UTC 2013


commit 6cbf56bc9129632e4de37aad84b3c1c3e2105c54
Author: lystor <lystor at bee.pkgs.org>
Date:   Wed Mar 27 00:15:32 2013 +0200

    Update to 1.7.2

 .gitignore   |    1 +
 packETH.spec |   30 ++++++++++++++++++------------
 sources      |    2 +-
 3 files changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0c31223..d551425 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 packETH-1.6.5.tar.bz
 /packETH-1.7.tar.bz2
+/packETH-1.7.2.tar.bz2
diff --git a/packETH.spec b/packETH.spec
index 8c934c3..4aba3c3 100644
--- a/packETH.spec
+++ b/packETH.spec
@@ -1,15 +1,15 @@
 Name:           packETH
-Version:        1.7
-Release:        6%{?dist}
+Version:        1.7.2
+Release:        1%{?dist}
 Summary:        A GUI packet generator tool
 
 Group:          Applications/Internet
 License:        GPLv2+
 URL:            http://sourceforge.net/projects/packeth/
-Source0:        http://downloads.sourceforge.net/packeth/%{name}-%{version}.tar.bz2
+Source0:        http://downloads.sourceforge.net/project/packeth/packETH-%{version}.tar.bz2
 Source1:        packETH.desktop
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires:  autoconf automake
 BuildRequires:  desktop-file-utils
 BuildRequires:  gtk2-devel
 
@@ -27,23 +27,26 @@ send wrong parameters like: incorrect checksum, wrong header length, etc.).
 
 
 %build
+# fix build issue
+sed -i 's/^LIBS=/LIBS+=/' Makefile.am
+autoreconf
+
+# build
 %configure
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} DESTDIR=%{buildroot} INSTALL="%{_bindir}/install -p" install 
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
 
 # Install desktop file
-%{__install} -d %{buildroot}%{_datadir}/applications
-desktop-file-install \
-    --dir=%{buildroot}%{_datadir}/applications \
-    %{SOURCE1}
+mkdir -p %{buildroot}%{_datadir}/applications/
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 
 %files
@@ -55,6 +58,9 @@ desktop-file-install \
 
 
 %changelog
+* Tue Mar 26 2013 Nikolay Ulyanitsky <lystor AT gmail.com> - 1.7.2
+- Update to 1.7.2
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index c0fca6d..4e8e1d8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-640d3ad27f3eef8e6f0066a3c83804b9  packETH-1.7.tar.bz2
+dab613ab413e959cb5c1ef6fd385a041  packETH-1.7.2.tar.bz2


More information about the scm-commits mailing list