#5 Spec file cleanup
Closed 5 months ago by carlosrodrifernandez. Opened 3 years ago by robert.
rpms/ robert/libcap cleanup  into  rawhide

file modified
+9 -10
@@ -16,7 +16,7 @@ 

  

  %package static

  Summary: Static libraries for libcap development

- Requires: %{name} = %{version}-%{release}

+ Requires: %{name}%{?_isa} = %{version}-%{release}

  

  %description static

  The libcap-static package contains static libraries needed to develop programs
@@ -27,7 +27,7 @@ 

  

  %package devel

  Summary: Development files for libcap

- Requires: %{name} = %{version}-%{release}

+ Requires: %{name}%{?_isa} = %{version}-%{release}

  

  %description devel

  Development files (Headers, etc) for libcap.
@@ -47,16 +47,15 @@ 

       INCDIR=%{_includedir} MANDIR=%{_mandir} PKGCONFIGDIR=%{_libdir}/pkgconfig/

  

  %install

- make install RAISE_SETFCAP=no \

-              DESTDIR=%{buildroot} \

-              LIBDIR=%{_libdir} \

-              SBINDIR=%{_sbindir} \

-              PKGCONFIGDIR=%{_libdir}/pkgconfig/

+ %make_install RAISE_SETFCAP=no \

+               LIBDIR=%{_libdir} \

+               SBINDIR=%{_sbindir} \

+               PKGCONFIGDIR=%{_libdir}/pkgconfig/

  

- mkdir -p %{buildroot}/%{_mandir}/man{2,3,8}

- mv -f doc/*.3 %{buildroot}/%{_mandir}/man3/

+ mkdir -p %{buildroot}%{_mandir}/man{2,3,8}

+ mv -f doc/*.3 %{buildroot}%{_mandir}/man3/

  

- chmod +x %{buildroot}/%{_libdir}/*.so.*

+ chmod +x %{buildroot}%{_libdir}/*.so.*

  

  %ldconfig_scriptlets

  

no initial comment

We have done several changes in a different PR, and the changes in this PR no longer applies. Thank you @robert for your PR.

Pull-Request has been closed by carlosrodrifernandez

5 months ago