Tomohiro "Tomo-p" KATO 2 éve
szülő
commit
dd22ad05bd
1 módosított fájl, 22 hozzáadás és 17 törlés
  1. 22 17
      lib/liba/libasyncns/libasyncns-vl.spec

+ 22 - 17
lib/liba/libasyncns/libasyncns-vl.spec

@@ -5,35 +5,36 @@ Summary(ja): 非同期ネームサービスライブラリ
 
 Name: libasyncns
 Version: 0.8
-Release: 3%{?_dist_release}
-Group: System Environment/Libraries
-Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
-License: LGPLv2+
-Url: http://0pointer.de/lennart/projects/libasyncns/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-
+Release: 4%{?_dist_release}
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
+License: LGPLv2+
+URL: http://0pointer.de/lennart/projects/libasyncns/
+Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
+
 %description
 A small and lightweight library that implements easy to use asynchronous
 wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
 
+
 %package devel
 Summary: Development Files for libasyncns Client Development
 Summary(ja): %{name} クライアント用の開発ファイル
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: pkgconfig
 
 %description devel
 Development Files for libasyncns Client Development
 
+
 # compat32
 %package -n compat32-%{name}
 Summary: Asynchronous Name Service Library
 Summary(ja): 非同期ネームサービスライブラリ
-Group: System Environment/Libraries
+Group: system,legacy
 Requires: %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -43,7 +44,7 @@ wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
 %package -n compat32-%{name}-devel
 Summary: Development Files for libasyncns Client Development
 Summary(ja): %{name} クライアント用の開発ファイル
-Group: Development/Libraries
+Group: programming,legacy
 Requires: compat32-%{name} = %{version}-%{release}
 Requires: %{name}-devel = %{version}-%{release}
 
@@ -51,34 +52,34 @@ Requires: %{name}-devel = %{version}-%{release}
 Development Files for libasyncns Client Development
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%debug_package
 
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
 
 %prep
 %setup -q
 
+
 %build
 %configure --disable-static
-make
+make %{?_smp_mflags}
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
+rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+
 %files
 %defattr(-,root,root)
 %license LICENSE
 %doc README
 %{_libdir}/libasyncns.so.*
-%{_docdir}/%{name}/README*
-%{_docdir}/%{name}/style.css
 
 %files devel
 %defattr(-,root,root)
@@ -100,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Nov 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-4
+- rebuilt with current environment.
+- dropped ldconfig scriptlets.
+
 * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
 - rebuilt with current environment.