summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-21 18:02:38 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-21 18:02:38 -0800
commitb171b3d1dcdadc214c3a42fc7efbb221cae634f2 (patch)
treeb1d77d21b4aa8aa1eaf5c2778a72638dfe5867f8
parent73677a94fd71856f538baa84a396459dc361893f (diff)
downloadrpmlint-mini-b171b3d1dcdadc214c3a42fc7efbb221cae634f2.tar.gz
rpmlint-mini-b171b3d1dcdadc214c3a42fc7efbb221cae634f2.tar.bz2
rpmlint-mini-b171b3d1dcdadc214c3a42fc7efbb221cae634f2.zip
fix setup
-rw-r--r--packaging/rpmlint-mini.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/rpmlint-mini.spec b/packaging/rpmlint-mini.spec
index 57b8caf..4a49920 100644
--- a/packaging/rpmlint-mini.spec
+++ b/packaging/rpmlint-mini.spec
@@ -19,7 +19,7 @@ Version: 1.3
Release: 0
Url: http://rpmlint.zarb.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source: desktop-file-utils-0.20.tar.xz
+Source99: desktop-file-utils-0.20.tar.xz
Source100: rpmlint-deps.txt
Source101: rpmlint.wrapper
Source102: rpmlint-mini.config
@@ -31,10 +31,11 @@ Rpmlint is a tool to check common errors on rpm packages. Binary and
source packages can be checked.
%prep
-%setup -q -n desktop-file-utils-0.20
-[[ -r COPYING ]]
+tar xf %{S:99}
+cd desktop-file-utils-0.20
%build
+cd desktop-file-utils-0.20
%configure
pushd src
make desktop-file-validate V=1 DESKTOP_FILE_UTILS_LIBS="%{_libdir}/libglib-2.0.a -lpthread -lrt"