Use %autosetup instead of deprecated %patchX macros
and reindent patches Fixes: RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N)
This commit is contained in:
parent
895b14b241
commit
6d9e759e76
@ -6,14 +6,14 @@ Url: http://projects.o-hand.com/matchbox/
|
||||
License: LGPLv2+
|
||||
Source: http://projects.o-hand.com/matchbox/sources/libmatchbox/%{version}/%{name}-%{version}.tar.bz2
|
||||
Patch0: libmatchbox-1.9-add-needed.patch
|
||||
Patch1: libmatchbox-1.9-libpng.patch
|
||||
Patch2: libmatchbox-c99.patch
|
||||
Patch1: libmatchbox-1.9-libpng.patch
|
||||
Patch2: libmatchbox-c99.patch
|
||||
BuildRequires: pango-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Matchbox is a base environment for the X Window System running on non-desktop
|
||||
@ -33,10 +33,7 @@ Requires: pkgconfig
|
||||
Static libraries and header files from %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .add-needed
|
||||
%patch1 -p1 -b .libpng
|
||||
%patch2 -p1
|
||||
%autosetup -p 1
|
||||
|
||||
%build
|
||||
autoreconf -v --install
|
||||
|
Loading…
Reference in New Issue
Block a user