[fedrepos] New package
Matthew Booth
mdbooth at fedoraproject.org
Mon Nov 25 15:34:23 UTC 2013
commit 053b0563c6e1ddde20c3a8eba274e2032848798c
Author: Matthew Booth <mbooth at redhat.com>
Date: Mon Nov 25 15:33:55 2013 +0000
New package
.gitignore | 10 ++++++++++
fedrepos.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..056c5eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,10 @@
+# RPM target directory
+/noarch/
+
+# Version-dependent build artifacts
+/.build-*.log
+/fedrepos-*/
+/fedrepos-*.src.rpm
+/results_fedrepos/
+
+/fedrepos-*.tar.gz
diff --git a/fedrepos.spec b/fedrepos.spec
new file mode 100644
index 0000000..dab9466
--- /dev/null
+++ b/fedrepos.spec
@@ -0,0 +1,52 @@
+Name: fedrepos
+Version: 0.2
+Release: 1%{?dist}
+Summary: Update fedora yum repositories on a host to use a single source
+
+License: GPLv3+
+URL: https://github.com/mdbooth/fedrepos
+Source0: https://github.com/mdbooth/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+# Only if we patch the man page. Otherwise it's included in the dist
+#BuildRequires: /usr/bin/a2x
+
+Requires: python-augeas
+
+# We don't need a debuginfo package
+%global debug_package %{nil}
+
+
+%description
+Update all fedora yum repositories on a host to use a single source. The user
+may specify baseurl, mirrorlist, metalink, or default, and all fedora repos will
+be updated accordingly.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall
+
+
+%files
+%doc COPYING
+%{_bindir}/fedrepos
+%{_mandir}/man1/fedrepos.1.gz
+
+
+%changelog
+* Mon Nov 25 2013 Matthew Booth <mbooth at redhat.com> - 0.2-1
+- Updated build and installation process
+
+* Fri Nov 22 2013 Matthew Booth <mbooth at redhat.com> - 0.1-1
+- Initial build
diff --git a/sources b/sources
index e69de29..fa1e2cd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+72f6e9b65458b2d1ee5a6029103e62c1 fedrepos-0.2.tar.gz
More information about the scm-commits
mailing list