From 0a885a2259b382f2699c9f9d67293651ba736aec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 17 Mar 2007 12:15:52 +0000 Subject: [PATCH] - cflags, and therefore not noarch Changed files: InDependence.spec -> 1.2 --- InDependence.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/InDependence.spec b/InDependence.spec index f8dafe8..6b608e8 100644 --- a/InDependence.spec +++ b/InDependence.spec @@ -5,10 +5,9 @@ Release: 1 Group: Applications/System Source0: %{name}_%{version}.tar.gz # Source0-md5: df419e1443683305891060985f723902 -Patch0: %{name}_1.0-rpmlib.asp.patch +Patch0: %{name}-rpmlib.patch License: Artistic License URL: http://www.cse.ogi.edu/DISC/projects/independence/ -BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -30,7 +29,10 @@ administrator. "rpmtc foo.rpm" will transitively compute the - %patch0 -p1 %build -%{__make} +%{__make} \ + CC="%{__cc}" + CFLAGS="%{rpmcflags}" \ + LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -- 2.43.0