- Timestamp:
- Jun 1, 2012, 5:12:34 PM (12 years ago)
- Location:
- opsi/server/wsusoffline
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
opsi/server/wsusoffline/SOURCES
r1000 r1008 1 wsusoffline 731.zip1 wsusoffline/ -
opsi/server/wsusoffline/wsusoffline.spec
r1004 r1008 27 27 Source: %{name}_%{version}.orig.tar.gz 28 28 BuildRoot: %{_tmppath}/%{name}-%{version}-build 29 BuildRequires: unzip 29 BuildRequires: unzip pwdutils 30 30 Requires: cabextract dos2unix md5deep xmlstarlet wget 31 31 BuildArch: noarch … … 48 48 %define DEST_DIR "/var/lib/wsusoffline/" 49 49 mkdir -p $RPM_BUILD_ROOT/var/lib/ 50 unzip %{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/ 50 unzip wsusoffline/%{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/ 51 chmod -R g+w $RPM_BUILD_ROOT/%{DEST_DIR}/client/ 51 52 chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/* 52 53 mkdir -p $RPM_BUILD_ROOT/usr/bin/ … … 57 58 rm -rf %{buildroot} 58 59 60 %pre 61 getent group wsusoffline >/dev/null || groupadd -r wsusoffline 62 exit 0 63 59 64 %files 60 65 %defattr(-,root,root) 66 /usr/bin/wsus-*.sh 61 67 %{DEST_DIR} 62 /usr/bin/wsus-*.sh 68 %defattr(-,root,wsusoffline) 69 %{DEST_DIR}/client/ 70 63 71 64 72
Note:
See TracChangeset
for help on using the changeset viewer.