- added PLD-ized configs
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Sun, 5 Aug 2001 15:54:37 +0000 (15:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- raised release number from 1 to 2
- STBR

Changed files:
    autorpm.spec -> 1.22

autorpm.spec

index 8926be5..e3b4eb7 100644 (file)
@@ -3,12 +3,15 @@ Summary:      RPM Auto-Installer or FTP Mirrorer
 Summary(pl):   Auto instalator i ftp mirror pakietow rpm
 Name:          autorpm
 Version:       1.9.9
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/System
 Group(de):     Applikationen/System
 Group(pl):     Aplikacje/System
 Source0:       ftp://ftp.kaybee.org/pub/linux/%{name}-%{version}.tar.gz
+Source1:       %{name}-pld-updates.conf
+Source2:       %{name}-pld-updates
+Patch0:                %{name}-config.patch
 URL:           http://www.kaybee.org/~kirk/html/linux.html
 Requires:      whiptail
 Requires:      /bin/rpm
@@ -34,6 +37,7 @@ interfejs.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -43,13 +47,12 @@ install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_mandir}/man{5,8},%{_sbindir}} \
        $RPM_BUILD_ROOT{/var/spool/autorpm,%{_sysconfdir}/autorpm.d/pools}
 
 install autorpm.pl     $RPM_BUILD_ROOT%{_sbindir}/autorpm
-install autorpm.conf   $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf.sample
-touch $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf
-install autorpm.d/*    $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/
-install pools/*        $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pools/
+install autorpm.conf   $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/autorpm.conf
 
 install autorpm.conf.5         $RPM_BUILD_ROOT%{_mandir}/man5
 install autorpm.8      $RPM_BUILD_ROOT%{_mandir}/man8
+install %{SOURCE1}     $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pld-updates.conf
+install %{SOURCE2}     $RPM_BUILD_ROOT%{_sysconfdir}/autorpm.d/pools/pld-updates
 
 sed  -e "s=/bin/bash=/bin/sh=" autorpm.cron > $RPM_BUILD_ROOT/etc/cron.daily/autorpm
 
@@ -67,10 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir /var/spool/autorpm
 %dir %{_sysconfdir}/autorpm.d
 %dir %{_sysconfdir}/autorpm.d/pools
-%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/autorpm.conf.sample
-%ghost %{_sysconfdir}/autorpm.d/autorpm.conf
-%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/*updates*
-%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/pools/*updates*
+%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/autorpm.conf
+%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/pld-updates.conf
+%config(missingok) %verify(not mtime,md5,size) %{_sysconfdir}/autorpm.d/pools/pld-updates
 
 %attr(750,root,root) %{_sbindir}/autorpm
 %attr(750,root,root) /etc/cron.daily/autorpm
This page took 0.090055 seconds and 4 git commands to generate.