OBS User unknown 2008-07-24 20:00:48 +00:00 committed by Git OBS Bridge
parent a5d8e7d899
commit 79b0292cb3
2 changed files with 13 additions and 1 deletions

View File

@ -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 Mon Jun 30 13:19:56 CEST 2008 - schwab@suse.de

View File

@ -15,7 +15,7 @@ Name: rpmlint-mini
BuildRequires: glib2-devel pkg-config rpm-python rpmlint BuildRequires: glib2-devel pkg-config rpm-python rpmlint
Summary: Rpm correctness checker Summary: Rpm correctness checker
Version: 1.0 Version: 1.0
Release: 159 Release: 170
Url: http://rpmlint.zarb.org/ Url: http://rpmlint.zarb.org/
License: GPL v2 or later License: GPL v2 or later
Group: System/Packages Group: System/Packages
@ -49,6 +49,11 @@ make desktop-file-validate
popd popd
%install %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 # okay, lets put it together
mkdir -p $RPM_BUILD_ROOT/opt/testing/share/rpmlint 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 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 /opt/testing
%changelog %changelog
* Thu Jul 24 2008 dmueller@suse.de
- support even OBS style of building
* Mon Jun 30 2008 schwab@suse.de * Mon Jun 30 2008 schwab@suse.de
- Fix syntax error. - Fix syntax error.
* Sat Jun 28 2008 dmueller@suse.de * Sat Jun 28 2008 dmueller@suse.de