@matheusbsbs / matheus-bagliano / commits / 5250929d60
Fork 0

Remove unused WITH_OWN_SUBPROCESS_PY from RPM spec

We don't have a copy of subprocess.py anymore, so we removed that option from the Makefile. Let's not leave that cruft around the RPM spec file either. Signed-off-by: Junio C Hamano <junkio@cox.net>

Brian Gernhardt committed Mar 27, 2007 at 12:03 UTC 5250929d6010083779d334634dcd6766de045b1f
1 file changed +4 -5
git.spec.in
+4 -5
@@ -92,15 +92,14 @@ Perl interface to Git
92 %setup -q
93
94 %build
95 -make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_OWN_SUBPROCESS_PY=YesPlease \
96 - WITH_P4IMPORT=YesPlease prefix=%{_prefix} all %{!?_without_docs: doc}
95 +make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_P4IMPORT=YesPlease \
96 + prefix=%{_prefix} all %{!?_without_docs: doc}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
101 - WITH_OWN_SUBPROCESS_PY=YesPlease WITH_P4IMPORT=YesPlease \
102 - prefix=%{_prefix} mandir=%{_mandir} INSTALLDIRS=vendor \
103 - install %{!?_without_docs: install-doc}
101 + WITH_P4IMPORT=YesPlease prefix=%{_prefix} mandir=%{_mandir} \
102 + INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
103 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
104 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
105 find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'