blob: 789842bfa75d04587a02d866969b9ed7edefff08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%include /usr/lib/rpm/macros.perl
Summary: A tool to show diffs between rpms
Summary(pl.UTF-8): Narzędzie do pokazywania różnic między pakietami rpm
Name: urpmdiff
Version: 1.9
Release: 2
License: GPL
Group: Development
Source0: %{name}-%{version}.tar.bz2
# Source0-md5: 27126991f25d464e87f985825a8e3cd2
URL: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/urpmdiff
BuildRequires: rpm-perlprov
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
urpmdiff shows the differences between two rpms. It's intended to help
packagers to know what has changed between an old and a new version of
an rpm. Its output is reminiscent of the unified diff format.
%description -l pl.UTF-8
urpmdiff pokazuje różnice między dwoma pakietami rpm. Jego zadaniem
jest pomoc osobom pakietującym, aby wiedziały, co zmieniło się między
starą a nową wersją pakietu. Wyjście przypomina format unified diff.
%prep
%setup -q
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/urpmdiff/.packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog
%{_bindir}/urpmdiff
%{_mandir}/man1/urpmdiff.1p*
|