fc4/apt/rpmpriorities fc4/pkgs/01 fc4/pkgs/02 fc4/pkgs/03 \
fc4/yum/yum.conf $(wildcard fc4/yum.repos.d/fedora*.repo) \
$(wildcard fc4/rpmlist.d/*.lst) $(wildcard fc4/rpmlist.d/*.opt) \
+ centos42/pkgs/01 centos42/pkgs/02 centos42/pkgs/03 \
+ centos42/yum/yum.conf $(wildcard centos42/yum.repos.d/CentOS*.repo) \
suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \
suse91/rpm/macros
$(nobase_confdistrib_DATA) \
$(defaults_DATA)
-redhat_style = rh9 fc1 fc2 fc3 fc4
+redhat_style = rh9 fc1 fc2 fc3 fc4 centos42
install-exec-hook: install-notify-xtra
install-data-hook: install-data-xtras
--- /dev/null
+[base]
+name=CentOS-4.2 - Base
+baseurl=http://mirror.centos.org/centos/4.2/os/$basearch/
+gpgcheck=1
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#released updates
+[update]
+name=CentOS-4.2 - Updates
+baseurl=http://mirror.centos.org/centos/4.2/updates/$basearch/
+gpgcheck=1
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#packages used/produced in the build but not released
+[addons]
+name=CentOS-4.2 - Addons
+baseurl=http://mirror.centos.org/centos/4.2/addons/$basearch/
+gpgcheck=1
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#additional packages that may be useful
+[extras]
+name=CentOS-4.2 - Extras
+baseurl=http://mirror.centos.org/centos/4.2/extras/$basearch/
+gpgcheck=1
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#additional packages that extend functionality of existing packages
+[centosplus]
+name=CentOS-4.2 - Plus
+baseurl=http://mirror.centos.org/centos/4.2/centosplus/$basearch/
+gpgcheck=1
+enabled=0
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#contrib - packages by Centos Users
+[contrib]
+name=CentOS-4.2 - Contrib
+baseurl=http://mirror.centos.org/centos/4.2/contrib/$basearch/
+gpgcheck=1
+enabled=0
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
+
+#packages in testing
+[testing]
+name=CentOS-4.2 - Testing
+baseurl=http://mirror.centos.org/centos/4.2/testing/$basearch/
+gpgcheck=1
+enabled=0
+gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
cp -a "$i" "$target"
done
}
+
copy fedora /usr/share/doc/fedora-release-*/RPM-GPG-*
copy fedora /etc/pki/rpm-gpg/RPM-GPG-*
+copy centos /usr/share/doc/centos-*/RPM-GPG-KEY-*
+
%preun build
test "$1" != 0 || rm -f %confdir/.distributions/.common/pubkeys/fedora-*