Federico Bruni wrote: > I know. Two days ago I wrote: > > > I must duplicate it, since upstream is copying that file in the doc > > dir: OK, then you need to delete the file after %make_install, and then also not add it again in the %files section. I can't tell what went wrong as I don't know exactly what the spec file looked like in each of your attempts, but the attached patch makes it work for me. > You'd rather go with asking upstream to fix it? There isn't really any obviously better choice to make upstream as long as there is no installdir in the GNU Coding Standards. > I was subscribed to devel, then I unsubscribed due to the high traffic. Yes, it is a high-traffic list. A good email client is necessary to cope with it. Björn Persson
diff --git a/extractpdfmark.spec b/extractpdfmark.spec index 576614f..a5d8f42 100644 --- a/extractpdfmark.spec +++ b/extractpdfmark.spec @@ -7,7 +7,7 @@ License: GPLv3+ URL: https://github.com/trueroad/extractpdfmark/ Source0: https://github.com/trueroad/extractpdfmark/releases/download/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: automake gettext-devel poppler-devel +BuildRequires: automake gettext-devel poppler-devel gcc-c++ %description When you create a PDF document using something like a TeX system you may include @@ -48,6 +48,7 @@ PDF. By using this you can get the small PDF files that have preserved them. %install %make_install +rm %{buildroot}%{_pkgdocdir}/COPYING %check make check @@ -58,7 +59,7 @@ make check %license COPYING -%doc README.* COPYING +%doc README.*
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx