Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
Tools
>
rpmrebuild
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
rpmrebuild.spec
@@ -9,7 +9,7 @@ License: GPL Group: Development/Tools BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build -Source: rpmrebuild-%{version}.tar.gz +Source: rpmrebuild-%{version}.tar.bz2 # Following are optional fields Url: http://rpmrebuild.sourceforge.net BuildArchitectures: noarch @@ -56,57 +56,6 @@ %files -f rpmrebuild.files -%postun -#echo "%postun $1" - -[ $1 -ne 0 ] && exit 0 || : -######################################## -# This code should remove all lines from -# the line contains 'RPMREBUILD START' -# till (include) line 'RPMREBUILD END' -# in the file /etc/popt -######################################## - -POPT=/etc/popt - -if [ -f $POPT ]; then - sed -i -e '/RPMREBUILD START/,/RPMREBUILD END/d' $POPT -fi - -%triggerin -- rpm < 4.0.3 -#echo "%triggerin -- rpm < 4.0.3 ('$1' '$2')" - -######################################## -# This code should remove all lines from -# the line contains 'RPMREBUILD START' -# till (include) line 'RPMREBUILD END' -# in the file /etc/popt -######################################## - -POPT=/etc/popt - -if [ -f $POPT ]; then - sed -i -e '/RPMREBUILD START/,/RPMREBUILD END/d' $POPT -fi -cat /usr/lib/rpmrebuild/popt-without-POPTdesc >> /etc/popt || exit - -%triggerin -- rpm >= 4.0.3 -#echo "%triggerin -- rpm >= 4.0.3 ('$1' '$2')" - -######################################## -# This code should remove all lines from -# the line contains 'RPMREBUILD START' -# till (include) line 'RPMREBUILD END' -# in the file /etc/popt -######################################## - -POPT=/etc/popt - -if [ -f $POPT ]; then - sed -i -e '/RPMREBUILD START/,/RPMREBUILD END/d' $POPT -fi -cat /usr/lib/rpmrebuild/popt-with-POPTdesc >> /etc/popt || exit - %changelog * Tue Dec 15 2009 Carsten Schoene <cs@linux-administrator.com> - 2.4-1 - new release 2.4