aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 09:51:47 +0200
committerGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 09:51:47 +0200
commitabb9b4d0d4dac36b438a40e8368d8861871809ad (patch)
treebf0f7a1ba5fd4bdafafea7d47b2adaef784ebec9
parent815e6b02548575161d485ebe71ea96912f51ea5f (diff)
downloadspec-helper-abb9b4d0d4dac36b438a40e8368d8861871809ad.tar
spec-helper-abb9b4d0d4dac36b438a40e8368d8861871809ad.tar.gz
spec-helper-abb9b4d0d4dac36b438a40e8368d8861871809ad.tar.bz2
spec-helper-abb9b4d0d4dac36b438a40e8368d8861871809ad.tar.xz
spec-helper-abb9b4d0d4dac36b438a40e8368d8861871809ad.zip
a bit more consistency in various file headers
-rwxr-xr-xcheck_desktop_files38
-rwxr-xr-xcheck_elf_files1
-rwxr-xr-xclean_files1
-rwxr-xr-xcompress_files1
-rwxr-xr-xfix_eol1
-rwxr-xr-xfix_mo12
-rwxr-xr-xfix_pamd1
-rwxr-xr-xgprintify1
-rwxr-xr-xlib_symlinks12
-rw-r--r--macroszification7
-rwxr-xr-xremove_info_dir1
-rw-r--r--spec-helper.macros.in2
-rwxr-xr-xtranslate_menu10
13 files changed, 11 insertions, 77 deletions
diff --git a/check_desktop_files b/check_desktop_files
index d51935f..43dec94 100755
--- a/check_desktop_files
+++ b/check_desktop_files
@@ -1,4 +1,8 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
+
+# Copyright 2016 by Shlomi Fish
+# This program is distributed under the MIT (X11) License:
+# http://www.opensource.org/licenses/mit-license.php
use strict;
use warnings;
@@ -37,35 +41,3 @@ sub main
}
main(@ARGV);
-
-__END__
-
-=head1 COPYRIGHT & LICENSE
-
-Copyright 2016 by Shlomi Fish
-
-This program is distributed under the MIT (X11) License:
-L<http://www.opensource.org/licenses/mit-license.php>
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-=cut
diff --git a/check_elf_files b/check_elf_files
index 9a67fb9..49401e8 100755
--- a/check_elf_files
+++ b/check_elf_files
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-# $Id: check_elf_files 266655 2010-03-05 12:59:47Z peroyvind $
# Strip files
use strict;
diff --git a/clean_files b/clean_files
index 8427140..9b4408c 100755
--- a/clean_files
+++ b/clean_files
@@ -1,6 +1,5 @@
#!/usr/bin/perl
# remove backup files
-# $Id: clean_files 257535 2009-05-23 12:47:30Z guillomovitch $
use strict;
use warnings;
diff --git a/compress_files b/compress_files
index ca26bbd..10bc768 100755
--- a/compress_files
+++ b/compress_files
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-# $Id: compress_files 271302 2010-11-22 01:42:52Z fwang $
# compress man and info pages.
use strict;
diff --git a/fix_eol b/fix_eol
index 759d24e..4df6d07 100755
--- a/fix_eol
+++ b/fix_eol
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-# $Id: fix_eol 257536 2009-05-23 12:48:00Z guillomovitch $
# convert end of line patterns from DOS to UNIX
use strict;
diff --git a/fix_mo b/fix_mo
index ebda84d..f853bdc 100755
--- a/fix_mo
+++ b/fix_mo
@@ -1,13 +1,5 @@
#!/bin/sh
-#---------------------------------------------------------------
-# Project : Mandrake Linux
-# Module : spec-helper
-# File : fix-mo
-# Version : $Id: fix_mo 234135 2008-02-10 14:24:43Z guillomovitch $
-# Author : Pablo Saratxaga
-# Created On : Fri Feb 14 08:27:47 2003
-# Purpose : Fix bad translations
-#---------------------------------------------------------------
+# Fix bad translations
# HP people wants to have 'Gnome' in ascii;
# so "±×³ð" is converted to 'GNOME'
@@ -37,5 +29,3 @@ done
rm -f $TMP $TMP2
exit $ret
-
-# fix-mo ends here
diff --git a/fix_pamd b/fix_pamd
index cacd76c..d8d3d5f 100755
--- a/fix_pamd
+++ b/fix_pamd
@@ -1,5 +1,4 @@
#!/bin/sh
-# $Id: fix_pamd 257534 2009-05-23 12:45:44Z guillomovitch $
if [ -z "$RPM_BUILD_ROOT" ]; then
echo "No build root defined" >&2
diff --git a/gprintify b/gprintify
index 12dc936..6169765 100755
--- a/gprintify
+++ b/gprintify
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-# $Id: gprintify 264358 2010-01-01 22:06:32Z guillomovitch $
# convert end of line patterns from DOS to UNIX
use strict;
diff --git a/lib_symlinks b/lib_symlinks
index 74df12b..225b3ec 100755
--- a/lib_symlinks
+++ b/lib_symlinks
@@ -1,17 +1,9 @@
#!/bin/sh
-#---------------------------------------------------------------
-# Project : Linux-Mandrake
-# Module : spec-helper
-# File : lib_symlinks
-# Version : $Id: lib_symlinks 12354 2006-05-18 15:38:44Z othauvin $
-# Author : Frederic Lepied
-# Created On : Tue Nov 7 08:33:05 2000
-# Description : Run ldconfig to create symlinks to libraries.
+# Run ldconfig to create symlinks to libraries.
#
# Copyright (C) 2000 by Frederic Lepied <flepied@mandrakesoft.com>
# Redistribution of this file is permitted under the terms of the GNU
# Public License (GPL)
-#---------------------------------------------------------------
if [ -z "$RPM_BUILD_ROOT" ]; then
exit 0
@@ -25,5 +17,3 @@ libs=`find $RPM_BUILD_ROOT -type d \
if [ -n "$libs" -o -n "$EXTRA_LIBS_TO_SYMLINK" ]; then
/sbin/ldconfig -n -N $libs $EXTRA_LIBS_TO_SYMLINK
fi
-
-# lib_symlinks ends here
diff --git a/macroszification b/macroszification
index 76cb48a..b6ef99c 100644
--- a/macroszification
+++ b/macroszification
@@ -1,11 +1,10 @@
#!/bin/bash
-# -*- Mode: shell-script -*-
+# Macroszification of files to be mandrake compliant, also do some check.
+
# Copyright (C) 2000 by Chmouel Boudjnah <chmouel@mandrakesoft.com>,
# MandrakeSoft
# Redistribution of this file is permitted under the terms of the GNU
# Public License (GPL)
-## description:
-# Macroszification of files to be mandrake compliant, also do some check.
function usage () {
rval=$1
@@ -112,4 +111,4 @@ fi
if [[ -n $clean ]];then
rm -f $file.old
-fi \ No newline at end of file
+fi
diff --git a/remove_info_dir b/remove_info_dir
index e9cf936..a79cd4a 100755
--- a/remove_info_dir
+++ b/remove_info_dir
@@ -1,5 +1,4 @@
#!/bin/sh
-# $Id: remove_info_dir 257537 2009-05-23 12:48:25Z guillomovitch $
if [ -z "$RPM_BUILD_ROOT" ]; then
echo "No build root defined" >&2
diff --git a/spec-helper.macros.in b/spec-helper.macros.in
index 3c527ea..a224cfa 100644
--- a/spec-helper.macros.in
+++ b/spec-helper.macros.in
@@ -1,5 +1,3 @@
-# $Id: spec-helper.macros.in 266679 2010-03-09 00:01:53Z peroyvind $
-
%_spec_helper_dir @pkgdatadir@
%__spec_helper_post \
diff --git a/translate_menu b/translate_menu
index 7e22a7c..56c90e8 100755
--- a/translate_menu
+++ b/translate_menu
@@ -1,13 +1,5 @@
#!/usr/bin/perl
-#---------------------------------------------------------------
-# Project : Mandrake Linux
-# Module : spec-helper
-# File : translate_menu.pl
-# Version : $Id: translate_menu 233581 2008-01-29 22:08:04Z guillomovitch $
-# Author : Frederic Lepied
-# Created On : Mon Jan 26 13:37:49 2004
-# Purpose : change the menu sections
-#---------------------------------------------------------------
+# change the menu sections
use strict;
use warnings;