Browse Source

updated 8 packages

apt-0.5.15lorg3.95-34.git522

iptables-1.8.7-1

libmnl-1.0.4-3

libnftnl-1.1.9-1

libsass-3.6.4-1

mxml-3.2-1

sassc-3.6.1-2

sysfsutils-2.1.1-1
Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
19e89c9bfe

+ 15 - 6
a/apt/apt-vl.spec

@@ -13,7 +13,7 @@ Summary: Advanced front-end for rpm (APT - Advanced Package Tool)
 Summary(ja): RPM の高機能なフロントエンド (APT - アドバンスドパッケージツール)
 Name: apt
 Version: 0.5.15lorg3.95
-Release: 33.%{snapver}%{?_dist_release}
+Release: 34.%{snapver}%{?_dist_release}
 Group: admin-tools
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -116,6 +116,9 @@ Patch320: apt-lua-pkgdump.patch
 # add support for sqlite backend of rpm-4.16
 Patch330: apt-rpm4.16-sqlite.patch
 
+# fix bad dereferencing to string buffer
+Patch340: apt-0.5.15lorg3.95-chack-string-size.patch
+
 # from fedora 31
 # fix format-security issue
 Patch504: apt-0.5.15lorg3.95-format-security.patch
@@ -238,6 +241,7 @@ This package contains the python binding for apt libraries.
 %patch310 -p1
 %patch320 -p1
 %patch330 -p1
+%patch340 -p1
 %patch504 -p1
 
 cp %{SOURCE100} po/ja.po
@@ -250,8 +254,10 @@ cp %{SOURCE31} rpmpriorities
 # update allow-duplicated.{lua,conf}
 cp -f %{SOURCE40} %{SOURCE41} contrib/allow-duplicated/
 
+
 %build
 autoreconf -f -i
+
 %configure \
   --disable-dependency-tracking --disable-static \
   %{nil}
@@ -274,6 +280,7 @@ pushd doc/ja
 %{__make}
 popd
 
+
 %install
 rm -fr %{buildroot}
 
@@ -379,18 +386,16 @@ fi
 
 
 %post
-ldconfig -n %{_libdir}
 rm -f %{_var}/cache/apt/*.bin
 if [ ! -d /mnt/cdrom ]; then
     mkdir -p /mnt/cdrom ||:
 fi
 
-%postun
-ldconfig -n %{_libdir}
 
 %clean
 rm -rf %{buildroot}
 
+
 %files
 %defattr(0644,root,root,755)
 %license COPYING*
@@ -415,9 +420,9 @@ rm -rf %{buildroot}
 %config %{_sysconfdir}/apt/vendors.list
 %config %{_sysconfdir}/apt/rpmpriorities
 %dir %{_var}/cache/apt
-%{_var}/cache/apt
+%{_var}/cache/apt/*
 %dir %{_var}/lib/apt
-%{_var}/lib/apt
+%{_var}/lib/apt/*
 %defattr(755,root,root)
 %dir %{_libdir}/apt
 %dir %{_libdir}/apt/methods
@@ -440,7 +445,11 @@ rm -rf %{buildroot}
 %{python_sitearch}/*.py*
 %endif
 
+
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.5.15lorg3.95-34.git522
+- fixed referencing outside the buffer range.
+
 * Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.5.15lorg3.95-33.git522
 - fixed C++-lua interface.
 

+ 35 - 20
i/iptables/iptables-vl.spec

@@ -3,21 +3,26 @@
 Summary: Packet filtering tool
 Summary(ja): パケットフィルタリングツール
 Name: iptables
-Version: 1.8.4
-Release: 2%{?_dist_release}%{?with_systemd:.systemd}
-Group: System Environment/Base
+Version: 1.8.7
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
+Group: admin-tools,network
 Vendor: Project Vine
 Distribution: Vine Linux
 Packager: daisuke
-License: GPL
+
+# pf.os: ISC license
+# iptables-apply: Artistic Licence 2.0
+License: GPLv2 and Artistic Licence 2.0 and ISC
 URL: http://www.netfilter.org/
-Source0: ftp://ftp.netfilter.org/pub/iptables/%{name}-%{version}.tar.bz2
+Source0: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
 Source1: iptables.init
 Source2: iptables-config
 Source3: iptables.service
 Source4: sysconfig_iptables
 Source5: sysconfig_ip6tables
 
+Patch1: 0001-ebtables-Exit-gracefully-on-invalid-table-names.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: bison flex perl
 BuildRequires: kernel-headers >= 2.4.0
@@ -46,10 +51,11 @@ iptables は Linux kernel のネットワークパケットフィルタを制御
 ユーティリティです。これを用いることで、ファイアウオールや IP マスカレー
 ディング, NAT などを設定することができます。
 
+
 %package devel
 Summary: Libraries, includes, etc. to develop iptables
 Summary(ja): iptables 開発用ライブラリ、ヘッダファイル
-Group: Development/Libraries
+Group: programming
 Requires: iptables = %{version}-%{release}
 
 %description devel
@@ -58,10 +64,11 @@ Libraries, include files, etc you can use to develop iptables.
 %description devel -l ja
 iptables を用いた開発に使用するライブラリやヘッダファイルです。
 
+
 %package ipv6
 Summary: IPv6 Packet filtering tool
 Summary(ja): IPv6 用パケットフィルタリングツール
-Group: System Environment/Base
+Group: admin-tools,network
 Requires: %{name} = %{version}-%{release}
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -77,25 +84,25 @@ iptables-ipv6 は iptables で IPv6 をサポートするためのパッケー
 これを用いることで、IPv6 環境におけるファイアウオールや IP マスカレー
 ディング, NAT などを設定することができます。
 
+
+%debug_package
+
+
 %prep
-%setup -q
-# %patch5 -p1 -b .cloexec
+%autosetup -p1
+
 
 %build
+./autogen.sh
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-./configure \
+%configure \
 	    --enable-devel \
 	    --enable-bpf-compiler \
 	    --enable-libipq \
-	    --prefix=/usr \
 	    --bindir=/bin \
 	    --sbindir=/sbin \
-	    --sysconfdir=/etc \
-	    --libdir=%{_libdir} \
 	    --libexecdir=/%{_lib} \
 	    --with-xtlibdir=/%{_lib}/xtables \
-	    --mandir=%{_mandir} \
-	    --includedir=%{_includedir} \
 	    --with-kernel=/usr \
 	    --with-kbuild=/usr \
 	    --with-ksource=/usr
@@ -104,7 +111,10 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
-make %{?_smp_mflags}
+rm -f include/linux/types.h
+
+%make_build
+
 
 %install
 rm -rf %{buildroot}
@@ -151,8 +161,8 @@ install -c -m 755 ip6tables.init %{buildroot}/etc/rc.d/init.d/ip6tables
 %clean
 rm -rf %{buildroot}
 
+
 %post
-/sbin/ldconfig
 %if %{with systemd}
 %systemd_post iptables.service
 %else
@@ -168,11 +178,9 @@ if [ "$1" = 0 ]; then
 fi
 %endif
 
-%postun
 %if %{with systemd}
+%postun
 %systemd_postun iptables.service
-%else
-/sbin/ldconfig
 %endif
 
 %post ipv6
@@ -196,6 +204,7 @@ fi
 %systemd_postun ip6tables.service
 %endif
 
+
 %files
 %defattr(-,root,root)
 %license COPYING
@@ -262,7 +271,13 @@ fi
 %{_libdir}/pkgconfig/libipq.pc
 %{_libdir}/pkgconfig/xtables.pc
 
+
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.7-1
+- new upstream release.
+- updated ip{,6}tables.service.
+- imported Patch1 from rawhide.
+
 * Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.4-2
 - added --wait option to ip{,6}tables.init.
 

+ 18 - 17
lib/libm/libmnl/libmnl-vl.spec

@@ -1,17 +1,15 @@
 Name:           libmnl
 Version:        1.0.4
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        A minimalistic Netlink library
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
-Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://netfilter.org/projects/libmnl
 Source0:        http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: tomop
-
 %description
 libmnl is a minimalistic user-space library oriented to Netlink developers.
 There are a lot of common tasks in parsing, validating, constructing of both
@@ -22,22 +20,26 @@ to avoid re-inventing the wheel.
 
 %package        devel
 Summary:        Development files for %{name}
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name}%{_isa} = %{version}-%{release}
 
-%package 	static
-Summary: 	Static development files for %{name}
-Group:          Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
 %description    devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+
+%package        static
+Summary:        Static development files for %{name}
+Group:          programming
+Requires:       %{name}-devel = %{version}-%{release}
+
 %description 	static
 The %{name}-static package contains static libraries for devleoping applications that use %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -55,11 +57,6 @@ find examples -type d -name '.deps' -prune -exec rm -rf {} ';'
 mv examples examples-%{_arch}
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %license COPYING
 %doc README
@@ -75,7 +72,11 @@ mv examples examples-%{_arch}
 %files static
 %{_libdir}/*.a
 
+
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-3
+- dropped scriptlets.
+
 * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-2
 - rebuilt with current environment.
 

+ 25 - 19
lib/libn/libnftnl/libnftnl-vl.spec

@@ -1,65 +1,66 @@
 #global snapdate 20140903
 
 Name:           libnftnl
-Version:        1.1.6
+Version:        1.1.9
 Release:        1%{?_dist_release}
 Summary:        Library for low-level interaction with nftables Netlink's API over libmnl
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
 License:        GPLv2+
 URL:            http://netfilter.org/projects/libnftnl/
-Group:		System Environment/Libraries
-
 Source0:        http://ftp.netfilter.org/pub/libnftnl/libnftnl-%{version}.tar.bz2
 
-Vendor:         Project Vine
-Distribution:   Vine Linux
-
 BuildRequires:  libmnl-devel
 BuildRequires:  mxml-devel
 BuildRequires:  jansson-devel
 
 # replace old libnftables package
-Provides: libnftables = %{version}-%{release}
-Obsoletes: libnftables < 0-0.6
+Provides:       libnftables = %{version}-%{release}
+Obsoletes:      libnftables < 0-0.6
 
 %description
 A library for low-level interaction with nftables Netlink's API over libmnl.
 
+
 %package        devel
 Summary:        Development files for %{name}
 Summary(ja):    %{name} の開発用ファイル
-Group:		Development/Libraries
+Group:          programming
 Requires:       %{name}%{_isa} = %{version}-%{release}
 # replace old libnftables-devel package
-Provides: libnftables-devel = %{version}-%{release}
-Obsoletes: libnftables-devel < 0-0.6
+Provides:       libnftables-devel = %{version}-%{release}
+Obsoletes:      libnftables-devel < 0-0.6
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+
+%debug_package
+
+
 %prep
 #setup -q -n libnftnl-%{snapdate}
 %setup -q
 
+
 %build
 %configure --disable-static --disable-silent-rules --with-json-parsing --with-xml-parsing
 make %{?_smp_mflags}
 
-%check
-make %{?_smp_mflags} check
-# tests are broken in 1.0.1 re-enable on next update
-#cd tests
-#sh ./test-script.sh
 
 %install
 %make_install
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%check
+make %{?_smp_mflags} check
+# tests are broken in 1.0.1 re-enable on next update
+#cd tests
+#sh ./test-script.sh
 
 
 %files
@@ -71,7 +72,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %{_libdir}/pkgconfig/libnftnl.pc
 %{_includedir}/libnftnl
 
+
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.9-1
+- new upstream release.
+- dropped scriptlets.
+
 * Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.6-1
 - new upstream release.
 

+ 10 - 7
lib/libs/libsass/libsass-vl.spec

@@ -1,9 +1,9 @@
 Name:           libsass
-Version:        3.6.3
+Version:        3.6.4
 Release:        1%{?_dist_release}
 Summary:        C/C++ port of the Sass CSS precompiler
 Summary(ja):    C/C++ Sass CSS プリコンパイラ
-
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -30,6 +30,7 @@ package.
 
 %package        devel
 Summary:        Development files for %{name}
+Group:          programming
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description    devel
@@ -37,6 +38,9 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 export LIBSASS_VERSION=%{version}
@@ -53,11 +57,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %license LICENSE
 %doc Readme.md SECURITY.md
@@ -71,6 +70,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.4-1
+- new upstream release.
+- dropped scriptlets.
+
 * Wed Nov 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.3-1
 - new upstream release.
 

+ 22 - 14
m/mxml/mxml-vl.spec

@@ -1,15 +1,16 @@
 Summary:      Miniature XML development library
 Name:         mxml
-Version:      2.11
+Version:      3.2
 Release:      1%{?_dist_release}
+Group:        system
+Vendor:       Project Vine
+Distribution: Vine Linux
+
 License:      LGPLv2+
-Group:        System Environment/Libraries
-URL:          http://www.msweet.org/mxml/
+URL:          https://www.msweet.org/mxml/
 Source0:      https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz
-BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Vendor:       Project Vine
-Distribution: Vine Linux
+BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # This is requires because we patch configure.in.
 BuildRequires: autoconf zlib-devel
@@ -19,9 +20,10 @@ Mini-XML is a small XML parsing library that you can use to read XML
 and XML-like data files in your application without requiring large
 non-standard libraries.
 
+
 %package devel
 Summary:  Libraries, includes, etc to develop mxml applications
-Group:    Development/Libraries
+Group:    programming
 Requires: mxml = %{version}-%{release}
 Requires: pkgconfig
 
@@ -29,8 +31,13 @@ Requires: pkgconfig
 Libraries, include files, etc you can use to develop mxml
 applications.
 
+
+%debug_package
+
+
 %prep
-%setup -q -c
+%setup -q
+
 
 %build
 # Run autoconf since we patched configure.in.
@@ -38,6 +45,7 @@ autoconf
 %configure --enable-shared
 make %{?_smp_mflags}
 
+
 %install
 rm -rf %{buildroot}
 make BUILDROOT=%{buildroot} install
@@ -56,25 +64,25 @@ rm -f %{buildroot}%{_datadir}/man/cat*/*
 %clean
 rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING README.md
-%{_bindir}/*
+%license LICENSE
+%doc README.md
 %{_libdir}/libmxml.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%doc CHANGES.md doc/*.html doc/*.jpg doc/*.png doc/*.pdf
 %{_includedir}/*.h
 %{_libdir}/libmxml.so
 %{_mandir}/*/*
 %{_libdir}/pkgconfig/mxml.pc
 
+
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2-1
+- new upstream release.
+
 * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
 - new upstream release.
 

+ 9 - 3
s/sassc/sassc-vl.spec

@@ -3,10 +3,10 @@
 
 Name:           sassc
 Version:        3.6.1
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
+Group:          publishing
 Summary:        Wrapper around libsass to compile CSS stylesheet
 Summary(ja):    libsassのコマンドラインラッパー
-
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -36,6 +36,9 @@ SassC is a wrapper around libsass used to generate a useful command-line
 application that can be installed and packaged for several operating systems.
 
 
+%debug_package
+
+
 %prep
 %setup -q -a 1
 mv sass-spec-libsass-%{testspec_version} sass-spec
@@ -44,7 +47,7 @@ mv sass-spec-libsass-%{testspec_version} sass-spec
 
 %build
 %make_build build-shared \
-    LDFLAGS="$RPM_OPT_FLAGS" \
+    LDFLAGS="%{build_ldflags}" \
     CFLAGS="$RPM_OPT_FLAGS" \
     CXXFLAGS="$RPM_OPT_FLAGS"
 
@@ -66,6 +69,9 @@ ruby sass-spec/sass-spec.rb -V 3.6 -c bin/%{name} --impl libsass sass-spec/spec
 
 
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.1-2
+- rebuilt with current environment.
+
 * Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.1-1
 - new upstream relaase.
 

+ 32 - 31
s/sysfsutils/sysfsutils-vl.spec

@@ -1,20 +1,15 @@
 Summary:        Utilities for interfacing with sysfs
 Summary(ja):    sysfs と接続するためのユーティリティ
 Name:           sysfsutils
-Version:        2.1.0
-Release:        5%{?_dist_release}
-Group:          Development/Tools
+Version:        2.1.1
+Release:        1%{?_dist_release}
+Group:          admin-tools
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        GPLv2
 URL:            https://github.com/linux-ras/sysfsutils
-%global altver  %(echo %{version} | tr . _)
-Source0:        https://github.com/linux-ras/sysfsutils/archive/sysfsutils-%{altver}.tar.gz#/sysfsutils-sysfsutils-%{altver}.tar.gz
-Patch0: sysfsutils-2.0.0-redhatify.patch
-Patch1: sysfsutils-2.0.0-class-dup.patch
-Patch2: sysfsutils-2.1.0-get_link.patch
-Patch3: sysfsutils-2.1.0-manpages.patch
+Source0:        https://github.com/linux-ras/sysfsutils/archive/v%{version}.tar.gz#/sysfsutils-%{version}.tar.gz
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: libsysfs = %{version}-%{release}
@@ -27,7 +22,7 @@ with sysfs.
 %package -n libsysfs
 Summary: Shared library for interfacing with sysfs
 Summary(ja): sysfs と接続するための共用ライブラリ
-Group: System Environment/Libraries
+Group: system
 License: LGPLv2+
 
 %description -n libsysfs
@@ -37,7 +32,7 @@ Library used in handling linux kernel sysfs mounts and their various files.
 %package -n libsysfs-devel
 Summary: Static library and headers for libsysfs
 Summary(ja): libsysfs のスタティックライブラリおよびヘッダファイル
-Group: Development/Libraries
+Group: programming
 License: LGPLv2+
 Requires: libsysfs = %{version}-%{release}
 Obsoletes: sysfsutils-devel < %{version}-%{release}
@@ -48,49 +43,50 @@ libsysfs-devel provides the header files and static libraries required
 to build programs using the libsysfs API.
 
 
+%debug_package
+
+
 %prep
-%setup -q -n sysfsutils-sysfsutils-%{altver}
-%patch0 -p1 -b .redhatify
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%setup -q
+
 
 %build
+autoreconf -i -v -f
 %configure --disable-static --libdir=/%{_lib}
 %__make %{?_smp_mflags}
 
+
 %install
 rm -fr %{buildroot}
 
-%__make DESTDIR=$RPM_BUILD_ROOT install
-
-# remove unpackaged files
-rm -f $RPM_BUILD_ROOT%{_bindir}/dlist_test $RPM_BUILD_ROOT%{_bindir}/get_bus_devices_list $RPM_BUILD_ROOT%{_bindir}/get_class_dev $RPM_BUILD_ROOT%{_bindir}/get_classdev_parent $RPM_BUILD_ROOT%{_bindir}/get_device $RPM_BUILD_ROOT%{_bindir}/get_driver $RPM_BUILD_ROOT%{_bindir}/testlibsysfs $RPM_BUILD_ROOT%{_bindir}/write_attr
-rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
+%__make DESTDIR=%{buildroot} install
 
+rm -f %{buildroot}/%{_lib}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_libdir}
+mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}/
+sed -i -e 's|^libdir=.*$|libdir=%{_libdir}|' %{buildroot}%{_libdir}/pkgconfig/libsysfs.pc
 
+TARGET=$(readlink %{buildroot}/%{_lib}/libsysfs.so)
+ln -sf ../../%{_lib}/$TARGET %{buildroot}%{_libdir}/libsysfs.so
+rm -f %{buildroot}/%{_lib}/libsysfs.so
 
-%post -n libsysfs -p /sbin/ldconfig
 
-%postun -n libsysfs -p /sbin/ldconfig
+%clean
+rm -rf %{buildroot}
 
 
 %files
 %defattr(-,root,root)
 %license COPYING cmd/GPL
-%doc AUTHORS README NEWS CREDITS ChangeLog 
-%doc docs/libsysfs.txt
+%doc AUTHORS README CREDITS 
 %{_bindir}/systool
-%{_bindir}/get_module
 %{_mandir}/man1/systool.1*
 
 %files -n libsysfs
 %defattr(-,root,root)
 %license lib/LGPL
-%doc AUTHORS README NEWS CREDITS ChangeLog 
+%doc AUTHORS README CREDITS
 %doc docs/libsysfs.txt
 /%{_lib}/libsysfs.so.*
 
@@ -98,10 +94,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %{_includedir}/sysfs/libsysfs.h
 %{_includedir}/sysfs/dlist.h
-/%{_lib}/libsysfs.so
-
+%{_libdir}/libsysfs.so
+%{_libdir}/pkgconfig/*
 
 %changelog
+* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
+- new upstream release.
+- dropped scriptlets.
+- dropped all patches.
+
 * Thu Apr 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-5
 - rebuilt with current environment.