update specs for 9.1
Este commit está contenido en:
@@ -1,13 +1,12 @@
|
||||
#TARBALL: https://github.com/shadow-maint/shadow/releases/download/4.6/shadow-4.6.tar.xz
|
||||
#MD5SUM: b491fecbf1232632c32ff8f1437fd60e;SOURCES/shadow-4.6.tar.xz
|
||||
#TARBALL: https://github.com/shadow-maint/shadow/releases/download/4.8/shadow-4.8.1.tar.xz
|
||||
#MD5SUM: 4b05eff8a427cf50e615bda324b5bc45;SOURCES/shadow-4.8.1.tar.xz
|
||||
#-----------------------------------------------------------------------------
|
||||
Summary: The Shadow package contains programs for handling passwords in a secure way.
|
||||
Name: shadow
|
||||
Version: 4.6
|
||||
Version: 4.8.1
|
||||
Release: 1
|
||||
License: Artistic
|
||||
Group: LFS/Base
|
||||
Vendor: Elizabeth
|
||||
Source0: https://github.com/shadow-maint/shadow/releases/download/4.5/%{name}-%{version}.tar.xz
|
||||
Requires: filesystem
|
||||
%description
|
||||
@@ -24,13 +23,12 @@ The Shadow package contains programs for handling passwords in a secure way.
|
||||
sed -i 's/1000/999/' etc/useradd
|
||||
%build
|
||||
./configure \
|
||||
--sysconfdir=/etc \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--with-group-name-max-length=32
|
||||
make %{?_smp_mflags}
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
install -vdm 755 %{buildroot}/bin
|
||||
mv -v %{buildroot}/usr/bin/passwd %{buildroot}/bin
|
||||
#-----------------------------------------------------------------------------
|
||||
# Copy license/copying file
|
||||
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
|
||||
@@ -53,11 +51,11 @@ The Shadow package contains programs for handling passwords in a secure way.
|
||||
rm -rf %{buildroot}/%{_mandir}/tr
|
||||
rm -rf %{buildroot}/%{_mandir}/zh_CN
|
||||
rm -rf %{buildroot}/%{_mandir}/zh_TW
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
|
||||
sed -i '/man/d' filelist.rpm
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
|
||||
sed -i '/man/d' filelist.list
|
||||
#-----------------------------------------------------------------------------
|
||||
%files -f filelist.rpm
|
||||
%files -f filelist.list
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
@@ -68,6 +66,7 @@ The Shadow package contains programs for handling passwords in a secure way.
|
||||
grpconv
|
||||
#-----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 4.8.1-1
|
||||
* Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 4.6-1
|
||||
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.5-1
|
||||
- Initial build. First version
|
||||
|
Referencia en una nueva incidencia
Block a user