[packages/macchanger] - updated to 1.7.0; unify info direntry

qboosh qboosh at pld-linux.org
Thu May 15 19:43:23 CEST 2025


commit 2701585d021eb7860d02745ac1a984cb91d784b7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu May 15 19:26:48 2025 +0200

    - updated to 1.7.0; unify info direntry

 macchanger-info.patch | 15 +++++++++++++++
 macchanger.spec       | 34 +++++++++++++++++++++-------------
 2 files changed, 36 insertions(+), 13 deletions(-)
---
diff --git a/macchanger.spec b/macchanger.spec
index 236d919..c4ba7bc 100644
--- a/macchanger.spec
+++ b/macchanger.spec
@@ -1,17 +1,18 @@
 Summary:	Utility for viewing/manipulating the MAC address of network interfaces
 Summary(pl.UTF-8):	Narzędzie do oglądania/modyfikowania adresów MAC interfejsów sieciowych
 Name:		macchanger
-Version:	1.5.0
+Version:	1.7.0
 Release:	1
-License:	GPL
-Vendor:		Alvaro Lopez Ortega <alvaro at alobbs.com>
+License:	GPL v2+
 Group:		Applications/Networking
-Source0:	http://ftp.gnu.org/gnu/macchanger/%{name}-%{version}.tar.gz
-# Source0-md5:	79b7cdaeca3d8ebafa764c4b0dd03ab7
-URL:		http://www.alobbs.com/modules.php?op=modload&name=macc&file=index
-BuildRequires:	autoconf
+#Source0Download: https://github.com/alobbs/macchanger/releases
+Source0:	https://github.com/alobbs/macchanger/releases/download/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	ca56f16142914337391dac91603eb332
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/macchanger
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
-BuildRequires:	libtool
+BuildRequires:	texinfo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,14 +34,15 @@ Możliwości programu:
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
-%{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	--disable-silent-rules
 %{__make}
 
 %install
@@ -52,10 +54,16 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/macchanger
 %{_datadir}/%{name}
-%{_mandir}/man1/*
-%{_infodir}/%{name}.info*
+%{_mandir}/man1/macchanger.1*
+%{_infodir}/macchanger.info*
diff --git a/macchanger-info.patch b/macchanger-info.patch
new file mode 100644
index 0000000..e518f64
--- /dev/null
+++ b/macchanger-info.patch
@@ -0,0 +1,15 @@
+--- macchanger-1.7.0/doc/macchanger.texi.orig	2013-04-18 07:27:17.000000000 +0200
++++ macchanger-1.7.0/doc/macchanger.texi	2025-05-15 19:20:49.887060169 +0200
+@@ -31,10 +31,9 @@ approved by the Foundation.
+ @end quotation
+ @end copying
+ 
+- at dircategory Networking
+-
++ at dircategory Net utilities:
+ @direntry
+-* macchanger: (macchanger).             Utility for viewing MAC address
++* macchanger: (macchanger).		Utility for viewing MAC address
+ @end direntry
+ 
+ @titlepage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/macchanger.git/commitdiff/2701585d021eb7860d02745ac1a984cb91d784b7



More information about the pld-cvs-commit mailing list