From 3fb5990810b48ca7750ea3da898f12fb9970d67b Mon Sep 17 00:00:00 2001 From: Muneendra Date: Sep 04 2019 04:45:46 +0000 Subject: Made the changes in spec file accordingly SRPM to match the package name (#1735762) Signed-off-by: Muneendra --- diff --git a/.gitignore b/.gitignore index ba14ade..4dfb969 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fc_txptd-c195e67.tar.gz +/fctxpd-c195e67.tar.gz diff --git a/fc_txptd.spec b/fc_txptd.spec deleted file mode 100644 index f3d5912..0000000 --- a/fc_txptd.spec +++ /dev/null @@ -1,66 +0,0 @@ - -%global commit c195e67ee3b55ba8fa5e9829369b8f13977fbbbf -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global snapshotdate 20190813 - -Name: fc_txptd -Version: 0.1 -Release: 1.%{snapshotdate}git%{shortcommit}%{?dist} -Summary: Fibrechannel transport daemon - -License: GPLv2+ -URL: https://github.com/brocade/bsn-fc-txptd/ -Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz - -BuildRequires: gcc -BuildRequires: device-mapper-devel -BuildRequires: systemd-devel -BuildRequires: libudev-devel -BuildRequires: udev -BuildRequires: device-mapper-multipath -BuildRequires: systemd -BuildRequires: device-mapper-multipath-devel -Requires: device-mapper >= 1.2.78 - - -%description -The purpose of this daemon is to add FC network intelligence in host and -host intelligence in FC network. This daemon would inter-operate with -Brocade FC fabric in order to improve the response time of the MPIO failover. -In future, it can also collect the congestion related details and perform -workload analysis, and provide QOS at application level by inter-operating with -application performance profiling software. - -%prep -%autosetup -n bsn-fc-txptd-%{commit} - -%post -%systemd_post fctxpd.service - -%preun -%systemd_preun fctxpd.service - -%postun -%systemd_postun_with_restart fctxpd.service - -%build -%make_build - - -%install -%make_install - -%files -%doc README -%{_sbindir}/fctxpd -%{_unitdir}/fctxpd.service -%license LICENSES/GPL-2.0 - -%changelog -*Mon Aug 12 2019 Muneendra 0.1-1.20190813gitc195e67 --No functional changes,just Licenses --Spec file:Created LICENSES dir with the text of all used license --Added the license header in the corresponding source files - -*Fri Jul 26 2019 Muneendra 0.1-1 --Initial package for fedora diff --git a/fctxpd.spec b/fctxpd.spec new file mode 100644 index 0000000..238cc41 --- /dev/null +++ b/fctxpd.spec @@ -0,0 +1,66 @@ + +%global commit c195e67ee3b55ba8fa5e9829369b8f13977fbbbf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global snapshotdate 20190813 + +Name: fctxpd +Version: 0.1 +Release: 1.%{snapshotdate}git%{shortcommit}%{?dist} +Summary: Fibrechannel transport daemon + +License: GPLv2+ +URL: https://github.com/brocade/bsn-fc-txptd/ +Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz + +BuildRequires: gcc +BuildRequires: device-mapper-devel +BuildRequires: systemd-devel +BuildRequires: libudev-devel +BuildRequires: udev +BuildRequires: device-mapper-multipath +BuildRequires: systemd +BuildRequires: device-mapper-multipath-devel +Requires: device-mapper >= 1.2.78 + + +%description +The purpose of this daemon is to add FC network intelligence in host and +host intelligence in FC network. This daemon would inter-operate with +Brocade FC fabric in order to improve the response time of the MPIO failover. +In future, it can also collect the congestion related details and perform +workload analysis, and provide QOS at application level by inter-operating with +application performance profiling software. + +%prep +%autosetup -n bsn-fc-txptd-%{commit} + +%post +%systemd_post fctxpd.service + +%preun +%systemd_preun fctxpd.service + +%postun +%systemd_postun_with_restart fctxpd.service + +%build +%make_build + + +%install +%make_install + +%files +%doc README +%{_sbindir}/fctxpd +%{_unitdir}/fctxpd.service +%license LICENSES/GPL-2.0 + +%changelog +*Mon Aug 12 2019 Muneendra 0.1-1.20190813gitc195e67 +-No functional changes,just Licenses +-Spec file:Created LICENSES dir with the text of all used license +-Added the license header in the corresponding source files + +*Fri Jul 26 2019 Muneendra 0.1-1 +-Initial package for fedora diff --git a/sources b/sources index 6bb328a..5354bb1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fc_txptd-c195e67.tar.gz) = cfb6ddf9de9af71915d71806312d973e2668bf8ba1eb947fdb3aad62b4ab456070387dd4832dad2b7c65c80122e416a5cdee3f7d3350568298f714ba9c98165d +SHA512 (fctxpd-c195e67.tar.gz) = cfb6ddf9de9af71915d71806312d973e2668bf8ba1eb947fdb3aad62b4ab456070387dd4832dad2b7c65c80122e416a5cdee3f7d3350568298f714ba9c98165d