Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] %fdupes not expanding correctly
On 08 Aug 15:11, John Paul Adrian Glaubitz wrote:
Hi!

I have tried to use the %fdupes macro in my aws-sdk-cpp package [1]:

Index: aws-sdk-cpp.spec
===================================================================
--- aws-sdk-cpp.spec (revision 27e40ee71aa9d59fa4dc57c72b2b274f)
+++ aws-sdk-cpp.spec (working copy)
@@ -52,7 +52,7 @@
low- and high-level SDKs, while minimizing dependencies and providing
platform
portability (Windows, OSX, Linux, and mobile).

-This package contains the shared libaries.
+This package contains the shared libraries.

%package devel
Summary: AWS SDK for C++ - development files
@@ -86,7 +86,7 @@

%files devel
%defattr(-,root,root)
-%{_includedir}/aws/
-%{_libdir}/cmake/
-%{_libdir}/pkgconfig/
+%{_includedir}/aws
+%fdupes -s %{_libdir}/cmake

Put it at the end of %install section, not %files.

Regards,
ismail

--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)
< Previous Next >