diff --git a/rpmlint-mini.changes b/rpmlint-mini.changes index 7dcbadb..e9caa6e 100644 --- a/rpmlint-mini.changes +++ b/rpmlint-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 24 11:58:01 CEST 2008 - dmueller@suse.de + +- support even OBS style of building + ------------------------------------------------------------------- Mon Jun 30 13:19:56 CEST 2008 - schwab@suse.de diff --git a/rpmlint-mini.spec b/rpmlint-mini.spec index 0ae120b..04e82b9 100644 --- a/rpmlint-mini.spec +++ b/rpmlint-mini.spec @@ -15,7 +15,7 @@ Name: rpmlint-mini BuildRequires: glib2-devel pkg-config rpm-python rpmlint Summary: Rpm correctness checker Version: 1.0 -Release: 159 +Release: 170 Url: http://rpmlint.zarb.org/ License: GPL v2 or later Group: System/Packages @@ -49,6 +49,11 @@ make desktop-file-validate popd %install +# test if the rpmlint works at all +set +e +/usr/bin/rpmlint rpmlint +test $? -gt 0 -a $? -lt 60 && exit 1 +set -e # okay, lets put it together mkdir -p $RPM_BUILD_ROOT/opt/testing/share/rpmlint install -m 755 -D src/desktop-file-validate $RPM_BUILD_ROOT/opt/testing/bin/desktop-file-validate @@ -94,6 +99,8 @@ rm -rf $RPM_BUILD_ROOT /opt/testing %changelog +* Thu Jul 24 2008 dmueller@suse.de +- support even OBS style of building * Mon Jun 30 2008 schwab@suse.de - Fix syntax error. * Sat Jun 28 2008 dmueller@suse.de