don't try to package same docs twice
authorJan Palus <atler@pld-linux.org>
Mon, 9 Aug 2021 18:59:20 +0000 (20:59 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 9 Aug 2021 18:59:20 +0000 (20:59 +0200)
source-highlight.spec

index 049a4e8f2cce4666f35943471c161c68250b43fb..b9000bdeacd76db5fa4fb83df70827331ca6376f 100644 (file)
@@ -101,11 +101,10 @@ install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} -rf docdir-%{name}-%{version}
-%{__mv} -f $RPM_BUILD_ROOT%{_docdir}/%{name} docdir-%{name}-%{version}
-
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsource-highlight.la
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -127,7 +126,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
-%doc docdir-%{name}-%{version}/*
 %attr(755,root,root) %{_bindir}/check-regexp
 %attr(755,root,root) %{_bindir}/cpp2html
 %attr(755,root,root) %{_bindir}/java2html
This page took 0.055409 seconds and 4 git commands to generate.