From 75a8b60d89ac6436a3884881cab0d24362ed6aa8 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Tue, 26 Apr 2016 17:11:02 -0500 Subject: [PATCH 1/3] Update SPEC to comply with Fedora packaging guidelines --- yadm.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yadm.spec b/yadm.spec index fb5346b..5aec2c1 100644 --- a/yadm.spec +++ b/yadm.spec @@ -3,13 +3,11 @@ Name: yadm Version: 1.04 Release: 1 URL: https://github.com/TheLocehiliosan/yadm -License: GPL +License: GPLv3 Group: Development/Tools -Packager: Tim Byrne -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: bash Requires: git -Source0: %{name}-%{version}.tar.gz +Source: https://github.com/TheLocehiliosan/yadm/archive/%{name}-%{version}.tar.gz BuildArch: noarch %description @@ -19,21 +17,23 @@ a specific OS or host. Supplies a method of encrypting confidential data so it can safely be stored in your repository. %prep -%setup +%setup -q %build %install -rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 install -m 755 yadm ${RPM_BUILD_ROOT}%{_bindir} install -m 644 yadm.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 -%clean -rm -rf ${RPM_BUILD_ROOT} - %files %defattr(-,root,root) %attr(755,root,root) %{_bindir}/yadm %attr(644,root,root) %{_mandir}/man1/* + +%changelog +* Fri Apr 22 2016 Tim Byrne 1.04-1 +- Support alternate paths for yadm data +- Support asymmetric encryption +- Prevent the mixing of output and gpg prompts From 7cc4f0afc5fdc3b9a77e2b3d457bbb10e2168b3b Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 27 Apr 2016 01:20:19 -0500 Subject: [PATCH 2/3] Switch yum repos to Copr (instead of Bintray) --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e70affa..545cc8e 100644 --- a/README.md +++ b/README.md @@ -23,16 +23,9 @@ _Seek home for rest, for home is best._—Thomas Tusser brew tap TheLocehiliosan/yadm && brew install yadm -#### Linux YUM/RPM +#### Fedora/Redhat/CentOS YUM/RPM - wget https://bintray.com/thelocehiliosan/rpm/rpm -O bintray-thelocehiliosan-rpm.repo - sudo mv bintray-thelocehiliosan-rpm.repo /etc/yum.repos.d/ - sudo yum install yadm - -Or if not using yum, you can just directly download the RPM - - curl -fLO https://dl.bintray.com/thelocehiliosan/rpm/yadm-1.04-1.noarch.rpm - sudo rpm -ivh yadm-1.04-1.noarch.rpm +Several yum repositories are on Copr. Follow this link for [repositories and installation instructions](https://copr.fedorainfracloud.org/coprs/thelocehiliosan/yadm/). #### Arch Linux From 117691c261494ae557ea56edf65f0bbbc545ad5c Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 27 Apr 2016 02:28:46 -0500 Subject: [PATCH 3/3] Update SPEC to reference the correct source file --- yadm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm.spec b/yadm.spec index 5aec2c1..39a341b 100644 --- a/yadm.spec +++ b/yadm.spec @@ -7,7 +7,7 @@ License: GPLv3 Group: Development/Tools Requires: bash Requires: git -Source: https://github.com/TheLocehiliosan/yadm/archive/%{name}-%{version}.tar.gz +Source: https://github.com/TheLocehiliosan/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch %description