Skip to content

Instantly share code, notes, and snippets.

@afb
afb / testfile.spec
Created October 4, 2013 05:09
Test file for #22930, build with: rpmbuild -bb
Summary: Test
Name: testfile
Version: 2.0
Release: 1
Group: Development
License: Public Domain
BuildArch: noarch
%description
#!/bin/sh
pkg=$1
if [ "$pkg" = "" -o ! -e "$pkg" ]; then
echo "no package supplied" 1>&2
exit 1
fi
leadsize=96
o=`expr $leadsize + 8`
#!/usr/bin/env ruby
# Copyright (C) 1997,1998,1999, Roger Espel Llima
# Copyright (C) 2000, Sergey Babkin
# Copyright (C) 2009, Alex Kozlov
# Copyright (C) 2012, Anders F Bjorklund
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and any associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the