- fix linking with --no-add-needed (#564724)
This commit is contained in:
parent
cd7c669b92
commit
8fc20779e6
12
rpmreaper-0.1.6-librpm.patch
Normal file
12
rpmreaper-0.1.6-librpm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up rpmreaper-0.1.6/Makefile.librpm rpmreaper-0.1.6/Makefile
|
||||
--- rpmreaper-0.1.6/Makefile.librpm 2009-04-02 10:18:29.000000000 +0200
|
||||
+++ rpmreaper-0.1.6/Makefile 2010-02-15 13:26:29.000000000 +0100
|
||||
@@ -2,7 +2,7 @@ NAME = rpmreaper
|
||||
VERSION = 0.1.6
|
||||
|
||||
CFLAGS = -O -g -Wall
|
||||
-LDFLAGS = -lrpmbuild -lncurses
|
||||
+LDFLAGS = -lrpm -lncurses
|
||||
|
||||
prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
@ -1,12 +1,13 @@
|
||||
Name: rpmreaper
|
||||
Version: 0.1.6
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A tool for removing packages from system
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
URL: https://fedorahosted.org/rpmreaper/
|
||||
Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0: rpmreaper-0.1.6-librpm.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: ncurses-devel rpm-devel
|
||||
@ -17,6 +18,7 @@ allows removing unnecessary packages and their dependencies from the system.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .librpm
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||
@ -35,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 15 2010 Miroslav Lichvar <mlichvar@redhat.com> 0.1.6-3
|
||||
- fix linking with --no-add-needed (#564724)
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user