Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Spec] Adapt spec file for new git structure
  • Loading branch information
Valerio Valerio committed Jan 23, 2015
1 parent cafbadb commit 3f47bb3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions rpm/libwbxml2.spec
@@ -1,12 +1,10 @@
%define _name libwbxml
Name: libwbxml2
Version: 0.10.8+git1
Version: 0.10.8+git2
Release: 1
Summary: Library to parse, encode and handle WBXML documents
Group: System/Libraries
License: LGPLv2.1
Source0: %{_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
BuildRequires: expat-devel zlib-devel popt-devel
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: cmake
Expand Down Expand Up @@ -40,7 +38,7 @@ Requires: %{name} = %{version}-%{release}


%prep
%setup -q -n %{_name}-%{version}
%setup -q -n %{name}-%{version}

%build
mkdir build
Expand All @@ -52,11 +50,10 @@ make
%install
rm -rf %{buildroot}
make -C build DESTDIR=%{buildroot} install

rm -rf build

%clean
rm -rf %{buildroot}


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

0 comments on commit 3f47bb3

Please sign in to comment.