Browse Source

fix mangled package name from mass search and replace

pull/1/head
Chris Cromer 1 year ago
parent
commit
52c95a39bf
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
  1. 20
      SPECS/lfs-bootscripts.spec

20
SPECS/lfs-bootscripts.spec

@ -1,8 +1,8 @@
#TARBALL: http://www.linuxfromscratch.org/lfs/downloads/9.1/filelist.listootscripts-20191031.tar.xz
#MD5SUM: e08811a18356eeef524b2ed333e8cb86;SOURCES/filelist.listootscripts-20191031.tar.xz
#TARBALL: http://www.linuxfromscratch.org/lfs/downloads/9.1/lfs-bootscripts-20191031.tar.xz
#MD5SUM: e08811a18356eeef524b2ed333e8cb86;SOURCES/lfs-bootscripts-20191031.tar.xz
#-----------------------------------------------------------------------------
Summary: The filelist.listootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown.
Name: filelist.listootscripts
Summary: The lfs-bootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown.
Name: lfs-bootscripts
Version: 20191031
Release: 1
License: None
@ -11,7 +11,7 @@ Group: LFS/Base
Source0: http://www.linuxfromscratch.org/lfs/downloads/9.1/%{name}-%{version}.tar.bz2
Requires: filesystem
%description
The filelist.listootscripts package contains a set of scripts to start/stop the LFS system
The lfs-bootscripts package contains a set of scripts to start/stop the LFS system
at bootup/shutdown. The configuration files and procedures needed to customize the
boot process are described in the following sections.
#-----------------------------------------------------------------------------
@ -23,12 +23,12 @@ boot process are described in the following sections.
#-----------------------------------------------------------------------------
# Create file list
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man8/*
#-----------------------------------------------------------------------------

Loading…
Cancel
Save